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