@bigcommerce/checkout-sdk 1.755.2 → 1.756.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 +22 -0
- 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/interfaces/BraintreePaymentInitializeOptions.md +26 -0
- package/package.json +1 -1
|
@@ -84,6 +84,7 @@ service.initializePayment({
|
|
|
84
84
|
- [containerId](BraintreePaymentInitializeOptions.md#containerid)
|
|
85
85
|
- [form](BraintreePaymentInitializeOptions.md#form)
|
|
86
86
|
- [threeDSecure](BraintreePaymentInitializeOptions.md#threedsecure)
|
|
87
|
+
- [unsupportedCardBrands](BraintreePaymentInitializeOptions.md#unsupportedcardbrands)
|
|
87
88
|
|
|
88
89
|
### Methods
|
|
89
90
|
|
|
@@ -125,6 +126,31 @@ ___
|
|
|
125
126
|
|
|
126
127
|
• `Optional` **threeDSecure**: [`BraintreeThreeDSecureOptions`](BraintreeThreeDSecureOptions.md)
|
|
127
128
|
|
|
129
|
+
___
|
|
130
|
+
|
|
131
|
+
### unsupportedCardBrands
|
|
132
|
+
|
|
133
|
+
• `Optional` **unsupportedCardBrands**: `string`[]
|
|
134
|
+
|
|
135
|
+
A list of card brands that are not supported by the merchant.
|
|
136
|
+
|
|
137
|
+
List of supported brands by braintree can be found here: https://braintree.github.io/braintree-web/current/module-braintree-web_hosted-fields.html#~field
|
|
138
|
+
search for `supportedCardBrands` property.
|
|
139
|
+
|
|
140
|
+
List of credit cards brands:
|
|
141
|
+
'visa',
|
|
142
|
+
'mastercard',
|
|
143
|
+
'american-express',
|
|
144
|
+
'diners-club',
|
|
145
|
+
'discover',
|
|
146
|
+
'jcb',
|
|
147
|
+
'union-pay',
|
|
148
|
+
'maestro',
|
|
149
|
+
'elo',
|
|
150
|
+
'mir',
|
|
151
|
+
'hiper',
|
|
152
|
+
'hipercard'
|
|
153
|
+
|
|
128
154
|
## Methods
|
|
129
155
|
|
|
130
156
|
### onError
|