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:
default
black
white
Button type:
buy
book
checkout
donate
order
pay
plain
subscribe
Button radius: 4px
Environment:
TEST
PRODUCTION
SANDBOX
Gateway:
adyen
ariane
arianev2
braintree
checkoutltd
cybersource
example
paysafe
shopify
stripe
wallee
worldpay
allowedAuthMethods:
existingPaymentMethodRequired:
true
false
Set onPaymentAuthorized callback:
true
false
isReadyToPay request payload:
isReadyToPay API response:
paymentData response: