@pinerohit11/testwidget 0.1.33 → 0.1.34

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.
Files changed (3) hide show
  1. package/dist/index.cjs +260 -252
  2. package/dist/index.js +260 -252
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23,227 +23,15 @@ import "bootstrap/dist/css/bootstrap.min.css";
23
23
 
24
24
  // src/app/components/Greet.tsx
25
25
  import axios from "axios";
26
- import React, { useEffect, useState } from "react";
26
+ import React2, { useEffect, useState } from "react";
27
27
  import { Button, Modal } from "react-bootstrap";
28
28
  import "bootstrap/dist/css/bootstrap.min.css";
29
- function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
30
- const baseUrl = "http://192.168.1.52:8082/";
31
- const masterBaseUrl = "http://192.168.1.52:8081/";
32
- console.log(name, "name", window == null ? void 0 : window.DatacapWebToken);
33
- const [dcToken, setDcToken] = useState("");
34
- const [error, setError] = useState({});
35
- const [toggleQr, setToggleQr] = useState(false);
36
- const [formData, setFormData] = useState({
37
- name: "John Doe",
38
- card_number: "4761 7310 0000 0043",
39
- exp_month: "12",
40
- exp_year: "2024",
41
- cvv: "201",
42
- zip: ""
43
- });
44
- const [loading, setLoading] = useState(false);
45
- const [show, setShow] = useState(false);
46
- const handleSubmit = async (e) => {
47
- var _a, _b, _c, _d, _e, _f, _g;
48
- e.preventDefault();
49
- const data = {
50
- description: "widget payment",
51
- amount: amount || "1.00",
52
- phone_number: "1234567908",
53
- zip: formData.zip,
54
- orderId: orderId || "",
55
- fractalpayPublicKey: fractalPayClientKey
56
- };
57
- if (Object.keys(error).length < 1) {
58
- try {
59
- setLoading(true);
60
- const res = await axios.post(`${baseUrl}create-widget-order`, data, {
61
- headers: {
62
- "Content-Type": "application/json"
63
- }
64
- });
65
- if (res.data && ((_a = res.data) == null ? void 0 : _a.result)) {
66
- console.log("token", (_b = res.data) == null ? void 0 : _b.data);
67
- setDcToken((_d = (_c = res.data) == null ? void 0 : _c.data) == null ? void 0 : _d.dctoken);
68
- const tokenCallback = async (response) => {
69
- var _a2, _b2, _c2;
70
- console.log("response for token call back", response);
71
- if (response.Error) {
72
- alert("if");
73
- console.log("Error: ", response);
74
- setLoading(false);
75
- } else {
76
- const headers = {
77
- "Content-Type": "application/x-www-form-urlencoded"
78
- };
79
- const quickData = __spreadValues({
80
- name: formData.name,
81
- postal_code: formData.zip
82
- }, response);
83
- try {
84
- const resp = await axios.post(`${masterBaseUrl}quick-pay/${(_b2 = (_a2 = res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.posSalesIdEncode}`, quickData, {
85
- headers
86
- });
87
- setLoading(false);
88
- console.log("quick response", resp);
89
- if (((_c2 = resp == null ? void 0 : resp.data) == null ? void 0 : _c2.result) && (resp == null ? void 0 : resp.status) === 200) {
90
- console.log("Payment success!", resp == null ? void 0 : resp.data);
91
- setFormData({
92
- name: "John Doe",
93
- card_number: "4761 7310 0000 0043",
94
- exp_month: "12",
95
- exp_year: "2024",
96
- cvv: "201",
97
- zip: ""
98
- });
99
- } else {
100
- console.log("Payment failed!", resp == null ? void 0 : resp.data);
101
- }
102
- } catch (error2) {
103
- console.log("Error: ", error2);
104
- setLoading(false);
105
- }
106
- }
107
- };
108
- window == null ? void 0 : window.DatacapWebToken.requestToken((_f = (_e = res.data) == null ? void 0 : _e.data) == null ? void 0 : _f.dctoken, "PaymentForm", tokenCallback);
109
- } else {
110
- setLoading(false);
111
- console.log("res", (_g = res.data) == null ? void 0 : _g.data);
112
- }
113
- } catch (error2) {
114
- setLoading(false);
115
- console.log(error2);
116
- }
117
- }
118
- };
119
- const handleCardFormat = (numericValue) => {
120
- const cleaned = ("" + numericValue).replace(/\D/g, "");
121
- const match = cleaned.match(/^(\d{4})(\d{4})(\d{4})(\d{4})$/);
122
- if (match) {
123
- return `${match[1]} ${match[2]} ${match[3]} ${match[4]}`;
124
- }
125
- return numericValue;
126
- };
127
- const handleCardNumberChange = (value) => {
128
- setError((prev) => __spreadProps(__spreadValues({}, prev), { card_number: "" }));
129
- if (value && value.match(/[a-zA-Z]/)) {
130
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
131
- card_number: "Invalid input. Please enter only numbers."
132
- }));
133
- } else if (value.length > 12 && !(window == null ? void 0 : window.DatacapWebToken.validateCardNumber(value == null ? void 0 : value.replaceAll(" ", "")))) {
134
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
135
- card_number: "Invalid Card Number"
136
- }));
137
- } else if (!value.length) {
138
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
139
- card_number: "Card Number required"
140
- }));
141
- } else {
142
- setError({});
143
- }
144
- };
145
- const handleMonthChange = (value) => {
146
- setError((prev) => __spreadProps(__spreadValues({}, prev), { exp_month: "" }));
147
- if (/^\d{0,2}$/.test(value) && (value === "" || parseInt(value, 10) >= 1 && parseInt(value, 10) <= 12)) {
148
- setError({});
149
- } else if (!value.length) {
150
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
151
- exp_month: "Month is required"
152
- }));
153
- } else {
154
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
155
- exp_month: "Value should be between 1 and 12"
156
- }));
157
- }
158
- };
159
- const handleYearChange = (value) => {
160
- setError((prev) => __spreadProps(__spreadValues({}, prev), { exp_year: "" }));
161
- if (window == null ? void 0 : window.DatacapWebToken.validateExpirationDate(formData.exp_month, value)) {
162
- setError({});
163
- } else if (!value.length) {
164
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
165
- exp_year: "Year is required"
166
- }));
167
- } else {
168
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
169
- exp_year: "Invalid Expiration Date."
170
- }));
171
- }
172
- };
173
- const handleCVVChange = (value) => {
174
- setError((prev) => __spreadProps(__spreadValues({}, prev), { cvv: "" }));
175
- if (window == null ? void 0 : window.DatacapWebToken.validateCVV(value)) {
176
- setError({});
177
- } else if (!value.length) {
178
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
179
- cvv: "CVV is required"
180
- }));
181
- } else {
182
- setError((prev) => __spreadProps(__spreadValues({}, prev), {
183
- cvv: "Invalid CVV."
184
- }));
185
- }
186
- };
187
- const handleChange = (e) => {
188
- const token = e.target.getAttribute("data-token") || "";
189
- const value = e.target.value;
190
- setFormData((prev) => __spreadProps(__spreadValues({}, prev), { [token]: value }));
191
- if (token === "card_number") {
192
- handleCardNumberChange(value);
193
- }
194
- if (token === "exp_month") {
195
- handleMonthChange(value);
196
- }
197
- if (token === "exp_year") {
198
- handleYearChange(value);
199
- }
200
- if (token === "cvv") {
201
- handleCVVChange(value);
202
- }
203
- };
204
- useEffect(() => {
205
- const scriptId = "my-script";
206
- const existingScript = document.getElementById(scriptId);
207
- if (!existingScript) {
208
- const script = document.createElement("script");
209
- script.src = "https://token-cert.dcap.com/v1/client";
210
- script.id = scriptId;
211
- script.async = true;
212
- script.onload = () => {
213
- if (typeof window !== "undefined" && window.DatacapWebToken) {
214
- console.log("DatacapWebToken", window.DatacapWebToken);
215
- } else {
216
- console.log("DatacapWebToken is not loaded yet.");
217
- }
218
- };
219
- document.head.appendChild(script);
220
- }
221
- return () => {
222
- const script = document.getElementById(scriptId);
223
- if (script) {
224
- document.head.removeChild(script);
225
- }
226
- };
227
- }, []);
228
- useEffect(() => {
229
- const link = document.createElement("link");
230
- link.rel = "stylesheet";
231
- link.href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css";
232
- document.head.appendChild(link);
233
- return () => {
234
- document.head.removeChild(link);
235
- };
236
- }, []);
237
- const handleClose = () => {
238
- setShow(false);
239
- };
240
- const handleOpen = () => {
241
- console.log("open");
242
- setShow(true);
243
- };
244
- console.log(show, "open");
245
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("style", null, `
246
-
29
+
30
+ // src/app/components/CustomStyle.tsx
31
+ import React from "react";
32
+ var CustomStyle = (props) => {
33
+ return /* @__PURE__ */ React.createElement("style", null, `
34
+
247
35
 
248
36
  body {
249
37
  background: #d5d5d5;
@@ -928,7 +716,227 @@ body {
928
716
  border:0;
929
717
  height: 43px;
930
718
  }
931
- `), /* @__PURE__ */ React.createElement("div", { className: "w-100 text-center" }, /* @__PURE__ */ React.createElement(Button, { onClick: handleOpen }, "Show")), /* @__PURE__ */ React.createElement(
719
+ `);
720
+ };
721
+
722
+ // src/app/components/Greet.tsx
723
+ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
724
+ const baseUrl = "http://192.168.1.52:8082/";
725
+ const masterBaseUrl = "http://192.168.1.52:8081/";
726
+ console.log(name, "name", window == null ? void 0 : window.DatacapWebToken);
727
+ const [dcToken, setDcToken] = useState("");
728
+ const [error, setError] = useState({});
729
+ const [toggleQr, setToggleQr] = useState(false);
730
+ const [formData, setFormData] = useState({
731
+ name: "John Doe",
732
+ card_number: "4761 7310 0000 0043",
733
+ exp_month: "12",
734
+ exp_year: "2024",
735
+ cvv: "201",
736
+ zip: ""
737
+ });
738
+ const [loading, setLoading] = useState(false);
739
+ const [show, setShow] = useState(false);
740
+ const handleSubmit = async (e) => {
741
+ var _a, _b, _c, _d, _e, _f, _g;
742
+ e.preventDefault();
743
+ const data = {
744
+ description: "widget payment",
745
+ amount: amount || "1.00",
746
+ phone_number: "1234567908",
747
+ zip: formData.zip,
748
+ orderId: orderId || "",
749
+ fractalpayPublicKey: fractalPayClientKey
750
+ };
751
+ if (Object.keys(error).length < 1) {
752
+ try {
753
+ setLoading(true);
754
+ const res = await axios.post(`${baseUrl}create-widget-order`, data, {
755
+ headers: {
756
+ "Content-Type": "application/json"
757
+ }
758
+ });
759
+ if (res.data && ((_a = res.data) == null ? void 0 : _a.result)) {
760
+ console.log("token", (_b = res.data) == null ? void 0 : _b.data);
761
+ setDcToken((_d = (_c = res.data) == null ? void 0 : _c.data) == null ? void 0 : _d.dctoken);
762
+ const tokenCallback = async (response) => {
763
+ var _a2, _b2, _c2;
764
+ console.log("response for token call back", response);
765
+ if (response.Error) {
766
+ alert("if");
767
+ console.log("Error: ", response);
768
+ setLoading(false);
769
+ } else {
770
+ const headers = {
771
+ "Content-Type": "application/x-www-form-urlencoded"
772
+ };
773
+ const quickData = __spreadValues({
774
+ name: formData.name,
775
+ postal_code: formData.zip
776
+ }, response);
777
+ try {
778
+ const resp = await axios.post(`${masterBaseUrl}quick-pay/${(_b2 = (_a2 = res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.posSalesIdEncode}`, quickData, {
779
+ headers
780
+ });
781
+ setLoading(false);
782
+ console.log("quick response", resp);
783
+ if (((_c2 = resp == null ? void 0 : resp.data) == null ? void 0 : _c2.result) && (resp == null ? void 0 : resp.status) === 200) {
784
+ console.log("Payment success!", resp == null ? void 0 : resp.data);
785
+ setFormData({
786
+ name: "John Doe",
787
+ card_number: "4761 7310 0000 0043",
788
+ exp_month: "12",
789
+ exp_year: "2024",
790
+ cvv: "201",
791
+ zip: ""
792
+ });
793
+ } else {
794
+ console.log("Payment failed!", resp == null ? void 0 : resp.data);
795
+ }
796
+ } catch (error2) {
797
+ console.log("Error: ", error2);
798
+ setLoading(false);
799
+ }
800
+ }
801
+ };
802
+ window == null ? void 0 : window.DatacapWebToken.requestToken((_f = (_e = res.data) == null ? void 0 : _e.data) == null ? void 0 : _f.dctoken, "PaymentForm", tokenCallback);
803
+ } else {
804
+ setLoading(false);
805
+ console.log("res", (_g = res.data) == null ? void 0 : _g.data);
806
+ }
807
+ } catch (error2) {
808
+ setLoading(false);
809
+ console.log(error2);
810
+ }
811
+ }
812
+ };
813
+ const handleCardFormat = (numericValue) => {
814
+ const cleaned = ("" + numericValue).replace(/\D/g, "");
815
+ const match = cleaned.match(/^(\d{4})(\d{4})(\d{4})(\d{4})$/);
816
+ if (match) {
817
+ return `${match[1]} ${match[2]} ${match[3]} ${match[4]}`;
818
+ }
819
+ return numericValue;
820
+ };
821
+ const handleCardNumberChange = (value) => {
822
+ setError((prev) => __spreadProps(__spreadValues({}, prev), { card_number: "" }));
823
+ if (value && value.match(/[a-zA-Z]/)) {
824
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
825
+ card_number: "Invalid input. Please enter only numbers."
826
+ }));
827
+ } else if (value.length > 12 && !(window == null ? void 0 : window.DatacapWebToken.validateCardNumber(value == null ? void 0 : value.replaceAll(" ", "")))) {
828
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
829
+ card_number: "Invalid Card Number"
830
+ }));
831
+ } else if (!value.length) {
832
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
833
+ card_number: "Card Number required"
834
+ }));
835
+ } else {
836
+ setError({});
837
+ }
838
+ };
839
+ const handleMonthChange = (value) => {
840
+ setError((prev) => __spreadProps(__spreadValues({}, prev), { exp_month: "" }));
841
+ if (/^\d{0,2}$/.test(value) && (value === "" || parseInt(value, 10) >= 1 && parseInt(value, 10) <= 12)) {
842
+ setError({});
843
+ } else if (!value.length) {
844
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
845
+ exp_month: "Month is required"
846
+ }));
847
+ } else {
848
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
849
+ exp_month: "Value should be between 1 and 12"
850
+ }));
851
+ }
852
+ };
853
+ const handleYearChange = (value) => {
854
+ setError((prev) => __spreadProps(__spreadValues({}, prev), { exp_year: "" }));
855
+ if (window == null ? void 0 : window.DatacapWebToken.validateExpirationDate(formData.exp_month, value)) {
856
+ setError({});
857
+ } else if (!value.length) {
858
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
859
+ exp_year: "Year is required"
860
+ }));
861
+ } else {
862
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
863
+ exp_year: "Invalid Expiration Date."
864
+ }));
865
+ }
866
+ };
867
+ const handleCVVChange = (value) => {
868
+ setError((prev) => __spreadProps(__spreadValues({}, prev), { cvv: "" }));
869
+ if (window == null ? void 0 : window.DatacapWebToken.validateCVV(value)) {
870
+ setError({});
871
+ } else if (!value.length) {
872
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
873
+ cvv: "CVV is required"
874
+ }));
875
+ } else {
876
+ setError((prev) => __spreadProps(__spreadValues({}, prev), {
877
+ cvv: "Invalid CVV."
878
+ }));
879
+ }
880
+ };
881
+ const handleChange = (e) => {
882
+ const token = e.target.getAttribute("data-token") || "";
883
+ const value = e.target.value;
884
+ setFormData((prev) => __spreadProps(__spreadValues({}, prev), { [token]: value }));
885
+ if (token === "card_number") {
886
+ handleCardNumberChange(value);
887
+ }
888
+ if (token === "exp_month") {
889
+ handleMonthChange(value);
890
+ }
891
+ if (token === "exp_year") {
892
+ handleYearChange(value);
893
+ }
894
+ if (token === "cvv") {
895
+ handleCVVChange(value);
896
+ }
897
+ };
898
+ useEffect(() => {
899
+ const scriptId = "my-script";
900
+ const existingScript = document.getElementById(scriptId);
901
+ if (!existingScript) {
902
+ const script = document.createElement("script");
903
+ script.src = "https://token-cert.dcap.com/v1/client";
904
+ script.id = scriptId;
905
+ script.async = true;
906
+ script.onload = () => {
907
+ if (typeof window !== "undefined" && window.DatacapWebToken) {
908
+ console.log("DatacapWebToken", window.DatacapWebToken);
909
+ } else {
910
+ console.log("DatacapWebToken is not loaded yet.");
911
+ }
912
+ };
913
+ document.head.appendChild(script);
914
+ }
915
+ return () => {
916
+ const script = document.getElementById(scriptId);
917
+ if (script) {
918
+ document.head.removeChild(script);
919
+ }
920
+ };
921
+ }, []);
922
+ useEffect(() => {
923
+ const link = document.createElement("link");
924
+ link.rel = "stylesheet";
925
+ link.href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css";
926
+ document.head.appendChild(link);
927
+ return () => {
928
+ document.head.removeChild(link);
929
+ };
930
+ }, []);
931
+ const handleClose = () => {
932
+ setShow(false);
933
+ };
934
+ const handleOpen = () => {
935
+ console.log("open");
936
+ setShow(true);
937
+ };
938
+ console.log(show, "open");
939
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(CustomStyle, null), /* @__PURE__ */ React2.createElement("div", { className: "w-100 text-center" }, /* @__PURE__ */ React2.createElement(Button, { onClick: handleOpen }, "Show")), /* @__PURE__ */ React2.createElement(
932
940
  Modal,
933
941
  {
934
942
  show,
@@ -937,7 +945,7 @@ body {
937
945
  keyboard: false,
938
946
  size: "lg"
939
947
  },
940
- /* @__PURE__ */ React.createElement(Modal.Body, null, /* @__PURE__ */ React.createElement("div", { className: "bg-black" }, /* @__PURE__ */ React.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ React.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ React.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ React.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ React.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ React.createElement(
948
+ /* @__PURE__ */ React2.createElement(Modal.Body, null, /* @__PURE__ */ React2.createElement("div", { className: "bg-black" }, /* @__PURE__ */ React2.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ React2.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ React2.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ React2.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ React2.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ React2.createElement(
941
949
  "button",
942
950
  {
943
951
  className: "close-pop",
@@ -945,7 +953,7 @@ body {
945
953
  setShow(false);
946
954
  }
947
955
  },
948
- /* @__PURE__ */ React.createElement(
956
+ /* @__PURE__ */ React2.createElement(
949
957
  "svg",
950
958
  {
951
959
  xmlns: "http://www.w3.org/2000/svg",
@@ -953,7 +961,7 @@ body {
953
961
  height: 37,
954
962
  viewBox: "0 0 21 21"
955
963
  },
956
- /* @__PURE__ */ React.createElement(
964
+ /* @__PURE__ */ React2.createElement(
957
965
  "path",
958
966
  {
959
967
  fill: "none",
@@ -964,14 +972,14 @@ body {
964
972
  }
965
973
  )
966
974
  )
967
- ), /* @__PURE__ */ React.createElement("div", { className: "row" }, /* @__PURE__ */ React.createElement("div", { className: "comp-name" }, /* @__PURE__ */ React.createElement(
975
+ ), /* @__PURE__ */ React2.createElement("div", { className: "row" }, /* @__PURE__ */ React2.createElement("div", { className: "comp-name" }, /* @__PURE__ */ React2.createElement(
968
976
  "img",
969
977
  {
970
978
  src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
971
979
  alt: "",
972
980
  className: "client-logo"
973
981
  }
974
- )), /* @__PURE__ */ React.createElement("div", { className: "" }, /* @__PURE__ */ React.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ React.createElement("div", { className: "header" }, /* @__PURE__ */ React.createElement("h1", null, "Pay"), /* @__PURE__ */ React.createElement(
982
+ )), /* @__PURE__ */ React2.createElement("div", { className: "" }, /* @__PURE__ */ React2.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ React2.createElement("div", { className: "header" }, /* @__PURE__ */ React2.createElement("h1", null, "Pay"), /* @__PURE__ */ React2.createElement(
975
983
  "i",
976
984
  {
977
985
  className: "fa fa-qrcode fa-2x",
@@ -979,23 +987,23 @@ body {
979
987
  title: "Show QR Code",
980
988
  onClick: () => setToggleQr(!toggleQr)
981
989
  }
982
- )), /* @__PURE__ */ React.createElement("div", { id: "qrCode", style: {
990
+ )), /* @__PURE__ */ React2.createElement("div", { id: "qrCode", style: {
983
991
  display: toggleQr ? "block" : "none"
984
- } }, /* @__PURE__ */ React.createElement(
992
+ } }, /* @__PURE__ */ React2.createElement(
985
993
  "img",
986
994
  {
987
995
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6miknlpGJSualiUjmpOFGZKk5UpopJ5YuKE5WpYlI5qZhU3qiYVK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N5QmSq+eFhrrUse1lrrkoe11rrkh/9zFZPKScVJxYnKVPGbVKaKSWWqmFROKiaVqeKkYlKZKk5UTiomlZOKk4qTikllqphUTipOVKaKm1RuelhrrUse1lrrkoe11rrkh/8zFZPKVDGpTConFZPKVDGpnFRMKlPFpDJVfFExqZxUnKi8oXJSMalMFVPFFyonFVPFpDJVnKhMFVPFpPJFxW96WGutSx7WWuuSh7XWuuSHX1bxmyomlaliUnmj4qRiUpkqJpWTipOKSWWqOFF5Q+WkYqqYVKaKSeVE5QuVqWJSmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
988
996
  alt: "QRCode",
989
997
  srcSet: ""
990
998
  }
991
- )), /* @__PURE__ */ React.createElement(
999
+ )), /* @__PURE__ */ React2.createElement(
992
1000
  "form",
993
1001
  {
994
1002
  id: "PaymentForm",
995
1003
  className: "payment-form",
996
1004
  onSubmit: handleSubmit
997
1005
  },
998
- /* @__PURE__ */ React.createElement(
1006
+ /* @__PURE__ */ React2.createElement(
999
1007
  "input",
1000
1008
  {
1001
1009
  type: "hidden",
@@ -1004,8 +1012,8 @@ body {
1004
1012
  name: "dctoken"
1005
1013
  }
1006
1014
  ),
1007
- /* @__PURE__ */ React.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ React.createElement("div", { className: "amtleft" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ React.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ React.createElement("span", null, "$"), /* @__PURE__ */ React.createElement("span", null, " ", amount || 1, " "))), /* @__PURE__ */ React.createElement("div", { className: "card-row" }, /* @__PURE__ */ React.createElement("span", { className: "visa" }), /* @__PURE__ */ React.createElement("span", { className: "mastercard" }), /* @__PURE__ */ React.createElement("span", { className: "amex" }), /* @__PURE__ */ React.createElement("span", { className: "discover" }))),
1008
- /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ React.createElement(
1015
+ /* @__PURE__ */ React2.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ React2.createElement("div", { className: "amtleft" }, /* @__PURE__ */ React2.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ React2.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ React2.createElement("span", null, "$"), /* @__PURE__ */ React2.createElement("span", null, " ", amount || 1, " "))), /* @__PURE__ */ React2.createElement("div", { className: "card-row" }, /* @__PURE__ */ React2.createElement("span", { className: "visa" }), /* @__PURE__ */ React2.createElement("span", { className: "mastercard" }), /* @__PURE__ */ React2.createElement("span", { className: "amex" }), /* @__PURE__ */ React2.createElement("span", { className: "discover" }))),
1016
+ /* @__PURE__ */ React2.createElement("div", { className: "form-group" }, /* @__PURE__ */ React2.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ React2.createElement(
1009
1017
  "input",
1010
1018
  {
1011
1019
  "data-token": "name",
@@ -1017,14 +1025,14 @@ body {
1017
1025
  value: formData == null ? void 0 : formData.name,
1018
1026
  onChange: handleChange
1019
1027
  }
1020
- ), /* @__PURE__ */ React.createElement(
1028
+ ), /* @__PURE__ */ React2.createElement(
1021
1029
  "span",
1022
1030
  {
1023
1031
  id: "NameOnCard-error",
1024
1032
  style: { color: "red" }
1025
1033
  }
1026
1034
  )),
1027
- /* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement(
1035
+ /* @__PURE__ */ React2.createElement("div", { className: "form-group" }, /* @__PURE__ */ React2.createElement(
1028
1036
  "input",
1029
1037
  {
1030
1038
  "data-token": "card_number",
@@ -1035,7 +1043,7 @@ body {
1035
1043
  value: handleCardFormat(formData == null ? void 0 : formData.card_number),
1036
1044
  onChange: handleChange
1037
1045
  }
1038
- ), error.card_number && /* @__PURE__ */ React.createElement(
1046
+ ), error.card_number && /* @__PURE__ */ React2.createElement(
1039
1047
  "span",
1040
1048
  {
1041
1049
  id: "card_number-error",
@@ -1043,7 +1051,7 @@ body {
1043
1051
  },
1044
1052
  error.card_number
1045
1053
  )),
1046
- /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
1054
+ /* @__PURE__ */ React2.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React2.createElement(
1047
1055
  "input",
1048
1056
  {
1049
1057
  "data-token": "exp_month",
@@ -1054,7 +1062,7 @@ body {
1054
1062
  value: formData == null ? void 0 : formData.exp_month,
1055
1063
  onChange: handleChange
1056
1064
  }
1057
- ), error.exp_month && /* @__PURE__ */ React.createElement(
1065
+ ), error.exp_month && /* @__PURE__ */ React2.createElement(
1058
1066
  "span",
1059
1067
  {
1060
1068
  id: "exp_month-error",
@@ -1062,7 +1070,7 @@ body {
1062
1070
  },
1063
1071
  error.exp_month
1064
1072
  )),
1065
- /* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
1073
+ /* @__PURE__ */ React2.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React2.createElement(
1066
1074
  "input",
1067
1075
  {
1068
1076
  "data-token": "exp_year",
@@ -1073,7 +1081,7 @@ body {
1073
1081
  value: formData == null ? void 0 : formData.exp_year,
1074
1082
  onChange: handleChange
1075
1083
  }
1076
- ), error.exp_year && /* @__PURE__ */ React.createElement(
1084
+ ), error.exp_year && /* @__PURE__ */ React2.createElement(
1077
1085
  "span",
1078
1086
  {
1079
1087
  id: "exp_year-error",
@@ -1081,7 +1089,7 @@ body {
1081
1089
  },
1082
1090
  error.exp_year
1083
1091
  )),
1084
- /* @__PURE__ */ React.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
1092
+ /* @__PURE__ */ React2.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ React2.createElement("div", { className: "input-container" }, /* @__PURE__ */ React2.createElement(
1085
1093
  "input",
1086
1094
  {
1087
1095
  "data-token": "cvv",
@@ -1092,15 +1100,15 @@ body {
1092
1100
  value: formData == null ? void 0 : formData.cvv,
1093
1101
  onChange: handleChange
1094
1102
  }
1095
- ), /* @__PURE__ */ React.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ React.createElement(
1103
+ ), /* @__PURE__ */ React2.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ React2.createElement(
1096
1104
  "span",
1097
1105
  {
1098
1106
  id: "cvv-error",
1099
1107
  style: { color: "red" }
1100
1108
  },
1101
1109
  error.cvv
1102
- ), /* @__PURE__ */ React.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ React.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ React.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
1103
- /* @__PURE__ */ React.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
1110
+ ), /* @__PURE__ */ React2.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ React2.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ React2.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
1111
+ /* @__PURE__ */ React2.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ React2.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ React2.createElement("div", { className: "input-container" }, /* @__PURE__ */ React2.createElement(
1104
1112
  "input",
1105
1113
  {
1106
1114
  id: "ZIPCode",
@@ -1112,7 +1120,7 @@ body {
1112
1120
  value: formData == null ? void 0 : formData.zip,
1113
1121
  onChange: handleChange
1114
1122
  }
1115
- ), /* @__PURE__ */ React.createElement(
1123
+ ), /* @__PURE__ */ React2.createElement(
1116
1124
  "a",
1117
1125
  {
1118
1126
  tabIndex: 0,
@@ -1122,8 +1130,8 @@ body {
1122
1130
  "data-placement": "left",
1123
1131
  "data-content": "Enter the ZIP/Postal code for your credit card billing address."
1124
1132
  },
1125
- /* @__PURE__ */ React.createElement("i", { className: "fa fa-question-circle" })
1126
- ), /* @__PURE__ */ React.createElement(
1133
+ /* @__PURE__ */ React2.createElement("i", { className: "fa fa-question-circle" })
1134
+ ), /* @__PURE__ */ React2.createElement(
1127
1135
  "span",
1128
1136
  {
1129
1137
  id: "ZIPCode-error",
@@ -1131,24 +1139,24 @@ body {
1131
1139
  },
1132
1140
  "This field is required"
1133
1141
  ))),
1134
- /* @__PURE__ */ React.createElement(
1142
+ /* @__PURE__ */ React2.createElement(
1135
1143
  "button",
1136
1144
  {
1137
1145
  id: "PayButton",
1138
1146
  className: "btn btn-block btn-success submit-button",
1139
1147
  type: "submit"
1140
1148
  },
1141
- /* @__PURE__ */ React.createElement("span", { className: "submit-button-lock" }),
1142
- /* @__PURE__ */ React.createElement("span", { className: "align-middle" }, "Pay $", amount || 1)
1149
+ /* @__PURE__ */ React2.createElement("span", { className: "submit-button-lock" }),
1150
+ /* @__PURE__ */ React2.createElement("span", { className: "align-middle" }, "Pay $", amount || 1)
1143
1151
  )
1144
- ), /* @__PURE__ */ React.createElement("div", { className: "powerd-by-part", style: {
1152
+ ), /* @__PURE__ */ React2.createElement("div", { className: "powerd-by-part", style: {
1145
1153
  display: "flex",
1146
1154
  fontSize: "12px",
1147
1155
  textAlign: "center",
1148
1156
  alignItems: "center",
1149
1157
  justifyContent: "center",
1150
1158
  margin: "8px 0 20px 0"
1151
- } }, /* @__PURE__ */ React.createElement(
1159
+ } }, /* @__PURE__ */ React2.createElement(
1152
1160
  "svg",
1153
1161
  {
1154
1162
  xmlns: "http://www.w3.org/2000/svg",
@@ -1156,14 +1164,14 @@ body {
1156
1164
  height: 20,
1157
1165
  viewBox: "0 0 26 26"
1158
1166
  },
1159
- /* @__PURE__ */ React.createElement(
1167
+ /* @__PURE__ */ React2.createElement(
1160
1168
  "path",
1161
1169
  {
1162
1170
  fill: "currentColor",
1163
1171
  d: "M23.633 5.028a1.074 1.074 0 0 0-.777-.366c-2.295-.06-5.199-2.514-7.119-3.477C14.551.592 13.768.201 13.18.098a1.225 1.225 0 0 0-.36.001c-.588.103-1.371.494-2.556 1.087c-1.92.962-4.824 3.416-7.119 3.476a1.08 1.08 0 0 0-.778.366a1.167 1.167 0 0 0-.291.834c.493 10.023 4.088 16.226 10.396 19.831c.164.093.346.141.527.141s.363-.048.528-.141c6.308-3.605 9.902-9.808 10.396-19.831a1.161 1.161 0 0 0-.29-.834zM18.617 8.97l-5.323 7.855c-.191.282-.491.469-.788.469c-.298 0-.629-.163-.838-.372l-3.752-3.753a.656.656 0 0 1 0-.926l.927-.929a.658.658 0 0 1 .926 0l2.44 2.44l4.239-6.257a.657.657 0 0 1 .91-.173l1.085.736a.657.657 0 0 1 .174.91z"
1164
1172
  }
1165
1173
  )
1166
- ), "Secure payments powered by Fractal", /* @__PURE__ */ React.createElement(
1174
+ ), "Secure payments powered by Fractal", /* @__PURE__ */ React2.createElement(
1167
1175
  "img",
1168
1176
  {
1169
1177
  src: "https://ui.fractalpay.com/favicon.ico",