Skip to content

Latest commit

 

History

History
137 lines (76 loc) · 4.2 KB

AmazonPayV2NewButtonParams.md

File metadata and controls

137 lines (76 loc) · 4.2 KB

@bigcommerce/checkout-sdk / AmazonPayV2NewButtonParams

Interface: AmazonPayV2NewButtonParams

Hierarchy

Table of contents

Properties

Properties

buttonColor

Optional buttonColor: Gold | LightGray | DarkGray

Color of the Amazon Pay button.

Inherited from

AmazonPayV2ButtonConfig.buttonColor


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.

Inherited from

AmazonPayV2ButtonConfig.checkoutLanguage


createCheckoutSessionConfig

Optional createCheckoutSessionConfig: AmazonPayV2CheckoutSessionConfig

Create Checkout Session configuration.


estimatedOrderAmount

Optional estimatedOrderAmount: AmazonPayV2Price

It does not have to match the final order amount if the buyer updates their order after starting checkout. Amazon Pay will use this value to assess transaction risk and prevent buyers from selecting payment methods that can't be used to process the order.


ledgerCurrency

ledgerCurrency: AmazonPayV2LedgerCurrency

Ledger currency provided during registration for the given merchant identifier.

Inherited from

AmazonPayV2ButtonConfig.ledgerCurrency


merchantId

merchantId: string

Amazon Pay merchant account identifier.

Inherited from

AmazonPayV2ButtonConfig.merchantId


placement

placement: AmazonPayV2Placement

Placement of the Amazon Pay button on your website.

Inherited from

AmazonPayV2ButtonConfig.placement


productType

Optional productType: PayAndShip | PayOnly

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

Inherited from

AmazonPayV2ButtonConfig.productType


publicKeyId

Optional publicKeyId: string

Credential provided by Amazon Pay. You must also set the sandbox parameter if your publicKeyId does not have an environment prefix.


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.

Inherited from

AmazonPayV2ButtonConfig.sandbox