@bigcommerce/checkout-sdk / BraintreePaypalCreditCustomerInitializeOptions
• Optional
buttonHeight: number
• container: string
The ID of a container which the checkout button should be inserted into.
▸ Optional
onClick(): void
A callback that gets called when wallet button clicked
void
▸ Optional
onError(error
): void
A callback that gets called on any error instead of submit payment or authorization errors.
Name | Type | Description |
---|---|---|
error |
BraintreeError_2 | StandardError |
The error object describing the failure. |
void