@bigcommerce/checkout-sdk 1.486.0 → 1.488.0
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 +12 -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/interfaces/ApplePayCustomerInitializeOptions.md +13 -0
- package/docs/interfaces/GooglePayCustomerInitializeOptions.md +16 -0
- package/docs/interfaces/GooglePayCustomerInitializeOptions_2.md +13 -0
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ DOM. When the customer clicks on it, it will trigger apple sheet
|
|
|
18
18
|
|
|
19
19
|
### Methods
|
|
20
20
|
|
|
21
|
+
- [onClick](ApplePayCustomerInitializeOptions.md#onclick)
|
|
21
22
|
- [onError](ApplePayCustomerInitializeOptions.md#onerror)
|
|
22
23
|
- [onPaymentAuthorize](ApplePayCustomerInitializeOptions.md#onpaymentauthorize)
|
|
23
24
|
|
|
@@ -47,6 +48,18 @@ Sub total label to be passed to apple sheet.
|
|
|
47
48
|
|
|
48
49
|
## Methods
|
|
49
50
|
|
|
51
|
+
### onClick
|
|
52
|
+
|
|
53
|
+
▸ `Optional` **onClick**(): `void`
|
|
54
|
+
|
|
55
|
+
A callback that gets called when wallet button clicked
|
|
56
|
+
|
|
57
|
+
#### Returns
|
|
58
|
+
|
|
59
|
+
`void`
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
50
63
|
### onError
|
|
51
64
|
|
|
52
65
|
▸ `Optional` **onError**(`error?`): `void`
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
- [buttonType](GooglePayCustomerInitializeOptions.md#buttontype)
|
|
11
11
|
- [container](GooglePayCustomerInitializeOptions.md#container)
|
|
12
12
|
|
|
13
|
+
### Methods
|
|
14
|
+
|
|
15
|
+
- [onClick](GooglePayCustomerInitializeOptions.md#onclick)
|
|
16
|
+
|
|
13
17
|
## Properties
|
|
14
18
|
|
|
15
19
|
### buttonColor
|
|
@@ -40,3 +44,15 @@ ___
|
|
|
40
44
|
This container is used to set an event listener, provide an element ID if you want
|
|
41
45
|
users to be able to launch the GooglePay wallet modal by clicking on a button.
|
|
42
46
|
It should be an HTML element.
|
|
47
|
+
|
|
48
|
+
## Methods
|
|
49
|
+
|
|
50
|
+
### onClick
|
|
51
|
+
|
|
52
|
+
▸ `Optional` **onClick**(): `void`
|
|
53
|
+
|
|
54
|
+
Callback that gets called on google pay button click
|
|
55
|
+
|
|
56
|
+
#### Returns
|
|
57
|
+
|
|
58
|
+
`void`
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
### Methods
|
|
14
14
|
|
|
15
|
+
- [onClick](GooglePayCustomerInitializeOptions_2.md#onclick)
|
|
15
16
|
- [onError](GooglePayCustomerInitializeOptions_2.md#onerror)
|
|
16
17
|
|
|
17
18
|
## Properties
|
|
@@ -53,6 +54,18 @@ the GooglePay wallet modal by clicking on a button. It should be an HTML element
|
|
|
53
54
|
|
|
54
55
|
## Methods
|
|
55
56
|
|
|
57
|
+
### onClick
|
|
58
|
+
|
|
59
|
+
▸ `Optional` **onClick**(): `void`
|
|
60
|
+
|
|
61
|
+
Callback that get called on wallet button click
|
|
62
|
+
|
|
63
|
+
#### Returns
|
|
64
|
+
|
|
65
|
+
`void`
|
|
66
|
+
|
|
67
|
+
___
|
|
68
|
+
|
|
56
69
|
### onError
|
|
57
70
|
|
|
58
71
|
▸ `Optional` **onError**(`error`): `void`
|