@bigcommerce/checkout-sdk 1.181.0 → 1.183.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/CHANGELOG.md +35 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +7 -7
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +9 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +8 -8
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/dist/embedded-checkout.js +1 -1
- package/dist/embedded-checkout.js.map +1 -1
- package/dist/embedded-checkout.umd.js +6 -6
- package/dist/embedded-checkout.umd.js.map +1 -1
- package/dist/hosted-form.js +1 -1
- package/dist/hosted-form.js.map +1 -1
- package/dist/hosted-form.umd.js +3 -3
- package/dist/hosted-form.umd.js.map +1 -1
- package/dist/internal-mappers.js +1 -1
- package/dist/internal-mappers.js.map +1 -1
- package/dist/internal-mappers.umd.js +2 -2
- package/dist/internal-mappers.umd.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/interfaces/boltpaymentinitializeoptions.md +20 -0
- package/docs/interfaces/orderpaymentrequestbody.md +1 -1
- package/docs/interfaces/withaccountcreation.md +19 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -289,6 +289,7 @@
|
|
|
289
289
|
* [VaultedInstrument](interfaces/vaultedinstrument.md)
|
|
290
290
|
* [WechatDataPaymentMethodState](interfaces/wechatdatapaymentmethodstate.md)
|
|
291
291
|
* [WechatState](interfaces/wechatstate.md)
|
|
292
|
+
* [WithAccountCreation](interfaces/withaccountcreation.md)
|
|
292
293
|
* [WithCheckoutcomFawryInstrument](interfaces/withcheckoutcomfawryinstrument.md)
|
|
293
294
|
* [WithCheckoutcomSEPAInstrument](interfaces/withcheckoutcomsepainstrument.md)
|
|
294
295
|
* [WithCheckoutcomiDealInstrument](interfaces/withcheckoutcomidealinstrument.md)
|
|
@@ -61,6 +61,10 @@ service.initializePayment({
|
|
|
61
61
|
* [containerId](boltpaymentinitializeoptions.md#optional-containerid)
|
|
62
62
|
* [useBigCommerceCheckout](boltpaymentinitializeoptions.md#usebigcommercecheckout)
|
|
63
63
|
|
|
64
|
+
### Methods
|
|
65
|
+
|
|
66
|
+
* [onPaymentSelect](boltpaymentinitializeoptions.md#optional-onpaymentselect)
|
|
67
|
+
|
|
64
68
|
## Properties
|
|
65
69
|
|
|
66
70
|
### `Optional` containerId
|
|
@@ -74,3 +78,19 @@ ___
|
|
|
74
78
|
### useBigCommerceCheckout
|
|
75
79
|
|
|
76
80
|
• **useBigCommerceCheckout**: *boolean*
|
|
81
|
+
|
|
82
|
+
## Methods
|
|
83
|
+
|
|
84
|
+
### `Optional` onPaymentSelect
|
|
85
|
+
|
|
86
|
+
▸ **onPaymentSelect**(`hasBoltAccount`: boolean): *void*
|
|
87
|
+
|
|
88
|
+
A callback that gets called when the customer selects Bolt as payment option.
|
|
89
|
+
|
|
90
|
+
**Parameters:**
|
|
91
|
+
|
|
92
|
+
Name | Type |
|
|
93
|
+
------ | ------ |
|
|
94
|
+
`hasBoltAccount` | boolean |
|
|
95
|
+
|
|
96
|
+
**Returns:** *void*
|
|
@@ -37,7 +37,7 @@ ___
|
|
|
37
37
|
|
|
38
38
|
### `Optional` paymentData
|
|
39
39
|
|
|
40
|
-
• **paymentData**? : *[CreditCardInstrument](creditcardinstrument.md) | [HostedInstrument](hostedinstrument.md) | [HostedCreditCardInstrument](../README.md#hostedcreditcardinstrument) | [HostedVaultedInstrument](../README.md#hostedvaultedinstrument) | [NonceInstrument](nonceinstrument.md) | [VaultedInstrument](vaultedinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithDocumentInstrument](withdocumentinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomFawryInstrument](withcheckoutcomfawryinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomSEPAInstrument](withcheckoutcomsepainstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomiDealInstrument](withcheckoutcomidealinstrument.md) | [HostedInstrument](hostedinstrument.md) & [WithMollieIssuerInstrument](withmollieissuerinstrument.md)*
|
|
40
|
+
• **paymentData**? : *[CreditCardInstrument](creditcardinstrument.md) | [HostedInstrument](hostedinstrument.md) | [HostedCreditCardInstrument](../README.md#hostedcreditcardinstrument) | [HostedVaultedInstrument](../README.md#hostedvaultedinstrument) | [NonceInstrument](nonceinstrument.md) | [VaultedInstrument](vaultedinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithDocumentInstrument](withdocumentinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomFawryInstrument](withcheckoutcomfawryinstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomSEPAInstrument](withcheckoutcomsepainstrument.md) | [CreditCardInstrument](creditcardinstrument.md) & [WithCheckoutcomiDealInstrument](withcheckoutcomidealinstrument.md) | [HostedInstrument](hostedinstrument.md) & [WithMollieIssuerInstrument](withmollieissuerinstrument.md) | [WithAccountCreation](withaccountcreation.md)*
|
|
41
41
|
|
|
42
42
|
An object that contains the details of a credit card, vaulted payment
|
|
43
43
|
instrument or nonce instrument.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) › [WithAccountCreation](withaccountcreation.md)
|
|
2
|
+
|
|
3
|
+
# Interface: WithAccountCreation
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
* **WithAccountCreation**
|
|
8
|
+
|
|
9
|
+
## Index
|
|
10
|
+
|
|
11
|
+
### Properties
|
|
12
|
+
|
|
13
|
+
* [shouldCreateAccount](withaccountcreation.md#optional-shouldcreateaccount)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### `Optional` shouldCreateAccount
|
|
18
|
+
|
|
19
|
+
• **shouldCreateAccount**? : *undefined | false | true*
|