#sunilibyte
1 messages · Page 1 of 1 (latest)
👋
Did you follow this guide:
https://stripe.com/docs/google-pay?platform=android#going-live
Let me talk to merchant
Do we have to verify all the connected merchant or just for main owner
You need to verify all accounts involved in accepting payment using Google Pay
Ok thanks
is there a way to do this via stripe ?
You need to follow the instruction on Google Pay console
You need to follow this
https://developers.google.com/pay/api/android/guides/test-and-deploy/request-prod-access
Did you change the env to Production ?
https://stripe.com/docs/google-pay?platform=android#going-live:~:text=After your app,capturing the payment.
You need to use a release and signed apk
Already done and still not working
There must be something not accurate in your configuration.
Start by making sure that you are using the same package
Follow the google pay instruction in order to request live mode:
<https://developers.google.com/pay/api/android/guides/test-and-deploy/request-prod-access
we are using flutter sdk
Future<bool?> payWithGooglePay(String clientSecret) async {
try {
final paymentIntent =
await Stripe.instance.confirmPlatformPayPaymentIntent(
clientSecret: clientSecret,
confirmParams: const PlatformPayConfirmParams.googlePay(
googlePay: GooglePayParams(
merchantCountryCode: 'GB',
currencyCode: 'gbp',
),
),
);
if (paymentIntent.status == PaymentIntentsStatus.Succeeded) {
return true;
}
} on StripeException catch (e) {
log("Google Pay Execption: ${e.error.message}");
hideLoader();
showSnackBar(e.error.message.toString());
} on PlatformException catch (e) {
log("Google Pay Execption: ${e.message}");
hideLoader();
showSnackBar(e.message.toString());
}
return null;
}
This is the code