stripe-react-native
stripe-react-native copied to clipboard
Why amount of google pay show incorrect?
trafficstars
when i pass amount = 100 to google pay like that:
const { paymentMethod } = await createPlatformPayPaymentMethod({
googlePay: {
amount: 100,
currencyCode: "SGD",
testEnv: Config.GPAY_TEST,
merchantName: common.MERCHANT_NAME,
merchantCountryCode: "SG",
},
})
when google pay sheet show up, the amount just show 1. its look like google pay auto divide to 100, apple pay not like that. So now i need do some tricks like: 100*100 is that a bug? if not please refer me a document about that