@bigcommerce/checkout-sdk / PayPalCommerceCreditCustomerInitializeOptions
• container: string
The ID of a container which the checkout button should be inserted into.
▸ Optional onComplete(): void
A callback that gets called when payment complete on paypal side.
void
▸ Optional onError(error?): void
A callback that gets called if unable to initialize the widget or select one of the address options provided by the widget.
| Name | Type | Description |
|---|---|---|
error? |
Error |
The error object describing the failure. |
void