@bigcommerce/checkout-sdk 1.716.0 → 1.717.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 +0 -36
- 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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +0 -1
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/package.json +1 -1
- package/docs/interfaces/OpyPaymentInitializeOptions.md +0 -40
package/docs/README.md
CHANGED
|
@@ -320,7 +320,6 @@
|
|
|
320
320
|
- [NonceInstrument](interfaces/NonceInstrument.md)
|
|
321
321
|
- [Option](interfaces/Option.md)
|
|
322
322
|
- [OptionsResponse](interfaces/OptionsResponse.md)
|
|
323
|
-
- [OpyPaymentInitializeOptions](interfaces/OpyPaymentInitializeOptions.md)
|
|
324
323
|
- [Order](interfaces/Order.md)
|
|
325
324
|
- [OrderBillingAddress](interfaces/OrderBillingAddress.md)
|
|
326
325
|
- [OrderBillingAddressSelector](interfaces/OrderBillingAddressSelector.md)
|
|
@@ -23,7 +23,6 @@ current checkout flow.
|
|
|
23
23
|
- [gatewayId](BasePaymentInitializeOptions.md#gatewayid)
|
|
24
24
|
- [masterpass](BasePaymentInitializeOptions.md#masterpass)
|
|
25
25
|
- [methodId](BasePaymentInitializeOptions.md#methodid)
|
|
26
|
-
- [opy](BasePaymentInitializeOptions.md#opy)
|
|
27
26
|
- [params](BasePaymentInitializeOptions.md#params)
|
|
28
27
|
- [paypalexpress](BasePaymentInitializeOptions.md#paypalexpress)
|
|
29
28
|
- [timeout](BasePaymentInitializeOptions.md#timeout)
|
|
@@ -113,15 +112,6 @@ The identifier of the payment method.
|
|
|
113
112
|
|
|
114
113
|
___
|
|
115
114
|
|
|
116
|
-
### opy
|
|
117
|
-
|
|
118
|
-
• `Optional` **opy**: [`OpyPaymentInitializeOptions`](OpyPaymentInitializeOptions.md)
|
|
119
|
-
|
|
120
|
-
The options that are required to initialize the Opy payment
|
|
121
|
-
method. They can be omitted unless you need to support Opy.
|
|
122
|
-
|
|
123
|
-
___
|
|
124
|
-
|
|
125
115
|
### params
|
|
126
116
|
|
|
127
117
|
• `Optional` **params**: `Object`
|
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / OpyPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: OpyPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the payment step of
|
|
6
|
-
checkout in order to support Opy.
|
|
7
|
-
|
|
8
|
-
When Opy is initialized, a widget will be inserted into the DOM. The
|
|
9
|
-
widget will open a modal that will show more information about Opy when
|
|
10
|
-
clicking it.
|
|
11
|
-
|
|
12
|
-
**`example`**
|
|
13
|
-
|
|
14
|
-
```html
|
|
15
|
-
<!-- This is where the Opy widget will be inserted -->
|
|
16
|
-
<div id="opy-widget"></div>
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
service.initializePayment({
|
|
21
|
-
methodId: 'opy',
|
|
22
|
-
opy: {
|
|
23
|
-
containerId: 'opy-widget',
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Table of contents
|
|
29
|
-
|
|
30
|
-
### Properties
|
|
31
|
-
|
|
32
|
-
- [containerId](OpyPaymentInitializeOptions.md#containerid)
|
|
33
|
-
|
|
34
|
-
## Properties
|
|
35
|
-
|
|
36
|
-
### containerId
|
|
37
|
-
|
|
38
|
-
• **containerId**: `string`
|
|
39
|
-
|
|
40
|
-
The ID of a container which the payment widget should insert into.
|