Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 2.44 KB

WithBuyNowFeature.md

File metadata and controls

134 lines (73 loc) · 2.44 KB

@bigcommerce/checkout-sdk / WithBuyNowFeature

Interface: WithBuyNowFeature

Hierarchy

  • AmazonPayV2ButtonConfig

    WithBuyNowFeature

Table of contents

Properties

Properties

buttonColor

Optional buttonColor: AmazonPayV2ButtonColor

Color of the Amazon Pay button.

Inherited from

AmazonPayV2ButtonConfig.buttonColor


buyNowInitializeOptions

Optional buyNowInitializeOptions: Object

The options that are required to initialize Buy Now functionality.

Type declaration

Name Type
getBuyNowCartRequestBody? () => void | default

checkoutLanguage

Optional checkoutLanguage: AmazonPayV2CheckoutLanguage

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

Inherited from

AmazonPayV2ButtonConfig.checkoutLanguage


design

Optional design: C0001

Sets Amazon Pay button design.

Inherited from

AmazonPayV2ButtonConfig.design


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: AmazonPayV2PayOptions

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

Inherited from

AmazonPayV2ButtonConfig.productType


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