#RahulGuru
1 messages ยท Page 1 of 1 (latest)
Hi
Are you using a live card with a test checkout session ?
no we are using live card and also live checkout.
Could you please share the Checkout Session Url ?
Hello ๐
Taking over.
This message is typically shown if the Payment Intent you're using is created with Test mode API keys
we are following https://stripe.com/docs/google-pay this doc
but we are using live mode API keys.
Can you log the clientSecret variable you're working with and share it?
https://stripe.com/docs/google-pay?platform=android#launch-google-pay
pi_3NdC4eLKkAwUCOkv0WjwC6yP_secret_LOyPd0zXp4chyJgZyFZsdYLEp
pi_3NdC4eLKkAwUCOkv0WjwC6yP_secret_LOyPd0zXp4chyJgZyFZsdYLEp
@red locust please be patient, server is busy
It might take a while for me to look, I'll respond as soon as I can
Can you share the PaymentLauncher code you're working with?
const {error} = await confirmPlatformPayPayment(client_secret, {
googlePay: {
testEnv: false,
merchantName: 'ESSTA',
merchantCountryCode: 'GB',
currencyCode: 'GBP',
billingAddressConfig: {
format: PlatformPay.BillingAddressFormat.Full,
isPhoneNumberRequired: true,
isRequired: true,
},
},
});
If you're setting merchantName: 'ESSTA', then that's the one that should be shown on the Google Pay modal.
Are you sure the code you're writing is the one that's running on the device?
yes I changed it to "ESSTA" as before it was "My merchant name"
Also going live with Google Pay requires an approval from Google in production environment
https://stripe.com/docs/google-pay?platform=react-native#going-live-react-native
yes, Its got approval
If its been approved then all you need is testEnv: false, switch your API keys to live mode and run a signed & "release" build of your APK
ok
That's all that's needed. If you've done that already then I don't know what's causing this. Must be something in your code as this isn't something we've come across before