@bigcommerce/checkout-sdk 1.461.1 → 1.462.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.
@@ -13,6 +13,7 @@
13
13
 
14
14
  - [getFieldsValues](PaypalCommerceRatePay.md#getfieldsvalues)
15
15
  - [onError](PaypalCommerceRatePay.md#onerror)
16
+ - [onPaymentSubmission](PaypalCommerceRatePay.md#onpaymentsubmission)
16
17
  - [onRenderButton](PaypalCommerceRatePay.md#onrenderbutton)
17
18
 
18
19
  ## Properties
@@ -69,6 +70,24 @@ A callback for displaying error popup. This callback requires error object as pa
69
70
 
70
71
  ___
71
72
 
73
+ ### onPaymentSubmission
74
+
75
+ ▸ `Optional` **onPaymentSubmission**(`isPaymentSubmitting`): `void`
76
+
77
+ Callback that triggers pending logic (for example: show loading overlay)
78
+
79
+ #### Parameters
80
+
81
+ | Name | Type |
82
+ | :------ | :------ |
83
+ | `isPaymentSubmitting` | `boolean` |
84
+
85
+ #### Returns
86
+
87
+ `void`
88
+
89
+ ___
90
+
72
91
  ### onRenderButton
73
92
 
74
93
  ▸ `Optional` **onRenderButton**(): `void`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.461.1",
3
+ "version": "1.462.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",