@bigcommerce/checkout-sdk / WithBuyNowFeature
AmazonPayV2ButtonConfig
optionalbuttonColor?:AmazonPayV2ButtonColor
Color of the Amazon Pay button.
AmazonPayV2ButtonConfig.buttonColor
optionalbuyNowInitializeOptions?:object
The options that are required to initialize Buy Now functionality.
optionalgetBuyNowCartRequestBody():void|BuyNowCartRequestBody
void | BuyNowCartRequestBody
optionalcheckoutLanguage?:AmazonPayV2CheckoutLanguage
Language used to render the button and text on Amazon Pay hosted pages.
AmazonPayV2ButtonConfig.checkoutLanguage
ledgerCurrency:
AmazonPayV2LedgerCurrency
Ledger currency provided during registration for the given merchant identifier.
AmazonPayV2ButtonConfig.ledgerCurrency
merchantId:
string
Amazon Pay merchant account identifier.
AmazonPayV2ButtonConfig.merchantId
placement:
AmazonPayV2Placement
Placement of the Amazon Pay button on your website.
AmazonPayV2ButtonConfig.placement
optionalproductType?:AmazonPayV2PayOptions
Product type selected for checkout. Default is 'PayAndShip'.
AmazonPayV2ButtonConfig.productType
optionalsandbox?:boolean
Sets button to Sandbox environment. You do not have to set this parameter
if your publicKeyId has an environment prefix. Default is false.
AmazonPayV2ButtonConfig.sandbox