@bigcommerce/checkout-sdk 1.323.1 → 1.324.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 +14 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +18 -0
- 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 +1 -0
- package/docs/interfaces/BaseCustomerInitializeOptions.md +10 -0
- package/docs/interfaces/BraintreePaypalCustomerInitializeOptions.md +39 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
- [BraintreePaymentInitializeOptions](interfaces/BraintreePaymentInitializeOptions.md)
|
|
125
125
|
- [BraintreePaypalButtonInitializeOptions](interfaces/BraintreePaypalButtonInitializeOptions.md)
|
|
126
126
|
- [BraintreePaypalCreditButtonInitializeOptions](interfaces/BraintreePaypalCreditButtonInitializeOptions.md)
|
|
127
|
+
- [BraintreePaypalCustomerInitializeOptions](interfaces/BraintreePaypalCustomerInitializeOptions.md)
|
|
127
128
|
- [BraintreeStoredCardFieldOptions](interfaces/BraintreeStoredCardFieldOptions.md)
|
|
128
129
|
- [BraintreeStoredCardFieldsMap](interfaces/BraintreeStoredCardFieldsMap.md)
|
|
129
130
|
- [BraintreeThreeDSecureOptions](interfaces/BraintreeThreeDSecureOptions.md)
|
|
@@ -27,6 +27,7 @@ information in order to initialize the customer step of checkout.
|
|
|
27
27
|
- [amazon](BaseCustomerInitializeOptions.md#amazon)
|
|
28
28
|
- [amazonpay](BaseCustomerInitializeOptions.md#amazonpay)
|
|
29
29
|
- [bolt](BaseCustomerInitializeOptions.md#bolt)
|
|
30
|
+
- [braintreepaypal](BaseCustomerInitializeOptions.md#braintreepaypal)
|
|
30
31
|
- [braintreevisacheckout](BaseCustomerInitializeOptions.md#braintreevisacheckout)
|
|
31
32
|
- [chasepay](BaseCustomerInitializeOptions.md#chasepay)
|
|
32
33
|
- [googlepayadyenv2](BaseCustomerInitializeOptions.md#googlepayadyenv2)
|
|
@@ -74,6 +75,15 @@ when using Bolt.
|
|
|
74
75
|
|
|
75
76
|
___
|
|
76
77
|
|
|
78
|
+
### braintreepaypal
|
|
79
|
+
|
|
80
|
+
• `Optional` **braintreepaypal**: [`BraintreePaypalCustomerInitializeOptions`](BraintreePaypalCustomerInitializeOptions.md)
|
|
81
|
+
|
|
82
|
+
The options that are required to initialize the customer step of checkout
|
|
83
|
+
when using Braintree PayPal provided.
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
77
87
|
### braintreevisacheckout
|
|
78
88
|
|
|
79
89
|
• `Optional` **braintreevisacheckout**: [`BraintreeVisaCheckoutCustomerInitializeOptions`](BraintreeVisaCheckoutCustomerInitializeOptions.md)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalCustomerInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreePaypalCustomerInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [container](BraintreePaypalCustomerInitializeOptions.md#container)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [onError](BraintreePaypalCustomerInitializeOptions.md#onerror)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### container
|
|
18
|
+
|
|
19
|
+
• **container**: `string`
|
|
20
|
+
|
|
21
|
+
The ID of a container which the checkout button should be inserted into.
|
|
22
|
+
|
|
23
|
+
## Methods
|
|
24
|
+
|
|
25
|
+
### onError
|
|
26
|
+
|
|
27
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
28
|
+
|
|
29
|
+
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
30
|
+
|
|
31
|
+
#### Parameters
|
|
32
|
+
|
|
33
|
+
| Name | Type | Description |
|
|
34
|
+
| :------ | :------ | :------ |
|
|
35
|
+
| `error` | [`StandardError`](../classes/StandardError.md) \| [`BraintreeError`](BraintreeError.md) | The error object describing the failure. |
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|