createButton() API variations:
Note: in this demo the buttons are always displayed.
No matter what the outcome of isReadyToPay is.
If a payment method is not available,
a generic "Buy with GPay" button is shown.
3rd party cookies enabled: false
All payment methods
Amex only
Mastercard only
Visa only
Button color:
Button type:
Button radius: 4px
Environment:
Gateway:
allowedAuthMethods:
existingPaymentMethodRequired:
true false
Set onPaymentAuthorized callback:
true false
isReadyToPay request payload:
isReadyToPay API response:
paymentData response: