#ybashan-PaymentRequest

1 messages · Page 1 of 1 (latest)

teal gorge
#

Hi there, you should specify the amount in the currency's subunit (e.g. cents, yen, etc.)

#

Since Google Pay and Apple Pay API requires amount, so I'd suggest using
Checkout Session or Payment Element for SetupIntent integration.

magic crown
#

I don't understand your answer. We use PaymentRequestButtonElement for SetupIntent and PaymentIntent. Is this bad practice?
My question wasn't about what component to use, but about the "amount" property - is it just for UI purposes or is it used to the actual billing, as passed to Google Pay or Apple Pay?