@sezzle/sezzle-react-widget 3.0.2 → 3.0.5
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/README.md +18 -3
- package/dist/index.cjs +247 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +247 -34
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +801 -0
- package/dist/index.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,6 +92,21 @@ The following props can be specified in the element to customize the widget's co
|
|
|
92
92
|
- Type: Number
|
|
93
93
|
- Default: 2500
|
|
94
94
|
|
|
95
|
+
## <b>The following are reserved for merchants enrolled in our long-term payment program. Please discuss with Sezzle point of contact before using the below config options:</b>
|
|
96
|
+
|
|
97
|
+
`minPriceLT` (optional)
|
|
98
|
+
|
|
99
|
+
**Purpose**: Minimum price for which purchase is eligible for long-term lending. Above this amount, the monthly installments with interest will be reflected in the widget and modal. Below this amount, the 4-pay widget and modal will render.
|
|
100
|
+
**Type**: number
|
|
101
|
+
**Default**: 0
|
|
102
|
+
**Additional Details**: The `maxPrice` option should be overwritten to `15000` for long-term.
|
|
103
|
+
|
|
104
|
+
`bestAPR` (optional)
|
|
105
|
+
|
|
106
|
+
**Purpose**: Standard APR rate by which interest should be calculated.
|
|
107
|
+
**Type**: number
|
|
108
|
+
**Default**: 9.99
|
|
109
|
+
|
|
95
110
|
# Example
|
|
96
111
|
|
|
97
112
|
```
|
|
@@ -100,11 +115,11 @@ The following props can be specified in the element to customize the widget's co
|
|
|
100
115
|
merchantId={'12a34bc5-6de7-890f-g123-4hi5678jk901'}
|
|
101
116
|
theme={'light'}
|
|
102
117
|
includeAPModal={false}
|
|
103
|
-
minPrice={
|
|
104
|
-
maxPrice={
|
|
118
|
+
minPrice={20}
|
|
119
|
+
maxPrice={2500}
|
|
105
120
|
fontWeight={500}
|
|
106
121
|
fontFamily={'inherit'}
|
|
107
|
-
fontSize={
|
|
122
|
+
fontSize={14}
|
|
108
123
|
textColor={'inherit'}
|
|
109
124
|
alignment={'auto'}
|
|
110
125
|
logoSize={1}
|