Skip to content

Latest commit

 

History

History
91 lines (50 loc) · 2.59 KB

AmazonPayV2ButtonConfig.md

File metadata and controls

91 lines (50 loc) · 2.59 KB

@bigcommerce/checkout-sdk / AmazonPayV2ButtonConfig

Interface: AmazonPayV2ButtonConfig

Hierarchy

Table of contents

Properties

Properties

buttonColor

Optional buttonColor: Gold | LightGray | DarkGray

Color of the Amazon Pay button.


checkoutLanguage

Optional checkoutLanguage: en_US | en_GB | de_DE | fr_FR | it_IT | es_ES | ja_JP

Language used to render the button and text on Amazon Pay hosted pages.


design

Optional design: C0001

Sets Amazon Pay button design.


ledgerCurrency

ledgerCurrency: AmazonPayV2LedgerCurrency

Ledger currency provided during registration for the given merchant identifier.


merchantId

merchantId: string

Amazon Pay merchant account identifier.


placement

placement: AmazonPayV2Placement

Placement of the Amazon Pay button on your website.


productType

Optional productType: PayAndShip | PayOnly

Product type selected for checkout. Default is 'PayAndShip'.


sandbox

Optional sandbox: boolean

Sets button to Sandbox environment. You do not have to set this parameter if your publicKeyId has an environment prefix. Default is false.