@bigcommerce/checkout-sdk / PayPalCommerceButtonInitializeOptions
A set of options that are required to initialize PayPalCommerce in cart or product details page.
When PayPalCommerce is initialized, an PayPalCommerce button will be inserted into the DOM. When a customer clicks on it, it will trigger Apple sheet.
• Optional
buyNowInitializeOptions: PayPalBuyNowInitializeOptions
The options that are required to initialize Buy Now functionality.
• Optional
currencyCode: string
The option that used to initialize a PayPal script with provided currency code.
• Optional
style: PayPalButtonStyleOptions
A set of styling options for the checkout button.
▸ Optional
onComplete(): void
A callback that gets called when payment complete on paypal side.
void