@bigcommerce/checkout-sdk / BaseCheckoutButtonInitializeOptions
-
↳
BaseCheckoutButtonInitializeOptions
▪ [key: string
]: unknown
• Optional
braintreepaypal: BraintreePaypalButtonInitializeOptions
The options that are required to facilitate Braintree PayPal. They can be omitted unless you need to support Braintree PayPal.
• Optional
braintreepaypalcredit: BraintreePaypalCreditButtonInitializeOptions
The options that are required to facilitate Braintree Credit. They can be omitted unless you need to support Braintree Credit.
• containerId: string
The ID of a container which the checkout button should be inserted.
• Optional
currencyCode: string
The option that is required to load payment method configuration for provided currency code in Buy Now flow.
• methodId: CheckoutButtonMethodType
The identifier of the payment method.
CheckoutButtonOptions.methodId
• Optional
params: Object
The parameters of the request, if required.
• Optional
paypal: PaypalButtonInitializeOptions
The options that are required to facilitate PayPal. They can be omitted unless you need to support Paypal.
• 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.