@bigcommerce/checkout-sdk 1.323.0 → 1.323.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +0 -27
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +0 -1
- package/docs/interfaces/BaseCustomerInitializeOptions.md +0 -10
- package/package.json +1 -1
- package/docs/interfaces/PaypalCommerceCustomerInitializeOptions.md +0 -56
package/docs/README.md
CHANGED
|
@@ -294,7 +294,6 @@
|
|
|
294
294
|
- [PaypalCommerceButtonInitializeOptions](interfaces/PaypalCommerceButtonInitializeOptions.md)
|
|
295
295
|
- [PaypalCommerceCreditButtonInitializeOptions](interfaces/PaypalCommerceCreditButtonInitializeOptions.md)
|
|
296
296
|
- [PaypalCommerceCreditCardPaymentInitializeOptions](interfaces/PaypalCommerceCreditCardPaymentInitializeOptions.md)
|
|
297
|
-
- [PaypalCommerceCustomerInitializeOptions](interfaces/PaypalCommerceCustomerInitializeOptions.md)
|
|
298
297
|
- [PaypalCommerceFormFieldCardTypeChangeEventData](interfaces/PaypalCommerceFormFieldCardTypeChangeEventData.md)
|
|
299
298
|
- [PaypalCommerceFormFieldKeyboardEventData](interfaces/PaypalCommerceFormFieldKeyboardEventData.md)
|
|
300
299
|
- [PaypalCommerceFormFieldOptions](interfaces/PaypalCommerceFormFieldOptions.md)
|
|
@@ -42,7 +42,6 @@ information in order to initialize the customer step of checkout.
|
|
|
42
42
|
- [masterpass](BaseCustomerInitializeOptions.md#masterpass)
|
|
43
43
|
- [methodId](BaseCustomerInitializeOptions.md#methodid)
|
|
44
44
|
- [params](BaseCustomerInitializeOptions.md#params)
|
|
45
|
-
- [paypalcommerce](BaseCustomerInitializeOptions.md#paypalcommerce)
|
|
46
45
|
- [stripeupe](BaseCustomerInitializeOptions.md#stripeupe)
|
|
47
46
|
- [timeout](BaseCustomerInitializeOptions.md#timeout)
|
|
48
47
|
|
|
@@ -214,15 +213,6 @@ The parameters of the request, if required.
|
|
|
214
213
|
|
|
215
214
|
___
|
|
216
215
|
|
|
217
|
-
### paypalcommerce
|
|
218
|
-
|
|
219
|
-
• `Optional` **paypalcommerce**: [`PaypalCommerceCustomerInitializeOptions`](PaypalCommerceCustomerInitializeOptions.md)
|
|
220
|
-
|
|
221
|
-
The options that are required to initialize the PayPalCommerce payment method.
|
|
222
|
-
They can be omitted unless you need to support PayPalCommerce.
|
|
223
|
-
|
|
224
|
-
___
|
|
225
|
-
|
|
226
216
|
### stripeupe
|
|
227
217
|
|
|
228
218
|
• `Optional` **stripeupe**: [`StripeUPECustomerInitializeOptions`](StripeUPECustomerInitializeOptions.md)
|
package/package.json
CHANGED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / PaypalCommerceCustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: PaypalCommerceCustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the customer step of
|
|
6
|
-
checkout to support PayPalCommerce.
|
|
7
|
-
|
|
8
|
-
## Table of contents
|
|
9
|
-
|
|
10
|
-
### Properties
|
|
11
|
-
|
|
12
|
-
- [container](PaypalCommerceCustomerInitializeOptions.md#container)
|
|
13
|
-
|
|
14
|
-
### Methods
|
|
15
|
-
|
|
16
|
-
- [onComplete](PaypalCommerceCustomerInitializeOptions.md#oncomplete)
|
|
17
|
-
- [onError](PaypalCommerceCustomerInitializeOptions.md#onerror)
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### container
|
|
22
|
-
|
|
23
|
-
• **container**: `string`
|
|
24
|
-
|
|
25
|
-
The ID of a container which the checkout button should be inserted into.
|
|
26
|
-
|
|
27
|
-
## Methods
|
|
28
|
-
|
|
29
|
-
### onComplete
|
|
30
|
-
|
|
31
|
-
▸ `Optional` **onComplete**(): `void`
|
|
32
|
-
|
|
33
|
-
A callback that gets called when payment complete on paypal side.
|
|
34
|
-
|
|
35
|
-
#### Returns
|
|
36
|
-
|
|
37
|
-
`void`
|
|
38
|
-
|
|
39
|
-
___
|
|
40
|
-
|
|
41
|
-
### onError
|
|
42
|
-
|
|
43
|
-
▸ `Optional` **onError**(`error?`): `void`
|
|
44
|
-
|
|
45
|
-
A callback that gets called if unable to initialize the widget or select
|
|
46
|
-
one of the address options provided by the widget.
|
|
47
|
-
|
|
48
|
-
#### Parameters
|
|
49
|
-
|
|
50
|
-
| Name | Type | Description |
|
|
51
|
-
| :------ | :------ | :------ |
|
|
52
|
-
| `error?` | `Error` | The error object describing the failure. |
|
|
53
|
-
|
|
54
|
-
#### Returns
|
|
55
|
-
|
|
56
|
-
`void`
|