Skip to content

Latest commit

 

History

History
66 lines (36 loc) · 1.25 KB

PayPalCommerceCreditCustomerInitializeOptions.md

File metadata and controls

66 lines (36 loc) · 1.25 KB

@bigcommerce/checkout-sdk / PayPalCommerceCreditCustomerInitializeOptions

Interface: PayPalCommerceCreditCustomerInitializeOptions

Table of contents

Properties

Methods

Properties

container

container: string

The ID of a container which the checkout button should be inserted into.

Methods

onClick

Optional onClick(): void

A callback that gets called when paypal button clicked.

Returns

void


onComplete

Optional onComplete(): void

A callback that gets called when payment complete on paypal side.

Returns

void


onError

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.

Parameters

Name Type Description
error? Error The error object describing the failure.

Returns

void