Bilal Yaqoob
Bilal Yaqoob

Reputation: 998

Making the react native app stripe to live mode

I am working on react native app and the app is using the test mode stripe and I am also making the test stripe to live,

I have a simple question, Is there anything I have to change while making the stripe to live mode,

  1. I changed the switch to live in the stripe dashboard.
  2. I changed the key and secret in app and server.

Do I also have to change something else?

And what are these and why and how are they used and where can I find these in the dashboard.

merchantIdentifier: 'merchant.com.stripe.react.native',
urlScheme: 'stripe-example',

Upvotes: 0

Views: 157

Answers (1)

toby
toby

Reputation: 622

The testmode toggle in the Stripe dashboard has no impact on what mode your integration is operating in, it only changes what data you're viewing in the dashboard. When the toggle is on, the Stripe dashboard will display the testmode data for your account, and when it is off you will see livemode data.

The secret and publishable key that you provide dictate what mode your integration will operate in, and are likely the only values that you need to change. source

The merchantIdentifier is not a value that you find, but rather is one that you set when you're registering for an Apple Merchant ID. It is an optional parameter that you can omit if you're not planning to accept Apple Pay payments. source

urlScheme is an optional parameter that is only needed if you're planning to manually handle the 3DS authentication flow rather than rely on the pre-built functionality that Stripe provides. source

Upvotes: 1

Related Questions