@fractalpay/fractalpay-next-dev 0.0.261 → 0.0.263
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 +26 -25
- 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-dev",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.263",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -10576,7 +10576,6 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
|
|
|
10576
10576
|
};
|
|
10577
10577
|
const submitFunc = async (e) => {
|
|
10578
10578
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n2, _o2, _p2;
|
|
10579
|
-
debugger;
|
|
10580
10579
|
e.preventDefault();
|
|
10581
10580
|
const el = document.activeElement;
|
|
10582
10581
|
if (el instanceof HTMLElement) {
|
|
@@ -11394,29 +11393,31 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
|
|
|
11394
11393
|
} }),
|
|
11395
11394
|
/* @__PURE__ */ jsx36("div", { className: "form-group-frac", style: { padding: "0", display: onSubmit ? "none" : "block" }, children: /* @__PURE__ */ jsx36("button", { className: "pay-button", style: { margin: "0px" }, type: "submit", onClick: handlechargeCustomer, children: partialAmount ? formatUSD((_e = Number(partialAmount)) == null ? void 0 : _e.toFixed(2)) : formatUSD((_f = Number(amount)) == null ? void 0 : _f.toFixed(2)) }) })
|
|
11396
11395
|
] }) : paymentGateway == 32 ? /* @__PURE__ */ jsxs21(Fragment20, { children: [
|
|
11397
|
-
/* @__PURE__ */
|
|
11398
|
-
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11396
|
+
onSubmit && /* @__PURE__ */ jsxs21(Fragment20, { children: [
|
|
11397
|
+
/* @__PURE__ */ jsx36(
|
|
11398
|
+
ApplePayButton,
|
|
11399
|
+
{
|
|
11400
|
+
applePayAmount: partialAmount ? partialAmount : amount,
|
|
11401
|
+
applePayMerchantId,
|
|
11402
|
+
applePayMerchantName: merchantName,
|
|
11403
|
+
completeFractalFlow,
|
|
11404
|
+
showLoader
|
|
11405
|
+
}
|
|
11406
|
+
),
|
|
11407
|
+
/* @__PURE__ */ jsx36(
|
|
11408
|
+
GooglePayComponent,
|
|
11409
|
+
{
|
|
11410
|
+
amount: partialAmount ? partialAmount : amount,
|
|
11411
|
+
googlePayEnvironment,
|
|
11412
|
+
googlePayGatewayMerchantId,
|
|
11413
|
+
googlePayMerchantId,
|
|
11414
|
+
googlePayMerchantName: merchantName,
|
|
11415
|
+
completeFractalFlow,
|
|
11416
|
+
setLoading
|
|
11417
|
+
}
|
|
11418
|
+
),
|
|
11419
|
+
/* @__PURE__ */ jsx36("div", { id: "digital-wallet-or", className: "frac-or", children: /* @__PURE__ */ jsx36("span", { children: "or" }) })
|
|
11420
|
+
] }),
|
|
11420
11421
|
/* @__PURE__ */ jsxs21("form", { id: "paymentForm", style: { textAlign: "start" }, ref: cardFormRef, onSubmit: submitFunc, onKeyDown: (e) => {
|
|
11421
11422
|
if (e.key === "Enter" && loading) {
|
|
11422
11423
|
e.preventDefault();
|