@bigcommerce/checkout-sdk 1.686.0 → 1.687.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 -89
- 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 -2
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/package.json +1 -1
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +0 -57
- package/docs/interfaces/MonerisStylingProps.md +0 -80
package/docs/README.md
CHANGED
|
@@ -312,8 +312,6 @@
|
|
|
312
312
|
- [MasterpassCustomerInitializeOptions](interfaces/MasterpassCustomerInitializeOptions.md)
|
|
313
313
|
- [MasterpassPaymentInitializeOptions](interfaces/MasterpassPaymentInitializeOptions.md)
|
|
314
314
|
- [MolliePaymentInitializeOptions](interfaces/MolliePaymentInitializeOptions.md)
|
|
315
|
-
- [MonerisPaymentInitializeOptions](interfaces/MonerisPaymentInitializeOptions.md)
|
|
316
|
-
- [MonerisStylingProps](interfaces/MonerisStylingProps.md)
|
|
317
315
|
- [MutationObeserverCreator](interfaces/MutationObeserverCreator.md)
|
|
318
316
|
- [MutationObserverWindow](interfaces/MutationObserverWindow.md)
|
|
319
317
|
- [NonceInstrument](interfaces/NonceInstrument.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
|
-
- [moneris](BasePaymentInitializeOptions.md#moneris)
|
|
27
26
|
- [opy](BasePaymentInitializeOptions.md#opy)
|
|
28
27
|
- [params](BasePaymentInitializeOptions.md#params)
|
|
29
28
|
- [paypalexpress](BasePaymentInitializeOptions.md#paypalexpress)
|
|
@@ -114,15 +113,6 @@ The identifier of the payment method.
|
|
|
114
113
|
|
|
115
114
|
___
|
|
116
115
|
|
|
117
|
-
### moneris
|
|
118
|
-
|
|
119
|
-
• `Optional` **moneris**: [`MonerisPaymentInitializeOptions`](MonerisPaymentInitializeOptions.md)
|
|
120
|
-
|
|
121
|
-
The options that are required to initialize the Moneris payment method.
|
|
122
|
-
They can be omitted unless you need to support Moneris.
|
|
123
|
-
|
|
124
|
-
___
|
|
125
|
-
|
|
126
116
|
### opy
|
|
127
117
|
|
|
128
118
|
• `Optional` **opy**: [`OpyPaymentInitializeOptions`](OpyPaymentInitializeOptions.md)
|
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / MonerisPaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: MonerisPaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
A set of options that are required to initialize the Moneris payment method.
|
|
6
|
-
|
|
7
|
-
Once Moneris payment is initialized, a credit card payment form is provided by the
|
|
8
|
-
payment provider as an IFrame, it will be inserted into the current page. These
|
|
9
|
-
options provide a location and styling for the payment form.
|
|
10
|
-
|
|
11
|
-
```js
|
|
12
|
-
service.initializePayment({
|
|
13
|
-
methodId: 'moneris',
|
|
14
|
-
moneris: {
|
|
15
|
-
containerId: 'container',
|
|
16
|
-
style : {
|
|
17
|
-
cssBody: 'background:white;';
|
|
18
|
-
cssTextbox: 'border-width:2px;';
|
|
19
|
-
cssTextboxCardNumber: 'width:140px;';
|
|
20
|
-
cssTextboxExpiryDate: 'width:40px;';
|
|
21
|
-
cssTextboxCVV: 'width:40px';
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Table of contents
|
|
28
|
-
|
|
29
|
-
### Properties
|
|
30
|
-
|
|
31
|
-
- [containerId](MonerisPaymentInitializeOptions.md#containerid)
|
|
32
|
-
- [form](MonerisPaymentInitializeOptions.md#form)
|
|
33
|
-
- [style](MonerisPaymentInitializeOptions.md#style)
|
|
34
|
-
|
|
35
|
-
## Properties
|
|
36
|
-
|
|
37
|
-
### containerId
|
|
38
|
-
|
|
39
|
-
• **containerId**: `string`
|
|
40
|
-
|
|
41
|
-
The ID of a container where the Moneris iframe component should be mounted
|
|
42
|
-
|
|
43
|
-
___
|
|
44
|
-
|
|
45
|
-
### form
|
|
46
|
-
|
|
47
|
-
• `Optional` **form**: [`LegacyHostedFormOptions`](LegacyHostedFormOptions.md)
|
|
48
|
-
|
|
49
|
-
Hosted Form Validation Options
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### style
|
|
54
|
-
|
|
55
|
-
• `Optional` **style**: [`MonerisStylingProps`](MonerisStylingProps.md)
|
|
56
|
-
|
|
57
|
-
The styling props to apply to the iframe component
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / MonerisStylingProps
|
|
2
|
-
|
|
3
|
-
# Interface: MonerisStylingProps
|
|
4
|
-
|
|
5
|
-
A set of stringified CSS to apply to Moneris' IFrame fields.
|
|
6
|
-
CSS attributes should be converted to string.
|
|
7
|
-
Please note that ClassNames are not supported.
|
|
8
|
-
|
|
9
|
-
IE:
|
|
10
|
-
```js
|
|
11
|
-
{
|
|
12
|
-
cssBody: 'background:white;';
|
|
13
|
-
cssTextbox: 'border-width:2px;';
|
|
14
|
-
cssTextboxCardNumber: 'width:140px;';
|
|
15
|
-
cssTextboxExpiryDate: 'width:40px;';
|
|
16
|
-
cssTextboxCVV: 'width:40px;';
|
|
17
|
-
}
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
When using several attributes use semicolon to separate each one.
|
|
21
|
-
IE: 'background:white;width:40px;'
|
|
22
|
-
|
|
23
|
-
## Table of contents
|
|
24
|
-
|
|
25
|
-
### Properties
|
|
26
|
-
|
|
27
|
-
- [cssBody](MonerisStylingProps.md#cssbody)
|
|
28
|
-
- [cssInputLabel](MonerisStylingProps.md#cssinputlabel)
|
|
29
|
-
- [cssTextbox](MonerisStylingProps.md#csstextbox)
|
|
30
|
-
- [cssTextboxCVV](MonerisStylingProps.md#csstextboxcvv)
|
|
31
|
-
- [cssTextboxCardNumber](MonerisStylingProps.md#csstextboxcardnumber)
|
|
32
|
-
- [cssTextboxExpiryDate](MonerisStylingProps.md#csstextboxexpirydate)
|
|
33
|
-
|
|
34
|
-
## Properties
|
|
35
|
-
|
|
36
|
-
### cssBody
|
|
37
|
-
|
|
38
|
-
• `Optional` **cssBody**: `string`
|
|
39
|
-
|
|
40
|
-
Stringified CSS to apply to the body of the IFrame.
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### cssInputLabel
|
|
45
|
-
|
|
46
|
-
• `Optional` **cssInputLabel**: `string`
|
|
47
|
-
|
|
48
|
-
Stringified CSS to apply to input labels
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### cssTextbox
|
|
53
|
-
|
|
54
|
-
• `Optional` **cssTextbox**: `string`
|
|
55
|
-
|
|
56
|
-
Stringified CSS to apply to each of input fields.
|
|
57
|
-
|
|
58
|
-
___
|
|
59
|
-
|
|
60
|
-
### cssTextboxCVV
|
|
61
|
-
|
|
62
|
-
• `Optional` **cssTextboxCVV**: `string`
|
|
63
|
-
|
|
64
|
-
Stringified CSS to apply to the card's CVV field.
|
|
65
|
-
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### cssTextboxCardNumber
|
|
69
|
-
|
|
70
|
-
• `Optional` **cssTextboxCardNumber**: `string`
|
|
71
|
-
|
|
72
|
-
Stringified CSS to apply to the card's number field.
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### cssTextboxExpiryDate
|
|
77
|
-
|
|
78
|
-
• `Optional` **cssTextboxExpiryDate**: `string`
|
|
79
|
-
|
|
80
|
-
Stringified CSS to apply to the card's expiry field.
|