How to create STRIPE customer using STRIPE API in IOS?
ios, objective-c, payment-gateway, stripe-payments, xcode
Solution
I don't think you can create a Stripe Customer with the Public Key. I'm quite sure Secret key is required for this request and so it should probably be handled on the server instead of the client app.
Problem
I have STRIPE integration in my ios application. I am able to generate token using cards details entered by users. I send this TOKEN to server for payment process. That's all fine ! Problem , is I want to create a STRIPE Customer using its API. How to do this , does SDK provide anything for this ? OR passing 'Authorization_KEY' and 'STRIPE_TEST_PUBLIC_KEY' in header is the way ? OR I need to implement whole 'OAuth 2.0' for this ? Please help ! Thank you !