@bigcommerce/checkout-sdk 1.650.2 → 1.650.3
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/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +1 -78
- 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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +0 -2
- package/docs/interfaces/BaseCustomerInitializeOptions.md +0 -10
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/docs/interfaces/MasterpassPaymentInitializeOptions.md +1 -1
- package/package.json +1 -1
- package/docs/interfaces/ChasePayCustomerInitializeOptions.md +0 -15
- package/docs/interfaces/ChasePayInitializeOptions.md +0 -98
package/docs/README.md
CHANGED
|
@@ -154,8 +154,6 @@
|
|
|
154
154
|
- [CardingProtectionActionData](interfaces/CardingProtectionActionData.md)
|
|
155
155
|
- [Cart](interfaces/Cart.md)
|
|
156
156
|
- [CartSelector](interfaces/CartSelector.md)
|
|
157
|
-
- [ChasePayCustomerInitializeOptions](interfaces/ChasePayCustomerInitializeOptions.md)
|
|
158
|
-
- [ChasePayInitializeOptions](interfaces/ChasePayInitializeOptions.md)
|
|
159
157
|
- [CheckableInputStyles](interfaces/CheckableInputStyles.md)
|
|
160
158
|
- [ChecklistStyles](interfaces/ChecklistStyles.md)
|
|
161
159
|
- [Checkout](interfaces/Checkout.md)
|
|
@@ -27,7 +27,6 @@ information in order to initialize the customer step of checkout.
|
|
|
27
27
|
- [amazonpay](BaseCustomerInitializeOptions.md#amazonpay)
|
|
28
28
|
- [braintreepaypalcredit](BaseCustomerInitializeOptions.md#braintreepaypalcredit)
|
|
29
29
|
- [braintreevisacheckout](BaseCustomerInitializeOptions.md#braintreevisacheckout)
|
|
30
|
-
- [chasepay](BaseCustomerInitializeOptions.md#chasepay)
|
|
31
30
|
- [masterpass](BaseCustomerInitializeOptions.md#masterpass)
|
|
32
31
|
- [methodId](BaseCustomerInitializeOptions.md#methodid)
|
|
33
32
|
- [params](BaseCustomerInitializeOptions.md#params)
|
|
@@ -62,15 +61,6 @@ when using Visa Checkout provided by Braintree.
|
|
|
62
61
|
|
|
63
62
|
___
|
|
64
63
|
|
|
65
|
-
### chasepay
|
|
66
|
-
|
|
67
|
-
• `Optional` **chasepay**: [`ChasePayCustomerInitializeOptions`](ChasePayCustomerInitializeOptions.md)
|
|
68
|
-
|
|
69
|
-
The options that are required to initialize the Chasepay payment method.
|
|
70
|
-
They can be omitted unless you need to support Chasepay.
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
64
|
### masterpass
|
|
75
65
|
|
|
76
66
|
• `Optional` **masterpass**: [`MasterpassCustomerInitializeOptions`](MasterpassCustomerInitializeOptions.md)
|
|
@@ -19,7 +19,6 @@ current checkout flow.
|
|
|
19
19
|
- [bluesnapv2](BasePaymentInitializeOptions.md#bluesnapv2)
|
|
20
20
|
- [braintree](BasePaymentInitializeOptions.md#braintree)
|
|
21
21
|
- [braintreevisacheckout](BasePaymentInitializeOptions.md#braintreevisacheckout)
|
|
22
|
-
- [chasepay](BasePaymentInitializeOptions.md#chasepay)
|
|
23
22
|
- [creditCard](BasePaymentInitializeOptions.md#creditcard)
|
|
24
23
|
- [digitalriver](BasePaymentInitializeOptions.md#digitalriver)
|
|
25
24
|
- [gatewayId](BasePaymentInitializeOptions.md#gatewayid)
|
|
@@ -71,15 +70,6 @@ support Visa Checkout.
|
|
|
71
70
|
|
|
72
71
|
___
|
|
73
72
|
|
|
74
|
-
### chasepay
|
|
75
|
-
|
|
76
|
-
• `Optional` **chasepay**: [`ChasePayInitializeOptions`](ChasePayInitializeOptions.md)
|
|
77
|
-
|
|
78
|
-
The options that are required to initialize the Chasepay payment method.
|
|
79
|
-
They can be omitted unless you need to support Chasepay.
|
|
80
|
-
|
|
81
|
-
___
|
|
82
|
-
|
|
83
73
|
### creditCard
|
|
84
74
|
|
|
85
75
|
• `Optional` **creditCard**: `CreditCardPaymentInitializeOptions`
|
|
@@ -31,5 +31,5 @@ service.initializePayment({
|
|
|
31
31
|
• `Optional` **walletButton**: `string`
|
|
32
32
|
|
|
33
33
|
This walletButton is used to set an event listener, provide an element ID if you want
|
|
34
|
-
users to be able to launch the
|
|
34
|
+
users to be able to launch the Masterpass wallet modal by clicking on a button.
|
|
35
35
|
It should be an HTML element.
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ChasePayCustomerInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ChasePayCustomerInitializeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [container](ChasePayCustomerInitializeOptions.md#container)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### container
|
|
14
|
-
|
|
15
|
-
• **container**: `string`
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / ChasePayInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ChasePayInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Chase Pay payment method.
|
|
6
|
-
|
|
7
|
-
```html
|
|
8
|
-
<!-- This is where the Chase Pay button will be inserted -->
|
|
9
|
-
<div id="wallet-button"></div>
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
```js
|
|
13
|
-
service.initializePayment({
|
|
14
|
-
methodId: 'chasepay',
|
|
15
|
-
chasepay: {
|
|
16
|
-
walletButton: 'wallet-button',
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Additional options can be passed in to customize the fields and register
|
|
22
|
-
event callbacks.
|
|
23
|
-
|
|
24
|
-
```html
|
|
25
|
-
<!-- This is where the Chase Pay logo will be inserted -->
|
|
26
|
-
<div id="logo"></div>
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
```js
|
|
30
|
-
service.initializePayment({
|
|
31
|
-
methodId: 'chasepay',
|
|
32
|
-
chasepay: {
|
|
33
|
-
walletButton: 'wallet-button',
|
|
34
|
-
logoContainer: 'logo',
|
|
35
|
-
onPaymentSelect() {
|
|
36
|
-
console.log('Selected');
|
|
37
|
-
},
|
|
38
|
-
onCancel() {
|
|
39
|
-
console.log('Cancelled');
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Table of contents
|
|
46
|
-
|
|
47
|
-
### Properties
|
|
48
|
-
|
|
49
|
-
- [logoContainer](ChasePayInitializeOptions.md#logocontainer)
|
|
50
|
-
- [walletButton](ChasePayInitializeOptions.md#walletbutton)
|
|
51
|
-
|
|
52
|
-
### Methods
|
|
53
|
-
|
|
54
|
-
- [onCancel](ChasePayInitializeOptions.md#oncancel)
|
|
55
|
-
- [onPaymentSelect](ChasePayInitializeOptions.md#onpaymentselect)
|
|
56
|
-
|
|
57
|
-
## Properties
|
|
58
|
-
|
|
59
|
-
### logoContainer
|
|
60
|
-
|
|
61
|
-
• `Optional` **logoContainer**: `string`
|
|
62
|
-
|
|
63
|
-
This container is used to host the chasepay branding logo.
|
|
64
|
-
It should be an HTML element.
|
|
65
|
-
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### walletButton
|
|
69
|
-
|
|
70
|
-
• `Optional` **walletButton**: `string`
|
|
71
|
-
|
|
72
|
-
This walletButton is used to set an event listener, provide an element ID if you want
|
|
73
|
-
users to be able to launch the ChasePay wallet modal by clicking on a button.
|
|
74
|
-
It should be an HTML element.
|
|
75
|
-
|
|
76
|
-
## Methods
|
|
77
|
-
|
|
78
|
-
### onCancel
|
|
79
|
-
|
|
80
|
-
▸ `Optional` **onCancel**(): `void`
|
|
81
|
-
|
|
82
|
-
A callback that gets called when the customer cancels their payment selection.
|
|
83
|
-
|
|
84
|
-
#### Returns
|
|
85
|
-
|
|
86
|
-
`void`
|
|
87
|
-
|
|
88
|
-
___
|
|
89
|
-
|
|
90
|
-
### onPaymentSelect
|
|
91
|
-
|
|
92
|
-
▸ `Optional` **onPaymentSelect**(): `void`
|
|
93
|
-
|
|
94
|
-
A callback that gets called when the customer selects a payment option.
|
|
95
|
-
|
|
96
|
-
#### Returns
|
|
97
|
-
|
|
98
|
-
`void`
|