@bigcommerce/checkout-sdk 1.206.2 → 1.210.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 +33 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +4 -4
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +33 -0
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +6 -6
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/dist/embedded-checkout.js +1 -1
- package/dist/embedded-checkout.umd.js +4 -4
- package/dist/embedded-checkout.umd.js.map +1 -1
- package/dist/hosted-form.umd.js +2 -2
- package/dist/hosted-form.umd.js.map +1 -1
- package/dist/internal-mappers.umd.js +1 -1
- package/docs/README.md +1 -0
- package/docs/interfaces/paymentinitializeoptions.md +10 -0
- package/docs/interfaces/stripeupepaymentinitializeoptions.md +41 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -277,6 +277,7 @@
|
|
|
277
277
|
* [StripeElementClasses](interfaces/stripeelementclasses.md)
|
|
278
278
|
* [StripeElementStyle](interfaces/stripeelementstyle.md)
|
|
279
279
|
* [StripeElementStyleVariant](interfaces/stripeelementstylevariant.md)
|
|
280
|
+
* [StripeUPEPaymentInitializeOptions](interfaces/stripeupepaymentinitializeoptions.md)
|
|
280
281
|
* [StripeV3PaymentInitializeOptions](interfaces/stripev3paymentinitializeoptions.md)
|
|
281
282
|
* [StyleOptions](interfaces/styleoptions.md)
|
|
282
283
|
* [SubInputDetail](interfaces/subinputdetail.md)
|
|
@@ -48,6 +48,7 @@ current checkout flow.
|
|
|
48
48
|
* [paypalcommerce](paymentinitializeoptions.md#optional-paypalcommerce)
|
|
49
49
|
* [paypalexpress](paymentinitializeoptions.md#optional-paypalexpress)
|
|
50
50
|
* [square](paymentinitializeoptions.md#optional-square)
|
|
51
|
+
* [stripeupe](paymentinitializeoptions.md#optional-stripeupe)
|
|
51
52
|
* [stripev3](paymentinitializeoptions.md#optional-stripev3)
|
|
52
53
|
* [timeout](paymentinitializeoptions.md#optional-timeout)
|
|
53
54
|
|
|
@@ -322,6 +323,15 @@ They can be omitted unless you need to support Square.
|
|
|
322
323
|
|
|
323
324
|
___
|
|
324
325
|
|
|
326
|
+
### `Optional` stripeupe
|
|
327
|
+
|
|
328
|
+
• **stripeupe**? : *[StripeUPEPaymentInitializeOptions](stripeupepaymentinitializeoptions.md)*
|
|
329
|
+
|
|
330
|
+
The options that are required to initialize the StripeUPE payment method.
|
|
331
|
+
They can be omitted unless you need to support StripeUPE.
|
|
332
|
+
|
|
333
|
+
___
|
|
334
|
+
|
|
325
335
|
### `Optional` stripev3
|
|
326
336
|
|
|
327
337
|
• **stripev3**? : *[StripeV3PaymentInitializeOptions](stripev3paymentinitializeoptions.md)*
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) › [StripeUPEPaymentInitializeOptions](stripeupepaymentinitializeoptions.md)
|
|
2
|
+
|
|
3
|
+
# Interface: StripeUPEPaymentInitializeOptions
|
|
4
|
+
|
|
5
|
+
A set of options that are required to initialize the Stripe payment method.
|
|
6
|
+
|
|
7
|
+
Once Stripe payment is initialized, credit card form fields, provided by the
|
|
8
|
+
payment provider as iframes, will be inserted into the current page. These
|
|
9
|
+
options provide a location and styling for each of the form fields.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<!-- This is where the credit card component will be inserted -->
|
|
13
|
+
<div id="container"></div>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
service.initializePayment({
|
|
18
|
+
methodId: 'stripeupe',
|
|
19
|
+
stripeupe {
|
|
20
|
+
containerId: 'container',
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Hierarchy
|
|
26
|
+
|
|
27
|
+
* **StripeUPEPaymentInitializeOptions**
|
|
28
|
+
|
|
29
|
+
## Index
|
|
30
|
+
|
|
31
|
+
### Properties
|
|
32
|
+
|
|
33
|
+
* [containerId](stripeupepaymentinitializeoptions.md#containerid)
|
|
34
|
+
|
|
35
|
+
## Properties
|
|
36
|
+
|
|
37
|
+
### containerId
|
|
38
|
+
|
|
39
|
+
• **containerId**: *string*
|
|
40
|
+
|
|
41
|
+
The location to insert the credit card number form field.
|