@fractalpay/fractalpay-next-test 0.0.30 → 0.0.32

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 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-test",
42
- version: "0.0.30",
42
+ version: "0.0.32",
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:center
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
  }
@@ -4603,13 +4605,8 @@ function GetPaymentPage(props) {
4603
4605
  ] }),
4604
4606
  (props == null ? void 0 : props.customerId) && /* @__PURE__ */ jsxs11("div", { className: "form-group mb-4 save-ach-div", style: { paddingTop: "5px" }, children: [
4605
4607
  /* @__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 ACH" })
4607
- ] }),
4608
- saveACHinfo && /* @__PURE__ */ jsx19("div", { className: "form-group mb-4", style: { fontSize: "12px", color: "#727272" }, children: /* @__PURE__ */ jsxs11("p", { children: [
4609
- "If checked, I agree for ",
4610
- /* @__PURE__ */ jsx19("b", { children: "ecommerce" }),
4611
- " to have my permission to charge this credit card for agreed upon purchases in the future."
4612
- ] }) })
4608
+ /* @__PURE__ */ jsx19("label", { htmlFor: "saveACH", 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
+ ] })
4613
4610
  ] }),
4614
4611
  /* @__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)) }) })
4615
4612
  ] })
@@ -8526,13 +8523,8 @@ function PartialPayment(props) {
8526
8523
  ] }),
8527
8524
  (props == null ? void 0 : props.customerId) && /* @__PURE__ */ jsxs17("div", { className: "form-group mb-4 save-ach-div", style: { paddingTop: "5px" }, children: [
8528
8525
  /* @__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 ACH" })
8530
- ] }),
8531
- saveACHinfo && /* @__PURE__ */ jsx28("div", { className: "form-group mb-4", style: { fontSize: "12px", color: "#727272" }, children: /* @__PURE__ */ jsxs17("p", { children: [
8532
- "If checked, I agree for ",
8533
- /* @__PURE__ */ jsx28("b", { children: "ecommerce" }),
8534
- " to have my permission to charge this credit card for agreed upon purchases in the future."
8535
- ] }) })
8526
+ /* @__PURE__ */ jsx28("label", { htmlFor: "saveACH", 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.` })
8527
+ ] })
8536
8528
  ] }),
8537
8529
  /* @__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)) }) })
8538
8530
  ] })
@@ -10851,12 +10843,7 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
10851
10843
  customerId && /* @__PURE__ */ jsxs19("div", { className: "form-group-frac save-ach-div", style: { paddingTop: "5px" }, children: [
10852
10844
  /* @__PURE__ */ jsx32("input", { type: "checkbox", id: "saveACH", className: "", maxLength: 100, placeholder: "My Bank", checked: saveACHinfo, onChange: (e) => setSaveACHinfo(e.target.checked) }),
10853
10845
  /* @__PURE__ */ jsx32("label", { className: "saveachlabel", htmlFor: "saveACH", 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.` })
10854
- ] }),
10855
- saveACHinfo && /* @__PURE__ */ jsx32("div", { className: "form-group-frac saveachtext", children: /* @__PURE__ */ jsxs19("p", { children: [
10856
- "If checked, I agree to give the ",
10857
- /* @__PURE__ */ jsx32("b", { children: merchantName || "merchant" }),
10858
- " permission to charge this bank account for agreed-upon purchases in the future."
10859
- ] }) })
10846
+ ] })
10860
10847
  ] }),
10861
10848
  /* @__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)) }) })
10862
10849
  ] })