We have implemented the stripe google-pay payment using in reactNative code. My code working fine with sandbox account but live environment suppose to not working. We followed this link: enter link description here
My code:
await confirmPlatformPayPayment(
response.data.client_secret, // ClientSecret key from PaymentIntent response
{
googlePay: {
testEnv: true,
merchantCountryCode: 'US',
merchantName: 'xyz',
currencyCode: 'USD',
billingAddressConfig: {
format: PlatformPay.BillingAddressFormat.Min,
isPhoneNumberRequired: true,
isRequired: true,
},
isEmailRequired: true,
}})
We are using front end reactNative and backend for PHP for paymentIntent create. When we execute the google pay checkout then we received following error
Error:
{"stripeErrorCode":null,"message":"Google Pay failed with error:","declineCode":null,"type":null,"localizedMessage":"Google Pay failed with error:","code":"Failed"}
Could you please help us resolved the issue?