@bigcommerce/checkout-sdk 1.487.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 +4 -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/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`
|