#ABC-FF
1 messages · Page 1 of 1 (latest)
Hi there , did you add a valid credit card to your Apple Pay account?
I added a Revolut account
but, I was not the only one testing it and all credit cards failed.
What's the value of amount that you pass it in, is it a string?
yes
I checked everything and it looks ok.... :S :S :S
on question, the merchant id, can it me something like:
merchant.com.<company>.<app-name>.<env>.app?
or, is there any rule to this?
As long as Apple accepts the merchant ID. Stripe doesn't any special rule on how a merchant ID should look like.
What's the result of isApplePaySupported? is it true?
Hi, @neat veldt, any available answer to my question?
Sorry, you already replied, this didn’t refreshed...
yes, that is the first check I do 🙂
OK. Are you using the latest stripe-react-native SDK?
4.10.0
Do I need to upgrade? is the latest version compatible with React Native 0.70.6?
https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md I don't see 4.10.0 in changelog, the latest version is 0.23.3
https://stripe.com/docs/apple-pay?platform=react-native#xcode-pay did you follow this step to add the Apple Pay capability to your app?
Also just want to make sure that you've completed all these steps https://stripe.com/docs/apple-pay?platform=react-native#accept
yep
I did all that...
My main problem is the error that is returned is not very useful.
it just cancel the payment...
Did you have a chance to test your app in other devices?
it doesn’t even open the apple play.
it was tested in my device and in the client device. Same error.
When we tested in QA with a test stripe account it worked.
I removed the certificate from the test account and created a new one in a new stripe project.
Now it doesn’t work in QA nor in Prod env
My feeling is something in the configuration of the merchant id and the certificates, but, can’t get my fingers on it because the error it's very generic.
OK, so it's working in test mode, but not in live mode.
it worked in test mode (before removing the certificate)
OK are you suing the live mode publishable key in your iOS app now?
<StripeProvider
merchantIdentifier="merchant.com.stripe.react.native"
publishableKey={CLIENT_PUBLISHABLE}
The publishable key that you passed to StripeProvider
on my real device, I have now is the test stripe account key
it's the test key now...
``` -> What's the difference between the old and new stripe project?
Are you reusing the same merchant ID for these two apps?
🤔 No special rule as far as I know. Is the new merchant ID registered successfully with Apple?
yes
This is indeed a strange problem. I'd suggest you get a new certificate from Stripe Dashboard for your new merchant ID.