#sunilibyte

1 messages · Page 1 of 1 (latest)

tawny mountainBOT
wide marlin
#

👋

full pike
#

Let me talk to merchant

#

Do we have to verify all the connected merchant or just for main owner

wide marlin
#

You need to verify all accounts involved in accepting payment using Google Pay

full pike
#

Ok thanks

quaint sleet
wide marlin
#

You need to follow the instruction on Google Pay console

quaint sleet
#

this ?

wide marlin
full pike
#

We are now approved

#

but still the same issue

wide marlin
#

You need to use a release and signed apk

quaint sleet
#

Already done and still not working

wide marlin
#

There must be something not accurate in your configuration.

#

Start by making sure that you are using the same package

full pike
#

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

wide marlin
#

Yes even with flutter, you need to make sure that you are requesting access for the same android resulting package.

#

"environment": "TEST", try searching in your code if you have this code snippets and replace it with "environment": "PRODUCTION"