Skip to content

Latest commit

 

History

History
117 lines (66 loc) · 3.04 KB

BaseCheckoutButtonInitializeOptions.md

File metadata and controls

117 lines (66 loc) · 3.04 KB

@bigcommerce/checkout-sdk / BaseCheckoutButtonInitializeOptions

Interface: BaseCheckoutButtonInitializeOptions

Hierarchy

Indexable

▪ [key: string]: unknown

Table of contents

Properties

Properties

amazonpay

Optional amazonpay: AmazonPayV2ButtonParams | AmazonPayV2NewButtonParams | WithBuyNowFeature

The options that are required to facilitate AmazonPayV2. They can be omitted unless you need to support AmazonPayV2.


braintreepaypal

Optional braintreepaypal: BraintreePaypalButtonInitializeOptions

The options that are required to facilitate Braintree PayPal. They can be omitted unless you need to support Braintree PayPal.


braintreepaypalcredit

Optional braintreepaypalcredit: BraintreePaypalCreditButtonInitializeOptions

The options that are required to facilitate Braintree Credit. They can be omitted unless you need to support Braintree Credit.


containerId

containerId: string

The ID of a container which the checkout button should be inserted.


currencyCode

Optional currencyCode: string

The option that is required to load payment method configuration for provided currency code in Buy Now flow.


methodId

methodId: CheckoutButtonMethodType

The identifier of the payment method.

Inherited from

CheckoutButtonOptions.methodId


params

Optional params: Object

The parameters of the request, if required.

Inherited from

CheckoutButtonOptions.params


paypal

Optional paypal: PaypalButtonInitializeOptions

The options that are required to facilitate PayPal. They can be omitted unless you need to support Paypal.


timeout

Optional timeout: default

Provide this option if you want to cancel or time out the request. If the timeout object completes before the request, the request will be cancelled.

Inherited from

CheckoutButtonOptions.timeout