zach wilcox
zach wilcox

Reputation: 75

take stripe project live and accept real payments

I have integrated stripe into my iOS app and I can successfully charge the default card. Since the integration I have taken my project live and when I attempt to charge a card, I am getting the error telling me my card is declined. How can I turn my stripe account to live?

Upvotes: 0

Views: 27

Answers (1)

Justin Michael
Justin Michael

Reputation: 6485

Stripe provides a set of API keys for both test and live mode. When you use your test mode keys everything happens in test mode, and when you use your live mode keys everything happens in live mode.

If you change the API key you're using in your iOS app (the publishable key) and the API key in your server-side code (the secret key) from your test mode keys to your live mode keys you will then be operating in live mode.

Upvotes: 2

Related Questions