@fractalpay/fractalpay-next 0.0.31 → 0.0.33
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/index.js +30 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
"package.json"(exports, module) {
|
|
40
40
|
module.exports = {
|
|
41
41
|
name: "@fractalpay/fractalpay-next",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.33",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -1697,9 +1697,11 @@ function Chargewidgetstyles() {
|
|
|
1697
1697
|
.frac-form .save-ach-div{
|
|
1698
1698
|
display:flex !important;
|
|
1699
1699
|
gap:5px !important;
|
|
1700
|
-
align-items:
|
|
1700
|
+
align-items:start;
|
|
1701
|
+
}
|
|
1702
|
+
.save-ach-div label{
|
|
1703
|
+
margin-top: -4px;
|
|
1701
1704
|
}
|
|
1702
|
-
|
|
1703
1705
|
.frac-form .card-cvv-in{
|
|
1704
1706
|
height : 36px !importantt;
|
|
1705
1707
|
}
|
|
@@ -4601,14 +4603,18 @@ function GetPaymentPage(props) {
|
|
|
4601
4603
|
accountTypes.map((type) => /* @__PURE__ */ jsx19("option", { value: type.value, children: type.label }, type.value))
|
|
4602
4604
|
] })
|
|
4603
4605
|
] }),
|
|
4606
|
+
/* @__PURE__ */ jsxs11("div", { className: "form-group mb-4 save-ach-div", style: { paddingTop: "5px" }, children: [
|
|
4607
|
+
/* @__PURE__ */ jsx19("input", { type: "checkbox", id: "achconsent", className: "", maxLength: 100, placeholder: "My Bank" }),
|
|
4608
|
+
/* @__PURE__ */ jsx19("label", { htmlFor: "achconsent", children: `By selecting this box, I authorize SkyFi, on behalf of ${(paymentData == null ? void 0 : paymentData.bname) || "merchant"}, to initiate a one-time electronic ACH debit from my bank account for the total amount displayed on this screen, including any applicable processing fee. I confirm that I am authorized to use this account and that the bank account information I provided is correct.` })
|
|
4609
|
+
] }),
|
|
4604
4610
|
(props == null ? void 0 : props.customerId) && /* @__PURE__ */ jsxs11("div", { className: "form-group mb-4 save-ach-div", style: { paddingTop: "5px" }, children: [
|
|
4605
4611
|
/* @__PURE__ */ jsx19("input", { type: "checkbox", id: "saveACH", className: "", maxLength: 100, placeholder: "My Bank", checked: saveACHinfo, onChange: (e) => setSaveACHinfo(e.target.checked) }),
|
|
4606
|
-
/* @__PURE__ */ jsx19("label", { htmlFor: "saveACH", children: "Save
|
|
4612
|
+
/* @__PURE__ */ jsx19("label", { htmlFor: "saveACH", children: "Save Bank" })
|
|
4607
4613
|
] }),
|
|
4608
4614
|
saveACHinfo && /* @__PURE__ */ jsx19("div", { className: "form-group mb-4", style: { fontSize: "12px", color: "#727272" }, children: /* @__PURE__ */ jsxs11("p", { children: [
|
|
4609
4615
|
"If checked, I agree for ",
|
|
4610
|
-
/* @__PURE__ */ jsx19("b", { children: "
|
|
4611
|
-
" to have my permission to charge this
|
|
4616
|
+
/* @__PURE__ */ jsx19("b", { children: (paymentData == null ? void 0 : paymentData.bname) || "merchant" }),
|
|
4617
|
+
" to have my permission to charge this bank account for agreed upon purchases in the future."
|
|
4612
4618
|
] }) })
|
|
4613
4619
|
] }),
|
|
4614
4620
|
/* @__PURE__ */ jsx19("div", { className: "form-group ", children: /* @__PURE__ */ jsx19("button", { className: "pay-button", style: { margin: "20px 0 0" }, type: "submit", children: formatUSD((_v = Number(cashDiscount)) == null ? void 0 : _v.toFixed(2)) }) })
|
|
@@ -8524,14 +8530,18 @@ function PartialPayment(props) {
|
|
|
8524
8530
|
accountTypes.map((type) => /* @__PURE__ */ jsx28("option", { value: type.value, children: type.label }, type.value))
|
|
8525
8531
|
] })
|
|
8526
8532
|
] }),
|
|
8533
|
+
/* @__PURE__ */ jsxs17("div", { className: "form-group mb-4 save-ach-div", style: { paddingTop: "5px" }, children: [
|
|
8534
|
+
/* @__PURE__ */ jsx28("input", { type: "checkbox", id: "achconsent", className: "", maxLength: 100, placeholder: "My Bank" }),
|
|
8535
|
+
/* @__PURE__ */ jsx28("label", { htmlFor: "achconsent", children: `By selecting this box, I authorize SkyFi, on behalf of ${(paymentData == null ? void 0 : paymentData.bname) || "merchant"}, to initiate a one-time electronic ACH debit from my bank account for the total amount displayed on this screen, including any applicable processing fee. I confirm that I am authorized to use this account and that the bank account information I provided is correct.` })
|
|
8536
|
+
] }),
|
|
8527
8537
|
(props == null ? void 0 : props.customerId) && /* @__PURE__ */ jsxs17("div", { className: "form-group mb-4 save-ach-div", style: { paddingTop: "5px" }, children: [
|
|
8528
8538
|
/* @__PURE__ */ jsx28("input", { type: "checkbox", id: "saveACH", className: "", maxLength: 100, placeholder: "My Bank", checked: saveACHinfo, onChange: (e) => setSaveACHinfo(e.target.checked) }),
|
|
8529
|
-
/* @__PURE__ */ jsx28("label", { htmlFor: "saveACH", children: "Save
|
|
8539
|
+
/* @__PURE__ */ jsx28("label", { htmlFor: "saveACH", children: "Save Bank" })
|
|
8530
8540
|
] }),
|
|
8531
8541
|
saveACHinfo && /* @__PURE__ */ jsx28("div", { className: "form-group mb-4", style: { fontSize: "12px", color: "#727272" }, children: /* @__PURE__ */ jsxs17("p", { children: [
|
|
8532
8542
|
"If checked, I agree for ",
|
|
8533
|
-
/* @__PURE__ */ jsx28("b", { children: "
|
|
8534
|
-
" to have my permission to charge this
|
|
8543
|
+
/* @__PURE__ */ jsx28("b", { children: (paymentData == null ? void 0 : paymentData.bname) || "merchant" }),
|
|
8544
|
+
" to have my permission to charge this bank account for agreed upon purchases in the future."
|
|
8535
8545
|
] }) })
|
|
8536
8546
|
] }),
|
|
8537
8547
|
/* @__PURE__ */ jsx28("div", { className: "form-group ", children: /* @__PURE__ */ jsx28("button", { className: "pay-button", style: { margin: "20px 0 0" }, type: "submit", children: partialAmount && !partialError ? formatUSD((_z = Number(partialAmount)) == null ? void 0 : _z.toFixed(2)) : formatUSD((_A = Number(cashDiscount)) == null ? void 0 : _A.toFixed(2)) }) })
|
|
@@ -10848,10 +10858,19 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
|
|
|
10848
10858
|
accountTypes.map((type) => /* @__PURE__ */ jsx32("option", { value: type.value, children: type.label }, type.value))
|
|
10849
10859
|
] })
|
|
10850
10860
|
] }),
|
|
10861
|
+
/* @__PURE__ */ jsxs19("div", { className: "form-group-frac save-ach-div", style: { paddingTop: "5px" }, children: [
|
|
10862
|
+
/* @__PURE__ */ jsx32("input", { type: "checkbox", id: "achconsent", className: "", maxLength: 100, placeholder: "My Bank" }),
|
|
10863
|
+
/* @__PURE__ */ jsx32("label", { className: "saveachlabel", htmlFor: "achconsent", children: `By selecting this box, I authorize SkyFi, on behalf of ${merchantName || "merchant"}, to initiate a one-time electronic ACH debit from my bank account for the total amount displayed on this screen, including any applicable processing fee. I confirm that I am authorized to use this account and that the bank account information I provided is correct.` })
|
|
10864
|
+
] }),
|
|
10851
10865
|
customerId && /* @__PURE__ */ jsxs19("div", { className: "form-group-frac save-ach-div", style: { paddingTop: "5px" }, children: [
|
|
10852
10866
|
/* @__PURE__ */ jsx32("input", { type: "checkbox", id: "saveACH", className: "", maxLength: 100, placeholder: "My Bank", checked: saveACHinfo, onChange: (e) => setSaveACHinfo(e.target.checked) }),
|
|
10853
|
-
/* @__PURE__ */ jsx32("label", { className: "saveachlabel", htmlFor: "saveACH", children:
|
|
10854
|
-
] })
|
|
10867
|
+
/* @__PURE__ */ jsx32("label", { className: "saveachlabel", htmlFor: "saveACH", children: "Save Bank" })
|
|
10868
|
+
] }),
|
|
10869
|
+
saveACHinfo && /* @__PURE__ */ jsx32("div", { className: "form-group-frac saveachtext", children: /* @__PURE__ */ jsxs19("p", { children: [
|
|
10870
|
+
"If checked, I agree to give the ",
|
|
10871
|
+
/* @__PURE__ */ jsx32("b", { children: merchantName || "merchant" }),
|
|
10872
|
+
" permission to charge this bank account for agreed-upon purchases in the future."
|
|
10873
|
+
] }) })
|
|
10855
10874
|
] }),
|
|
10856
10875
|
/* @__PURE__ */ jsx32("div", { className: "form-group-frac ", children: /* @__PURE__ */ jsx32("button", { className: "pay-button", style: { margin: "20px 0 0" }, type: "submit", children: formatUSD((_s = Number(bankAmount)) == null ? void 0 : _s.toFixed(2)) }) })
|
|
10857
10876
|
] })
|