@bigcommerce/checkout-sdk / ApplePayButtonInitializeOptions
A set of options that are required to initialize ApplePay in cart.
When ApplePay is initialized, an ApplePay button will be inserted into the DOM. When a customer clicks on it, it will trigger Apple sheet.
• Optional
buttonClassName: string
The class name of the ApplePay button style.
• Optional
buyNowInitializeOptions: Object
The options that are required to initialize Buy Now functionality.
Name | Type |
---|---|
getBuyNowCartRequestBody? |
() => void | default |
• Optional
requiresShipping: boolean
This option indicates if product requires shipping
▸ onPaymentAuthorize(): void
A callback that gets called when a payment is successfully completed.
void