#ABC-FF

1 messages · Page 1 of 1 (latest)

deft yewBOT
neat veldt
#

Hi there , did you add a valid credit card to your Apple Pay account?

toxic shell
#

I added a Revolut account

#

but, I was not the only one testing it and all credit cards failed.

neat veldt
#

What's the value of amount that you pass it in, is it a string?

toxic shell
#

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?

neat veldt
#

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?

toxic shell
#

Hi, @neat veldt, any available answer to my question?

#

Sorry, you already replied, this didn’t refreshed...

toxic shell
neat veldt
#

OK. Are you using the latest stripe-react-native SDK?

toxic shell
#

4.10.0

#

Do I need to upgrade? is the latest version compatible with React Native 0.70.6?

neat veldt
toxic shell
#

sorry... 0.21.0

#

wrong line

neat veldt
toxic shell
#

yep

#

I did all that...

#

My main problem is the error that is returned is not very useful.

#

it just cancel the payment...

neat veldt
#

Did you have a chance to test your app in other devices?

toxic shell
#

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.

neat veldt
#

OK, so it's working in test mode, but not in live mode.

toxic shell
#

it worked in test mode (before removing the certificate)

neat veldt
#

OK are you suing the live mode publishable key in your iOS app now?

toxic shell
#

???

#

the stripe account key?

neat veldt
#
<StripeProvider
      merchantIdentifier="merchant.com.stripe.react.native"
      publishableKey={CLIENT_PUBLISHABLE}
#

The publishable key that you passed to StripeProvider

toxic shell
#

on my real device, I have now is the test stripe account key

#

it's the test key now...

neat veldt
#
``` -> What's the difference between the old and new stripe project?
#

Are you reusing the same merchant ID for these two apps?

toxic shell
#

I was, but then I changed it

#

that is why I asked about the merchant id rule

neat veldt
#

🤔 No special rule as far as I know. Is the new merchant ID registered successfully with Apple?

toxic shell
#

yes

neat veldt
#

This is indeed a strange problem. I'd suggest you get a new certificate from Stripe Dashboard for your new merchant ID.