#nywooz-merchantID
1 messages · Page 1 of 1 (latest)
@strong terrace there are a few things that might qualify as a merchant identifier — where exactly are you looking to plug the value into? So I can get you going in the right direction!
wait, i am making a payment using stripe.
So , first question is : is it optional?
into StripeProvider
So you are building a React Native app and are setting up StripeProvider?
yes
It's optional, but if you want to support Apple Pay in the app you're building then you need one.
the value comes from Apple https://stripe.com/docs/apple-pay?platform=react-native#merchantid
you'd register a Developer account with Apple and set up a merchant identifier there, and then pass it to the Stripe SDK.
but yes it can be empty for now(just means your app won't accept Apple Pay when running on an iOS device)
also as far as I know if you're just running on an emulator on Mac and not deploying to a physical phone, you can put any string as the merchant identifier and it works in the simulator, but to do anything on a physical device you need an Apple account and stuff
or just omit the parameter completely for now and revisit later
I believe it is optional yes, but you probably will want to eventually provide one as it improves the flow of app-to-app redirects if using non-card payment methods (https://www.youtube.com/watch?v=dybG4xmVN3c)