@bigcommerce/checkout-sdk / PaypalButtonInitializeOptions
• Optional
allowCredit: boolean
Whether or not to show a credit button.
• clientId: string
The Client ID of the Paypal App
• Optional
style: Pick
<PaypalStyleOptions
, "color"
| "layout"
| "size"
| "label"
| "shape"
| "tagline"
| "fundingicons"
>
A set of styling options for the checkout button.
▸ Optional
onAuthorizeError(error
): void
A callback that gets called if unable to authorize and tokenize payment.
Name | Type | Description |
---|---|---|
error |
StandardError |
The error object describing the failure. |
void
▸ Optional
onPaymentError(error
): void
A callback that gets called if unable to submit payment.
Name | Type | Description |
---|---|---|
error |
StandardError |
The error object describing the failure. |
void