stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Why amount of google pay show incorrect?

Open tuanlevi95 opened this issue 1 year ago • 1 comments
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

tuanlevi95 avatar Aug 07 '24 02:08 tuanlevi95