@pinerohit11/testwidget 0.1.47 → 0.1.48
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +652 -0
- package/dist/index.js +935 -906
- package/dist/index.mjs +929 -900
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -19,8 +19,7 @@ var __spreadValues = (a, b) => {
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
20
20
|
|
21
21
|
// src/app/components/RequestPayment/RequestPayment.tsx
|
22
|
-
import
|
23
|
-
import axios from "axios";
|
22
|
+
import React3, { useState, useEffect } from "react";
|
24
23
|
|
25
24
|
// src/app/components/Loader/Loader.tsx
|
26
25
|
import React2 from "react";
|
@@ -154,859 +153,30 @@ var Loader_default = Loader;
|
|
154
153
|
// src/app/components/RequestPayment/RequestPayment.tsx
|
155
154
|
import { Button, Form, Modal } from "react-bootstrap";
|
156
155
|
|
157
|
-
// src/app/components/
|
158
|
-
|
159
|
-
var RequestPaymentstyles = (props) => {
|
160
|
-
return /* @__PURE__ */ React3.createElement("style", null, `
|
161
|
-
.paymentBtn {
|
162
|
-
background-color: black;
|
163
|
-
border: none;
|
164
|
-
color: white;
|
165
|
-
padding: 15px 32px;
|
166
|
-
text-align: center;
|
167
|
-
text-decoration: none;
|
168
|
-
display: inline-block;
|
169
|
-
font-size: 16px;
|
170
|
-
margin: 4px 2px;
|
171
|
-
cursor: pointer;
|
172
|
-
border-radius: 180px;
|
173
|
-
/* width: auto; */
|
174
|
-
}
|
175
|
-
.modal-backdrop {
|
176
|
-
display: none !important;
|
177
|
-
}
|
178
|
-
/* CSS for modal */
|
179
|
-
.modal {
|
180
|
-
/* display: none; */
|
181
|
-
position: fixed;
|
182
|
-
z-index: 5555;
|
183
|
-
left: 0;
|
184
|
-
top: 0;
|
185
|
-
width: 100%;
|
186
|
-
height: 100%;
|
187
|
-
overflow: auto;
|
188
|
-
background-color: rgba(0, 0, 0, 0.4);
|
189
|
-
}
|
190
|
-
|
191
|
-
.input-container {
|
192
|
-
position: relative;
|
193
|
-
}
|
194
|
-
.error {
|
195
|
-
border: 1px solid red;
|
196
|
-
background-color: #ffe6e6; /* light red background color */
|
197
|
-
}
|
198
|
-
.form-group {
|
199
|
-
margin-bottom: 15px;
|
200
|
-
}
|
201
|
-
.input-container input {
|
202
|
-
padding-right: 25px;
|
203
|
-
}
|
204
|
-
|
205
|
-
.modal-header {
|
206
|
-
border-bottom: 0 !important;
|
207
|
-
padding-top: 0 !important;
|
208
|
-
}
|
209
|
-
|
210
|
-
/* CSS for modal content */
|
211
|
-
.modal-content {
|
212
|
-
/* height: 90vh !important; */
|
213
|
-
height: auto;
|
214
|
-
padding: 20px 5px;
|
215
|
-
/* background: #fff; */
|
216
|
-
border-radius: 20px !important;
|
217
|
-
position: relative;
|
218
|
-
width: 100%;
|
219
|
-
max-width: 100%;
|
220
|
-
margin: 30px auto;
|
221
|
-
overflow: inherit !important;
|
222
|
-
}
|
223
|
-
.input-container {
|
224
|
-
display: flex;
|
225
|
-
align-items: baseline;
|
226
|
-
}
|
227
|
-
|
228
|
-
.input-error-container {
|
229
|
-
flex: 1;
|
230
|
-
}
|
231
|
-
|
232
|
-
.paymentBtn {
|
233
|
-
margin-left: 10px;
|
234
|
-
}
|
235
|
-
|
236
|
-
.PayButton {
|
237
|
-
outline: 0 !important;
|
238
|
-
height: 46px;
|
239
|
-
font-size: 16px;
|
240
|
-
background-color: #161616 !important;
|
241
|
-
border: none;
|
242
|
-
display: block;
|
243
|
-
width: 100%;
|
244
|
-
border-radius: 180px;
|
245
|
-
margin: 10px 0;
|
246
|
-
}
|
247
|
-
|
248
|
-
#PayButton:hover {
|
249
|
-
background-color: #61c699 !important;
|
250
|
-
}
|
251
|
-
|
252
|
-
#PayButton:active {
|
253
|
-
background-color: #61c699 !important;
|
254
|
-
}
|
255
|
-
|
256
|
-
#PayButton:disabled {
|
257
|
-
background: rgb(172, 44, 170) !important;
|
258
|
-
color: #fff !important;
|
259
|
-
}
|
260
|
-
|
261
|
-
label {
|
262
|
-
color: rgba(53, 37, 77, 0.6);
|
263
|
-
margin-bottom: 2px;
|
264
|
-
text-transform: uppercase;
|
265
|
-
font-family: "IBM Plex Mono", monospace;
|
266
|
-
font-weight: 500;
|
267
|
-
font-size: 12px;
|
268
|
-
}
|
269
|
-
|
270
|
-
.input-container {
|
271
|
-
position: relative;
|
272
|
-
}
|
273
|
-
|
274
|
-
.input-container input {
|
275
|
-
padding-right: 25px;
|
276
|
-
}
|
277
|
-
|
278
|
-
#Checkout {
|
279
|
-
/* z-index: 100001; */
|
280
|
-
width: 100%;
|
281
|
-
/* height: 100%; */
|
282
|
-
/* background: 0 0 #ffffff; */
|
283
|
-
border-radius: 24px;
|
284
|
-
border: 1px solid #e0dfe2;
|
285
|
-
display: block;
|
286
|
-
}
|
287
|
-
|
288
|
-
.container {
|
289
|
-
margin-top: 10px;
|
290
|
-
}
|
291
|
-
|
292
|
-
.powered-logo {
|
293
|
-
width: 18px;
|
294
|
-
height: 18px;
|
295
|
-
/* float: right; */
|
296
|
-
padding: 2px;
|
297
|
-
background: #000000;
|
298
|
-
border-radius: 4px;
|
299
|
-
/* margin-left: 5px; */
|
300
|
-
}
|
301
|
-
|
302
|
-
.modal-content .container {
|
303
|
-
width: 100%;
|
304
|
-
}
|
305
|
-
|
306
|
-
.powerd-by-part {
|
307
|
-
display: flex;
|
308
|
-
justify-content: center;
|
309
|
-
align-items: center;
|
310
|
-
gap: 5px;
|
311
|
-
}
|
312
|
-
|
313
|
-
.errorText {
|
314
|
-
color: red;
|
315
|
-
}
|
316
|
-
|
317
|
-
.input-group {
|
318
|
-
position: relative;
|
319
|
-
}
|
320
|
-
|
321
|
-
.paynowbtn {
|
322
|
-
outline: 0 !important;
|
323
|
-
padding: 7px 25px !important;
|
324
|
-
font-size: 13px;
|
325
|
-
background-color: #161616 !important;
|
326
|
-
border: #161616 1px solid !important;
|
327
|
-
color: #fff !important;
|
328
|
-
display: inline-block !important;
|
329
|
-
border-radius: 180px !important;
|
330
|
-
}
|
331
|
-
|
332
|
-
.paynowbtn:hover {
|
333
|
-
background-color: #fff !important;
|
334
|
-
border: #161616 1px solid !important;
|
335
|
-
color: #161616 !important;
|
336
|
-
}
|
337
|
-
|
338
|
-
.ButtonGroup__root.btn-group {
|
339
|
-
margin: 10px 0 20px 0;
|
340
|
-
}
|
341
|
-
|
342
|
-
.ButtonGroup__root.btn-group button {
|
343
|
-
background: #000;
|
344
|
-
border: 0;
|
345
|
-
margin: 0 5px;
|
346
|
-
border-radius: 4px !important;
|
347
|
-
}
|
348
|
-
|
349
|
-
.ButtonGroup__root.btn-group button:hover,
|
350
|
-
.ButtonGroup__root.btn-group button:focus {
|
351
|
-
background: #333 !important;
|
352
|
-
}
|
353
|
-
|
354
|
-
.input-group button {
|
355
|
-
background: #000;
|
356
|
-
border: 0;
|
357
|
-
margin: 0 5px;
|
358
|
-
border-radius: 0 4px 4px 0 !important;
|
359
|
-
}
|
360
|
-
|
361
|
-
.input-group button:hover,
|
362
|
-
.input-group button:focus {
|
363
|
-
background: #333 !important;
|
364
|
-
}
|
365
|
-
|
366
|
-
.payment-suc {
|
367
|
-
text-align: center;
|
368
|
-
}
|
369
|
-
|
370
|
-
.payment-suc .modal-dialog {
|
371
|
-
min-width: 600px;
|
372
|
-
padding: 50px 0;
|
373
|
-
}
|
374
|
-
|
375
|
-
.payment-suc h2 {
|
376
|
-
font-size: 24px;
|
377
|
-
color: #35254d;
|
378
|
-
font-weight: 500;
|
379
|
-
padding: 15px 0;
|
380
|
-
}
|
381
|
-
|
382
|
-
.payment-suc p {
|
383
|
-
font-size: 14px;
|
384
|
-
color: #9a92a6;
|
385
|
-
font-weight: 500;
|
386
|
-
}
|
156
|
+
// src/app/components/baseurl.ts
|
157
|
+
var baseUrl = "https://staging-widget.fractalpay.com/";
|
387
158
|
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
th {
|
410
|
-
white-space: nowrap;
|
411
|
-
}
|
412
|
-
|
413
|
-
.button-group {
|
414
|
-
display: flex;
|
415
|
-
gap: 10px;
|
416
|
-
}
|
417
|
-
.rqstonClickbtn {
|
418
|
-
color: #fff;
|
419
|
-
background-color: #337ab7;
|
420
|
-
border-color: #2e6da4;
|
421
|
-
}
|
422
|
-
.loading-animation {
|
423
|
-
position: absolute;
|
424
|
-
top: 50%;
|
425
|
-
left: 50%;
|
426
|
-
transform: translate(-50%, -50%);
|
427
|
-
}
|
428
|
-
|
429
|
-
.spinner {
|
430
|
-
width: 40px;
|
431
|
-
height: 40px;
|
432
|
-
border-radius: 50%;
|
433
|
-
border: 4px solid #f3f3f3;
|
434
|
-
border-top: 4px solid black;
|
435
|
-
animation: spin 1s linear infinite;
|
436
|
-
}
|
437
|
-
|
438
|
-
@keyframes spin {
|
439
|
-
0% {
|
440
|
-
transform: rotate(0deg);
|
441
|
-
}
|
442
|
-
100% {
|
443
|
-
transform: rotate(360deg);
|
444
|
-
}
|
445
|
-
}
|
446
|
-
/* .border-container {
|
447
|
-
display: flex;
|
448
|
-
flex-direction: column;
|
449
|
-
border: 0px solid #ccc;
|
450
|
-
padding: 20px;
|
451
|
-
border-radius: 10px;
|
452
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
453
|
-
align-items: baseline;
|
454
|
-
}
|
455
|
-
.payment-container {
|
456
|
-
border: 0px solid #ccc;
|
457
|
-
padding: 20px;
|
458
|
-
border-radius: 10px;
|
459
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
460
|
-
} */
|
461
|
-
|
462
|
-
.payment-row {
|
463
|
-
display: flex;
|
464
|
-
align-items: center;
|
465
|
-
margin-bottom: 20px;
|
466
|
-
}
|
467
|
-
|
468
|
-
.payment-row label {
|
469
|
-
width: 150px;
|
470
|
-
font-weight: bold;
|
471
|
-
margin-right: 10px;
|
472
|
-
}
|
473
|
-
|
474
|
-
.payment-row input {
|
475
|
-
flex-grow: 1;
|
476
|
-
margin-right: 10px;
|
477
|
-
}
|
478
|
-
|
479
|
-
.payment-row button {
|
480
|
-
flex-grow: 1;
|
481
|
-
}
|
482
|
-
.payment-row {
|
483
|
-
display: flex;
|
484
|
-
flex-direction: column;
|
485
|
-
border-radius: 10px;
|
486
|
-
margin-top: 10px;
|
487
|
-
}
|
488
|
-
|
489
|
-
.input-wrapper {
|
490
|
-
flex: 1;
|
491
|
-
}
|
492
|
-
|
493
|
-
.button-wrapper {
|
494
|
-
margin-left: 10px;
|
495
|
-
}
|
496
|
-
.input-container {
|
497
|
-
display: flex;
|
498
|
-
flex-direction: column;
|
499
|
-
}
|
500
|
-
|
501
|
-
.export-btn1 {
|
502
|
-
background: black;
|
503
|
-
color: white;
|
504
|
-
height: 35px;
|
505
|
-
width: 68px;
|
506
|
-
border-radius: 5px;
|
507
|
-
margin-top: 20px;
|
508
|
-
}
|
509
|
-
|
510
|
-
.export-btn {
|
511
|
-
background: black;
|
512
|
-
color: white;
|
513
|
-
height: 35px;
|
514
|
-
width: 68px;
|
515
|
-
border-radius: 5px;
|
516
|
-
margin-left: 14px;
|
517
|
-
}
|
518
|
-
|
519
|
-
.payment-popup {
|
520
|
-
padding: 12px 20px;
|
521
|
-
background: #fff;
|
522
|
-
border-radius: 20px;
|
523
|
-
position: relative;
|
524
|
-
width: 100%;
|
525
|
-
margin: 0 auto;
|
526
|
-
}
|
527
|
-
|
528
|
-
// .modal-content {
|
529
|
-
// max-width: 420px;
|
530
|
-
// margin-top: 5%;
|
531
|
-
// }
|
532
|
-
@media (max-width: 460px) {
|
533
|
-
.payment-popup {
|
534
|
-
padding: 35px 25px;
|
535
|
-
width: 98%;
|
536
|
-
}
|
537
|
-
}
|
538
|
-
|
539
|
-
.close-pop {
|
540
|
-
position: absolute;
|
541
|
-
right: 8px;
|
542
|
-
top: 8px;
|
543
|
-
border: 0;
|
544
|
-
padding: 0;
|
545
|
-
background: none !important;
|
546
|
-
}
|
547
|
-
|
548
|
-
.amex {
|
549
|
-
background-image: url("../amex.svg");
|
550
|
-
}
|
551
|
-
|
552
|
-
.visa {
|
553
|
-
background-image: url("../visa.svg");
|
554
|
-
}
|
555
|
-
|
556
|
-
.mastercard {
|
557
|
-
background-image: url("../mastercard.svg");
|
558
|
-
}
|
559
|
-
|
560
|
-
.discover {
|
561
|
-
background-image: url("../discover.svg");
|
562
|
-
}
|
563
|
-
|
564
|
-
.expiry-date-group {
|
565
|
-
float: left;
|
566
|
-
width: 30%;
|
567
|
-
}
|
568
|
-
|
569
|
-
.expiry-date-group input {
|
570
|
-
width: calc(100% + 1px);
|
571
|
-
border-top-right-radius: 0;
|
572
|
-
border-bottom-right-radius: 0;
|
573
|
-
}
|
574
|
-
|
575
|
-
.expiry-date-group input:focus {
|
576
|
-
position: relative;
|
577
|
-
z-index: 10;
|
578
|
-
}
|
579
|
-
|
580
|
-
.security-code-group {
|
581
|
-
float: right;
|
582
|
-
width: 40%;
|
583
|
-
position: relative;
|
584
|
-
}
|
585
|
-
|
586
|
-
.security-code-group input {
|
587
|
-
border-top-left-radius: 0;
|
588
|
-
border-bottom-left-radius: 0;
|
589
|
-
}
|
590
|
-
|
591
|
-
.zip-code-group {
|
592
|
-
clear: both;
|
593
|
-
}
|
594
|
-
|
595
|
-
#submitButton {
|
596
|
-
outline: 0 !important;
|
597
|
-
height: 46px;
|
598
|
-
font-size: 16px;
|
599
|
-
background-color: #161616 !important;
|
600
|
-
border: none;
|
601
|
-
display: block;
|
602
|
-
width: 100%;
|
603
|
-
border-radius: 180px;
|
604
|
-
}
|
605
|
-
#submitRequestButton {
|
606
|
-
outline: 0 !important;
|
607
|
-
height: 46px;
|
608
|
-
font-size: 16px;
|
609
|
-
background-color: #161616 !important;
|
610
|
-
border: none;
|
611
|
-
display: block;
|
612
|
-
width: 100%;
|
613
|
-
border-radius: 180px;
|
614
|
-
}
|
615
|
-
#PayButton {
|
616
|
-
outline: 0 !important;
|
617
|
-
height: 46px;
|
618
|
-
font-size: 16px;
|
619
|
-
background-color: #161616 !important;
|
620
|
-
border: none;
|
621
|
-
display: block;
|
622
|
-
width: 100%;
|
623
|
-
border-radius: 180px;
|
624
|
-
}
|
625
|
-
|
626
|
-
#PayButton:hover {
|
627
|
-
background-color: #61c699 !important;
|
628
|
-
}
|
629
|
-
|
630
|
-
#PayButton:active {
|
631
|
-
background-color: #61c699 !important;
|
632
|
-
}
|
633
|
-
|
634
|
-
#PayButton:disabled {
|
635
|
-
background: rgb(172, 44, 170) !important;
|
636
|
-
color: #fff !important;
|
637
|
-
}
|
638
|
-
|
639
|
-
.form-control {
|
640
|
-
color: #35254d;
|
641
|
-
}
|
642
|
-
|
643
|
-
.container {
|
644
|
-
margin-top: 10px;
|
645
|
-
}
|
646
|
-
|
647
|
-
#Checkout {
|
648
|
-
z-index: 100001;
|
649
|
-
width: 100%;
|
650
|
-
height: 100%;
|
651
|
-
min-height: 100%;
|
652
|
-
background: 0 0 #ffffff;
|
653
|
-
border-radius: 24px;
|
654
|
-
border: 1px solid #e0dfe2;
|
655
|
-
margin-left: auto;
|
656
|
-
margin-right: auto;
|
657
|
-
display: block;
|
658
|
-
}
|
659
|
-
|
660
|
-
#Checkout .header {
|
661
|
-
display: flex;
|
662
|
-
/* Enables Flexbox */
|
663
|
-
justify-content: center;
|
664
|
-
/* Centers content horizontally */
|
665
|
-
align-items: center;
|
666
|
-
/* Centers content vertically */
|
667
|
-
text-align: center;
|
668
|
-
padding: 8px;
|
669
|
-
border-bottom: 1px solid #dedede;
|
670
|
-
margin: 0 10px 20px 10px;
|
671
|
-
}
|
672
|
-
|
673
|
-
#Checkout .header button {
|
674
|
-
border: 0;
|
675
|
-
background: none;
|
676
|
-
padding: 0;
|
677
|
-
}
|
678
|
-
|
679
|
-
#Checkout h1 {
|
680
|
-
margin: 0;
|
681
|
-
flex: 1;
|
682
|
-
padding: 10px;
|
683
|
-
/* Allows the title to grow and fill the space for centering */
|
684
|
-
font-size: 23px;
|
685
|
-
font-weight: 500;
|
686
|
-
color: #35254d;
|
687
|
-
align-items: start;
|
688
|
-
display: flex;
|
689
|
-
}
|
690
|
-
|
691
|
-
#Checkout > form {
|
692
|
-
margin: 0 25px 10px 25px;
|
693
|
-
}
|
694
|
-
|
695
|
-
label {
|
696
|
-
color: rgba(53, 37, 77, 0.6);
|
697
|
-
margin-bottom: 2px;
|
698
|
-
text-transform: uppercase;
|
699
|
-
font-family: "IBM Plex Mono", monospace;
|
700
|
-
font-weight: 500;
|
701
|
-
font-size: 12px;
|
702
|
-
}
|
703
|
-
|
704
|
-
.input-container {
|
705
|
-
position: relative;
|
706
|
-
}
|
707
|
-
|
708
|
-
.input-container input {
|
709
|
-
padding-right: 25px;
|
710
|
-
}
|
711
|
-
|
712
|
-
#zipcode {
|
713
|
-
text-transform: capitalize !important;
|
714
|
-
}
|
715
|
-
|
716
|
-
#zipcode {
|
717
|
-
width: 18px;
|
718
|
-
position: absolute;
|
719
|
-
right: 8px;
|
720
|
-
top: 9px;
|
721
|
-
}
|
722
|
-
|
723
|
-
#zipcode .zip-tip {
|
724
|
-
display: none;
|
725
|
-
background-color: rgb(0, 0, 0, 0.4);
|
726
|
-
padding: 5px 8px;
|
727
|
-
border-radius: 6px;
|
728
|
-
position: absolute;
|
729
|
-
right: 26px;
|
730
|
-
top: -9px;
|
731
|
-
font-size: 12.5px;
|
732
|
-
text-transform: capitalize !important;
|
733
|
-
color: #fff;
|
734
|
-
width: 240px;
|
735
|
-
line-height: 16px;
|
736
|
-
}
|
737
|
-
|
738
|
-
#zipcode .zip-tip:before {
|
739
|
-
width: 0;
|
740
|
-
height: 0;
|
741
|
-
border-top: 7px solid transparent;
|
742
|
-
border-bottom: 7px solid transparent;
|
743
|
-
border-left: 7px solid #000;
|
744
|
-
opacity: 0.4;
|
745
|
-
position: absolute;
|
746
|
-
right: -7px;
|
747
|
-
top: 50%;
|
748
|
-
transform: translateY(-50%);
|
749
|
-
content: "";
|
750
|
-
}
|
751
|
-
|
752
|
-
#zipcode:hover .zip-tip {
|
753
|
-
display: block;
|
754
|
-
}
|
755
|
-
|
756
|
-
.input-container > i,
|
757
|
-
a[role="button"] {
|
758
|
-
color: #d3d3d3;
|
759
|
-
width: 25px;
|
760
|
-
height: 30px;
|
761
|
-
line-height: 30px;
|
762
|
-
font-size: 16px;
|
763
|
-
position: absolute;
|
764
|
-
top: 5px;
|
765
|
-
right: 6px;
|
766
|
-
cursor: pointer;
|
767
|
-
text-align: center;
|
768
|
-
}
|
769
|
-
|
770
|
-
.input-container > i:hover,
|
771
|
-
a[role="button"]:hover {
|
772
|
-
color: #777;
|
773
|
-
}
|
774
|
-
|
775
|
-
.amount-placeholder {
|
776
|
-
white-space: nowrap;
|
777
|
-
font-size: 44px;
|
778
|
-
/* height: 35px; */
|
779
|
-
font-weight: 600;
|
780
|
-
line-height: 40px;
|
781
|
-
}
|
782
|
-
|
783
|
-
.amount-placeholder > button {
|
784
|
-
float: right;
|
785
|
-
width: 60px;
|
786
|
-
}
|
787
|
-
|
788
|
-
.amount-placeholder > span {
|
789
|
-
line-height: 34px;
|
790
|
-
}
|
791
|
-
|
792
|
-
.top-amnt {
|
793
|
-
display: flex;
|
794
|
-
margin-bottom: 10px;
|
795
|
-
align-items: center;
|
796
|
-
justify-content: space-between;
|
797
|
-
}
|
798
|
-
|
799
|
-
.amtleft {
|
800
|
-
text-align: center;
|
801
|
-
}
|
802
|
-
|
803
|
-
.amtleft span {
|
804
|
-
color: #35254d;
|
805
|
-
margin: 0 -5px;
|
806
|
-
}
|
807
|
-
|
808
|
-
.card-row {
|
809
|
-
text-align: right;
|
810
|
-
margin: 22px 0 0 0;
|
811
|
-
max-width: 85px;
|
812
|
-
line-height: 20px;
|
813
|
-
}
|
814
|
-
|
815
|
-
.yer {
|
816
|
-
border-radius: 0;
|
817
|
-
}
|
818
|
-
|
819
|
-
.card-row span {
|
820
|
-
width: 33px;
|
821
|
-
height: 21px;
|
822
|
-
margin: 0 2px;
|
823
|
-
background-repeat: no-repeat;
|
824
|
-
display: inline-block;
|
825
|
-
background-size: contain;
|
826
|
-
}
|
827
|
-
|
828
|
-
.card-image {
|
829
|
-
background-repeat: no-repeat;
|
830
|
-
padding-right: 50px;
|
831
|
-
background-position: right 2px center;
|
832
|
-
background-size: auto 90%;
|
833
|
-
}
|
834
|
-
|
835
|
-
/* .cvc-preview-container {
|
836
|
-
overflow: hidden;
|
837
|
-
} */
|
838
|
-
|
839
|
-
.cvc-preview-container {
|
840
|
-
/* overflow: hidden; */
|
841
|
-
position: absolute;
|
842
|
-
z-index: 9999;
|
843
|
-
right: -71px;
|
844
|
-
top: -54px;
|
845
|
-
width: 165px;
|
846
|
-
border-radius: 5px;
|
847
|
-
padding: 5px;
|
848
|
-
background-color: rgb(0, 0, 0, 0.3);
|
849
|
-
display: none;
|
850
|
-
}
|
851
|
-
|
852
|
-
.cvc-preview-container:before {
|
853
|
-
position: absolute;
|
854
|
-
left: 50%;
|
855
|
-
transform: translate(-50%);
|
856
|
-
bottom: -5px;
|
857
|
-
width: 0;
|
858
|
-
height: 0;
|
859
|
-
border-left: 5px solid transparent;
|
860
|
-
border-right: 5px solid transparent;
|
861
|
-
border-top: 5px solid #000;
|
862
|
-
opacity: 0.3;
|
863
|
-
content: "";
|
864
|
-
}
|
865
|
-
|
866
|
-
.security-code-group #cvc:hover .cvc-preview-container {
|
867
|
-
display: block;
|
868
|
-
}
|
869
|
-
|
870
|
-
.cvc-preview-container.two-card div {
|
871
|
-
width: 50%;
|
872
|
-
height: 45px;
|
873
|
-
}
|
874
|
-
|
875
|
-
.cvc-preview-container.two-card div.amex-cvc-preview {
|
876
|
-
float: right;
|
877
|
-
}
|
878
|
-
|
879
|
-
.cvc-preview-container.two-card div.visa-mc-dis-cvc-preview {
|
880
|
-
float: left;
|
881
|
-
}
|
882
|
-
|
883
|
-
/* .cvc-preview-container div {
|
884
|
-
height: 160px;
|
885
|
-
} */
|
886
|
-
|
887
|
-
.amex-cvc-preview {
|
888
|
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACOCAYAAAAlzXSMAAAAAXNSR0IArs4c6QAAFg9JREFUeNrtnfeTFcXaxw+ZBZacM0oGySBIXECiSBQQAQFhJaclo+SgAsuS2QVBlrCLSlQBAVGCCpK5XiW4vFVvvXX/gPvDe9+qt+r2Pd9eeuiZ6TkBzuI563erPgVn5jk93T397X76mTndPl+Qv0+v3I/PuHW/MiEkMkBTvnD/3vr883wZdx6NyriX9XXmvax/Zt57LAghkSbrn9AYtAbNBRTlwTuP22Tce/wbK42QFwc0B+0ZRXno9h8D/Ab/YkUR8qeI81/QoE2U++8+apF59/H/soII+RPxaxBaVLrMk3k36yYrhpBoEGfWTWjSl3H30ZusEEKiyK31a9IvzMfprAxCokmYj9N9B289/Acrg5DoAZr0Zdz54/9ZGYRE0Yjp16SPFUFI9EFhEkJhEkIoTEIoTEIIhUkIhUkIoTAJoTBZCYRQmIQQCpMQCpMQQmESQmESQihMQihMEsFfn2eJTad+ENvP/8z6iEIO3flDpHx9QWw5c1kcuv0o4vYxJcx1R06LPHnzSuJLlhLp13832jVt38myA/O27radT0pJtZ1v1qGLda5VQnfbOROVatay7Nt072W0KRRXRJSuUFG07NJNLE//wnb9es1bSZvqdeq78p588rxo0q6D/L7P55PEFYsXvUeOFXt/vudZN598eSqkumnbo4+0yV+goPyO83zF6jXl+b6jxwe8F60SXg9eTzWy62lx2n6RN18+eaxByzay09HTavJaR+s7i9PSjfWK7xcoVEiWrU6T5mL6J5uN5fK6Dy06dxPLPjts+86rr/cOWobyVavZvoOy4PoFCxe27g/y1q5nX5HyzfeueoJ93aYtXPbIL4SaK4SJxqkKByav3mC0e6VtB5td73fG2M73HD7adh4NQ53DDdTPmahQrYatgQazhwhWZxy3voMbheNVX65jy9f0jzfZbqATNJJdl26a68ZfRt12yhpz3aAxKhvkwykSXAPn+owaF/BeoMMJ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fjjmX+L13w8yApJfUfhJAIAU35tQWNQWsmDf4HqpjHZRJqxUwAAAAASUVORK5CYII=")
|
889
|
-
center center/contain no-repeat;
|
890
|
-
}
|
891
|
-
|
892
|
-
.visa-mc-dis-cvc-preview {
|
893
|
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACOCAMAAAASE4S+AAAAAXNSR0IArs4c6QAAAadQTFRFAAAAzbFj+NyAyLNg+N2DzbRk+96CzrVj+96AzrNj+92By7Rl+92AzbRl/eCDzrRl/t+DzrVl/t+CzbVm/t+C3MFt3MFv/N2B/N6CzrRm/uCDzrRm/uCC7M93/N6CAAAAAQEBAgIBBAQCBQUDBwcECQgFDAsGDg0HEA4IEQ8JFRMLFxUMIBwQIR0RJSETKyYWLikYLyoYMCsZMSsZNC4bNzEcOTIdQDkhQTkhQzsiRT0jRj4kSkEmTEMnWE4tWU8uWk8uXFEvXVIwXlMwX1QxaV02bWA4bmE5cWQ6eGo+eWs+fW5Afm9Bi3pHjHtIkH9KmIZOmYdPnIlQnYpRo5BUppJVqJRWqpZXq5dYrJdYrZhZuaNfvaZhvqdiwKljwapjxK1lybFnyrJoy7NozrVm1Ltq171u2L5v2b9s2b9t2sBt3cNy3zEx3zIx38Rz4MVz4cZ04kI552NI6GVJ6Mx36s5368957dF674xb79J78NN78dV78tV789Z99Nd99dh+9rZv9th+9tl+99l/+duA+sx5+sx6+t2B+92B/N6B/d+C/uCD////AikOogAAAB90Uk5TACQkJSU9PT4+Q0NERJqav7/AwNjY4uLi4u7u8/P6+u6knPAAAAJkSURBVHja7d3pTxNBGMfxQbwAW06Pcj0tntQT8b7v+0JFxaserQcuKlQUFbFUaqvjH+1uG0lMfEETie4z39+bJ/tik/1kjt3MbDLGBFkWbeu0CtPZFq03v7KwxSpO04KKcmm7VZ32xeW2VK70nUF7tlj1afJnH+tA6k3UBWbUrHKBudJ0u8DsNtaJwIQJEyZMmDBhwoQJEyZMmPPCFCcCEyZMmDBhwoQJEyZMmDBhwoQJEyZMmDBhwoQJ010m+5swYcKECRMmTJgwYcKECRMmTJgwYcIMFfPHP8/vz5PLjnpzzmg2F07mxIhXVUYmwsjMVan0nbkQMrOeN1aY+zAsjHleNoRMf1x+rWa6KfjjM4RMvxdWN63+4QaYMGHC/EvM6b0HgpI6tvtoyq9vz+4/clcf89sJ2eiXIZGEyJD9sEl6RAa1MVPbpczsk8vT52SHHZCDUxelXxtzW/x4wPx+6cxn+0A2208PX9pB2aONef7xk3JrBjkth4Jysnf9fX1T0Czzmqx+6pcvcel/pJd5RRLXg1p6d0vWvdHKHJCeG2XljLVb5aZS5r2E3A6uTiUu2Km1klLK3CXxZDK5xd6RNYd3St+MTuaryr94G6y92iuy77X+b9rSi/d8usOEyZIXC5gsR7O5MN9bRexvwoQJEyZMmDBhwoQJEyZMmDBhwoT5vzNLLihLJu8CM2+6XGB2meUuMFeYyEf9ysmIqcsUtSuLmQZjGp8pdxafNxtjamIZ1f12MhOrDQ6uXhRLD4/nVb4/S/nx4XRsSeUY8prGtOI0186eKl8Xae3QSOxojTSUgT8BEvkXyqDHONgAAAAASUVORK5CYII=")
|
894
|
-
center center/contain no-repeat;
|
895
|
-
}
|
896
|
-
|
897
|
-
.submit-button-lock {
|
898
|
-
height: 15px;
|
899
|
-
margin-top: -2px;
|
900
|
-
margin-right: 7px;
|
901
|
-
vertical-align: middle;
|
902
|
-
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAgCAMAAAA7dZg3AAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7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AAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAAgYMEyIzOUpTVFViY3N2gJmcnaipq7fX3ebx+Pn8eTEuDQAAAI9JREFUKM/N0UkOglAQRdFHDyK90n64+9+lAyQgookjuaNKTlJJpaQlO2n6sW8SW/uCjrku2EloWDLhi3gDa4O3pTtA5Tt+BXDbiDsBmSQpAyZ3pRhoLUmS1QLxSilQPOcCSFfKgfxgPgfZ9ch7Y21LCcdd5wVH5SckEzkXc0ylpPJnMpETmX/d9eUpH1/5AKrsQVrz7YPBAAAAAElFTkSuQmCC")
|
903
|
-
center center/contain no-repeat;
|
904
|
-
width: 14px;
|
905
|
-
display: inline-block;
|
906
|
-
}
|
907
|
-
|
908
|
-
.align-middle {
|
909
|
-
vertical-align: middle;
|
910
|
-
}
|
911
|
-
|
912
|
-
input {
|
913
|
-
box-shadow: none !important;
|
914
|
-
}
|
915
|
-
|
916
|
-
.powerd-by-part {
|
917
|
-
display: flex;
|
918
|
-
font-size: 12px;
|
919
|
-
text-align: center;
|
920
|
-
align-items: center;
|
921
|
-
justify-content: center;
|
922
|
-
margin: 5px 0 20px 0;
|
923
|
-
}
|
924
|
-
|
925
|
-
.powered-logo {
|
926
|
-
width: 18px;
|
927
|
-
height: auto;
|
928
|
-
float: right;
|
929
|
-
padding: 2px;
|
930
|
-
background: #000000;
|
931
|
-
border-radius: 4px;
|
932
|
-
margin-left: 5px;
|
933
|
-
}
|
934
|
-
|
935
|
-
.comp-name {
|
936
|
-
display: block;
|
937
|
-
margin-bottom: 8px;
|
938
|
-
}
|
939
|
-
|
940
|
-
.client-logo {
|
941
|
-
max-width: 140px;
|
942
|
-
display: block;
|
943
|
-
margin: auto;
|
944
|
-
padding: 5px;
|
945
|
-
}
|
946
|
-
|
947
|
-
#qrCode {
|
948
|
-
text-align: center;
|
949
|
-
}
|
950
|
-
|
951
|
-
#qrIcon {
|
952
|
-
cursor: pointer;
|
953
|
-
border: 1px solid rgb(252, 252, 252);
|
954
|
-
padding: 10px;
|
955
|
-
border-radius: 5px;
|
956
|
-
background: #ffffff;
|
957
|
-
}
|
958
|
-
|
959
|
-
#target {
|
960
|
-
display: none;
|
961
|
-
text-align: center;
|
962
|
-
transition: all 5s;
|
963
|
-
padding: 5px;
|
964
|
-
transition: max-height 0.5s, overflow 0.5s 0.5s;
|
965
|
-
}
|
966
|
-
|
967
|
-
/* input:focus {
|
968
|
-
border-color: #acc6db !important;
|
969
|
-
background-color: #acc6db !important;
|
970
|
-
} */
|
971
|
-
|
972
|
-
input[type="number"]::-webkit-outer-spin-button,
|
973
|
-
input[type="number"]::-webkit-inner-spin-button {
|
974
|
-
-webkit-appearance: none;
|
975
|
-
margin: 0;
|
976
|
-
}
|
977
|
-
|
978
|
-
input[type="number"] {
|
979
|
-
-moz-appearance: textfield;
|
980
|
-
}
|
981
|
-
|
982
|
-
`);
|
983
|
-
};
|
984
|
-
var RequestPaymentstyles_default = RequestPaymentstyles;
|
985
|
-
|
986
|
-
// src/app/components/baseurl.ts
|
987
|
-
var baseUrl = "https://staging-widget.fractalpay.com/";
|
988
|
-
|
989
|
-
// src/app/components/Errortext.ts
|
990
|
-
var ErrorText = {
|
991
|
-
namerequired: "Full Name is required",
|
992
|
-
amountrequired: "Amount is required",
|
993
|
-
amountpositive: "Amount should be positive",
|
994
|
-
amountzero: "Amount should not be zero",
|
995
|
-
amountenter: "Please enter an amount",
|
996
|
-
amountvalid: "Please enter a valid amount",
|
997
|
-
phoneoremailrequired: "Phone or Email is required",
|
998
|
-
invalidemail: "Invalid email",
|
999
|
-
invalidemailformat: "Invalid email format",
|
1000
|
-
onlylettersallowed: "Only letters are allowed",
|
1001
|
-
phonenumberlength: "Phone number should be 10 digits",
|
1002
|
-
phonenumberrequired: "Please enter a phone number",
|
1003
|
-
phonenumbervalid: "Please enter a valid 10-digit phone number",
|
1004
|
-
orderidenter: "Please enter an order ID",
|
1005
|
-
networkresponseerror: "Network response was not ok",
|
1006
|
-
anerroroccured: "An error occurred. Please try again.",
|
1007
|
-
montherror: "Please write month only 1 to 12",
|
1008
|
-
fieldrequired: "This field is required"
|
1009
|
-
};
|
159
|
+
// src/app/components/Errortext.ts
|
160
|
+
var ErrorText = {
|
161
|
+
namerequired: "Full Name is required",
|
162
|
+
amountrequired: "Amount is required",
|
163
|
+
amountpositive: "Amount should be positive",
|
164
|
+
amountzero: "Amount should not be zero",
|
165
|
+
amountenter: "Please enter an amount",
|
166
|
+
amountvalid: "Please enter a valid amount",
|
167
|
+
phoneoremailrequired: "Phone or Email is required",
|
168
|
+
invalidemail: "Invalid email",
|
169
|
+
invalidemailformat: "Invalid email format",
|
170
|
+
onlylettersallowed: "Only letters are allowed",
|
171
|
+
phonenumberlength: "Phone number should be 10 digits",
|
172
|
+
phonenumberrequired: "Please enter a phone number",
|
173
|
+
phonenumbervalid: "Please enter a valid 10-digit phone number",
|
174
|
+
orderidenter: "Please enter an order ID",
|
175
|
+
networkresponseerror: "Network response was not ok",
|
176
|
+
anerroroccured: "An error occurred. Please try again.",
|
177
|
+
montherror: "Please write month only 1 to 12",
|
178
|
+
fieldrequired: "This field is required"
|
179
|
+
};
|
1010
180
|
|
1011
181
|
// src/app/components/RequestPayment/RequestPayment.tsx
|
1012
182
|
function RequestPayment(props) {
|
@@ -1075,12 +245,23 @@ function RequestPayment(props) {
|
|
1075
245
|
name: requestDetails.name,
|
1076
246
|
email: requestDetails.email
|
1077
247
|
};
|
1078
|
-
let response = await
|
1079
|
-
|
248
|
+
let response = await fetch(`${baseUrl}create-widget-order`, {
|
249
|
+
method: "POST",
|
250
|
+
headers: {
|
251
|
+
"Content-Type": "application/json"
|
252
|
+
// Setting the header for JSON content
|
253
|
+
},
|
254
|
+
body: JSON.stringify(formData)
|
255
|
+
// Sending the formData as JSON
|
256
|
+
});
|
257
|
+
if (response.ok) {
|
258
|
+
const data = await response.json();
|
1080
259
|
setShowConfirmationModal(true);
|
1081
260
|
setShow(false);
|
1082
261
|
emptyFields();
|
1083
|
-
handleSubmit(
|
262
|
+
handleSubmit(data);
|
263
|
+
} else {
|
264
|
+
console.log(`HTTP error! Status: ${response.status}`);
|
1084
265
|
}
|
1085
266
|
console.log(response == null ? void 0 : response.data);
|
1086
267
|
setLoading(false);
|
@@ -1163,7 +344,7 @@ function RequestPayment(props) {
|
|
1163
344
|
e.preventDefault();
|
1164
345
|
}
|
1165
346
|
};
|
1166
|
-
return /* @__PURE__ */
|
347
|
+
return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(Loader_default, { loading }), /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("button", { className: "paymentBtn", onClick: handleShow }, "Request Payment"), /* @__PURE__ */ React3.createElement(
|
1167
348
|
Modal,
|
1168
349
|
{
|
1169
350
|
show,
|
@@ -1172,8 +353,8 @@ function RequestPayment(props) {
|
|
1172
353
|
backdrop: "static",
|
1173
354
|
keyboard: false
|
1174
355
|
},
|
1175
|
-
/* @__PURE__ */
|
1176
|
-
/* @__PURE__ */
|
356
|
+
/* @__PURE__ */ React3.createElement(Modal.Header, { closeButton: true }, /* @__PURE__ */ React3.createElement(Modal.Title, { className: "testcolor" }, "Request Payment")),
|
357
|
+
/* @__PURE__ */ React3.createElement(Modal.Body, { id: "Checkout" }, /* @__PURE__ */ React3.createElement(Form, null, /* @__PURE__ */ React3.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React3.createElement("label", { htmlFor: "exampleFormControlInput2", className: "form-label" }, "FULL NAME *"), /* @__PURE__ */ React3.createElement(
|
1177
358
|
"input",
|
1178
359
|
{
|
1179
360
|
className: "form-control",
|
@@ -1182,7 +363,7 @@ function RequestPayment(props) {
|
|
1182
363
|
"data-token": "name",
|
1183
364
|
onChange: handleChange
|
1184
365
|
}
|
1185
|
-
), errors.name && /* @__PURE__ */
|
366
|
+
), errors.name && /* @__PURE__ */ React3.createElement("small", { className: "text-danger" }, errors.name)), /* @__PURE__ */ React3.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React3.createElement("label", { htmlFor: "requestPhoneNumber", className: "form-label" }, "Phone Number"), /* @__PURE__ */ React3.createElement(
|
1186
367
|
"input",
|
1187
368
|
{
|
1188
369
|
maxLength: 10,
|
@@ -1194,7 +375,7 @@ function RequestPayment(props) {
|
|
1194
375
|
type: "text",
|
1195
376
|
"data-token": "phone_number"
|
1196
377
|
}
|
1197
|
-
), errors.phone_number && /* @__PURE__ */
|
378
|
+
), errors.phone_number && /* @__PURE__ */ React3.createElement("small", { className: "text-danger" }, errors.phone_number)), /* @__PURE__ */ React3.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React3.createElement("label", { htmlFor: "exampleFormControlInput2", className: "form-label" }, "EMAIL"), /* @__PURE__ */ React3.createElement(
|
1198
379
|
"input",
|
1199
380
|
{
|
1200
381
|
className: "form-control",
|
@@ -1203,7 +384,7 @@ function RequestPayment(props) {
|
|
1203
384
|
onChange: handleChange,
|
1204
385
|
"data-token": "email"
|
1205
386
|
}
|
1206
|
-
), errors.email && /* @__PURE__ */
|
387
|
+
), errors.email && /* @__PURE__ */ React3.createElement("small", { className: "text-danger" }, errors.email)), /* @__PURE__ */ React3.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React3.createElement("label", { htmlFor: "exampleFormControlInput2", className: "form-label" }, "AMOUNT *"), /* @__PURE__ */ React3.createElement("div", { className: "input-group" }, /* @__PURE__ */ React3.createElement("span", { className: "input-group-text" }, "$"), /* @__PURE__ */ React3.createElement(
|
1207
388
|
"input",
|
1208
389
|
{
|
1209
390
|
"data-token": "amount",
|
@@ -1219,7 +400,7 @@ function RequestPayment(props) {
|
|
1219
400
|
e2.preventDefault();
|
1220
401
|
}, { passive: false })
|
1221
402
|
}
|
1222
|
-
)), errors.amount && /* @__PURE__ */
|
403
|
+
)), errors.amount && /* @__PURE__ */ React3.createElement("small", { className: "text-danger" }, errors.amount)), /* @__PURE__ */ React3.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React3.createElement("label", { htmlFor: "exampleFormControlInput2", className: "form-label" }, "ORDER ID"), /* @__PURE__ */ React3.createElement(
|
1223
404
|
"input",
|
1224
405
|
{
|
1225
406
|
className: "form-control",
|
@@ -1228,7 +409,7 @@ function RequestPayment(props) {
|
|
1228
409
|
onChange: handleChange,
|
1229
410
|
"data-token": "order_id"
|
1230
411
|
}
|
1231
|
-
), errors.order_id && /* @__PURE__ */
|
412
|
+
), errors.order_id && /* @__PURE__ */ React3.createElement("small", { className: "text-danger" }, errors.order_id)), /* @__PURE__ */ React3.createElement(
|
1232
413
|
Button,
|
1233
414
|
{
|
1234
415
|
type: "button",
|
@@ -1237,7 +418,7 @@ function RequestPayment(props) {
|
|
1237
418
|
disabled: loading
|
1238
419
|
},
|
1239
420
|
loading ? "Loading..." : "Send Request"
|
1240
|
-
)), /* @__PURE__ */
|
421
|
+
)), /* @__PURE__ */ React3.createElement("div", { className: "powerd-by-part" }, /* @__PURE__ */ React3.createElement(
|
1241
422
|
"svg",
|
1242
423
|
{
|
1243
424
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -1245,14 +426,14 @@ function RequestPayment(props) {
|
|
1245
426
|
height: "20",
|
1246
427
|
viewBox: "0 0 26 26"
|
1247
428
|
},
|
1248
|
-
/* @__PURE__ */
|
429
|
+
/* @__PURE__ */ React3.createElement(
|
1249
430
|
"path",
|
1250
431
|
{
|
1251
432
|
fill: "currentColor",
|
1252
433
|
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"
|
1253
434
|
}
|
1254
435
|
)
|
1255
|
-
), "Secure payments powered by Fractal", /* @__PURE__ */
|
436
|
+
), "Secure payments powered by Fractal", /* @__PURE__ */ React3.createElement(
|
1256
437
|
"img",
|
1257
438
|
{
|
1258
439
|
src: "https://ui.fractalpay.com/favicon.ico",
|
@@ -1260,15 +441,15 @@ function RequestPayment(props) {
|
|
1260
441
|
className: "powered-logo"
|
1261
442
|
}
|
1262
443
|
)))
|
1263
|
-
), /* @__PURE__ */
|
444
|
+
), /* @__PURE__ */ React3.createElement(
|
1264
445
|
Modal,
|
1265
446
|
{
|
1266
447
|
className: "payment-suc",
|
1267
448
|
show: showConfirmationModal,
|
1268
449
|
onHide: handleCloseConfirmationModal
|
1269
450
|
},
|
1270
|
-
/* @__PURE__ */
|
1271
|
-
/* @__PURE__ */
|
451
|
+
/* @__PURE__ */ React3.createElement(Modal.Header, { closeButton: true }),
|
452
|
+
/* @__PURE__ */ React3.createElement(Modal.Body, null, /* @__PURE__ */ React3.createElement(
|
1272
453
|
"svg",
|
1273
454
|
{
|
1274
455
|
width: "60",
|
@@ -1277,7 +458,7 @@ function RequestPayment(props) {
|
|
1277
458
|
fill: "none",
|
1278
459
|
xmlns: "http://www.w3.org/2000/svg"
|
1279
460
|
},
|
1280
|
-
/* @__PURE__ */
|
461
|
+
/* @__PURE__ */ React3.createElement(
|
1281
462
|
"rect",
|
1282
463
|
{
|
1283
464
|
x: "0.5",
|
@@ -1288,14 +469,14 @@ function RequestPayment(props) {
|
|
1288
469
|
stroke: "#31B379"
|
1289
470
|
}
|
1290
471
|
),
|
1291
|
-
/* @__PURE__ */
|
472
|
+
/* @__PURE__ */ React3.createElement("g", { clipPath: "url(#clip0_2659_5018)" }, /* @__PURE__ */ React3.createElement(
|
1292
473
|
"path",
|
1293
474
|
{
|
1294
475
|
d: "M41.1778 22.248C40.7483 21.8184 40.0518 21.8184 39.6222 22.248L26.4435 35.4268L21.3778 30.3611C20.9483 29.9315 20.2518 29.9316 19.8222 30.3611C19.3926 30.7907 19.3926 31.4871 19.8222 31.9167L25.6657 37.7601C26.0951 38.1897 26.7921 38.1894 27.2213 37.7601L41.1778 23.8036C41.6074 23.3741 41.6074 22.6776 41.1778 22.248Z",
|
1295
476
|
fill: "#31B379"
|
1296
477
|
}
|
1297
478
|
)),
|
1298
|
-
/* @__PURE__ */
|
479
|
+
/* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("clipPath", { id: "clip0_2659_5018" }, /* @__PURE__ */ React3.createElement(
|
1299
480
|
"rect",
|
1300
481
|
{
|
1301
482
|
width: "22",
|
@@ -1304,15 +485,846 @@ function RequestPayment(props) {
|
|
1304
485
|
transform: "translate(19.5 19.0039)"
|
1305
486
|
}
|
1306
487
|
)))
|
1307
|
-
), /* @__PURE__ */
|
488
|
+
), /* @__PURE__ */ React3.createElement("h2", null, "Payment link has been ", /* @__PURE__ */ React3.createElement("br", null), " sent successfully"))
|
1308
489
|
)));
|
1309
490
|
}
|
1310
491
|
|
1311
492
|
// src/app/components/RequestPayment/RequestPaymentAllInput.tsx
|
1312
|
-
import React5, { useState as useState2 } from "react";
|
1313
|
-
import { Modal as Modal2 } from "react-bootstrap";
|
1314
|
-
import { toast, ToastContainer } from "react-toastify";
|
1315
|
-
import "react-toastify/dist/ReactToastify.css";
|
493
|
+
import React5, { useState as useState2 } from "react";
|
494
|
+
import { Modal as Modal2 } from "react-bootstrap";
|
495
|
+
import { toast, ToastContainer } from "react-toastify";
|
496
|
+
import "react-toastify/dist/ReactToastify.css";
|
497
|
+
|
498
|
+
// src/app/components/RequestPayment/RequestPaymentstyles.tsx
|
499
|
+
import React4 from "react";
|
500
|
+
var RequestPaymentstyles = (props) => {
|
501
|
+
return /* @__PURE__ */ React4.createElement("style", null, `
|
502
|
+
.paymentBtn {
|
503
|
+
background-color: black;
|
504
|
+
border: none;
|
505
|
+
color: white;
|
506
|
+
padding: 15px 32px;
|
507
|
+
text-align: center;
|
508
|
+
text-decoration: none;
|
509
|
+
display: inline-block;
|
510
|
+
font-size: 16px;
|
511
|
+
margin: 4px 2px;
|
512
|
+
cursor: pointer;
|
513
|
+
border-radius: 180px;
|
514
|
+
/* width: auto; */
|
515
|
+
}
|
516
|
+
.modal-backdrop {
|
517
|
+
display: none !important;
|
518
|
+
}
|
519
|
+
/* CSS for modal */
|
520
|
+
.modal {
|
521
|
+
/* display: none; */
|
522
|
+
position: fixed;
|
523
|
+
z-index: 5555;
|
524
|
+
left: 0;
|
525
|
+
top: 0;
|
526
|
+
width: 100%;
|
527
|
+
height: 100%;
|
528
|
+
overflow: auto;
|
529
|
+
background-color: rgba(0, 0, 0, 0.4);
|
530
|
+
}
|
531
|
+
|
532
|
+
.input-container {
|
533
|
+
position: relative;
|
534
|
+
}
|
535
|
+
.error {
|
536
|
+
border: 1px solid red;
|
537
|
+
background-color: #ffe6e6; /* light red background color */
|
538
|
+
}
|
539
|
+
.form-group {
|
540
|
+
margin-bottom: 15px;
|
541
|
+
}
|
542
|
+
.input-container input {
|
543
|
+
padding-right: 25px;
|
544
|
+
}
|
545
|
+
|
546
|
+
.modal-header {
|
547
|
+
border-bottom: 0 !important;
|
548
|
+
padding-top: 0 !important;
|
549
|
+
}
|
550
|
+
|
551
|
+
/* CSS for modal content */
|
552
|
+
.modal-content {
|
553
|
+
/* height: 90vh !important; */
|
554
|
+
height: auto;
|
555
|
+
padding: 20px 5px;
|
556
|
+
/* background: #fff; */
|
557
|
+
border-radius: 20px !important;
|
558
|
+
position: relative;
|
559
|
+
width: 100%;
|
560
|
+
max-width: 100%;
|
561
|
+
margin: 30px auto;
|
562
|
+
overflow: inherit !important;
|
563
|
+
}
|
564
|
+
.input-container {
|
565
|
+
display: flex;
|
566
|
+
align-items: baseline;
|
567
|
+
}
|
568
|
+
|
569
|
+
.input-error-container {
|
570
|
+
flex: 1;
|
571
|
+
}
|
572
|
+
|
573
|
+
.paymentBtn {
|
574
|
+
margin-left: 10px;
|
575
|
+
}
|
576
|
+
|
577
|
+
.PayButton {
|
578
|
+
outline: 0 !important;
|
579
|
+
height: 46px;
|
580
|
+
font-size: 16px;
|
581
|
+
background-color: #161616 !important;
|
582
|
+
border: none;
|
583
|
+
display: block;
|
584
|
+
width: 100%;
|
585
|
+
border-radius: 180px;
|
586
|
+
margin: 10px 0;
|
587
|
+
}
|
588
|
+
|
589
|
+
#PayButton:hover {
|
590
|
+
background-color: #61c699 !important;
|
591
|
+
}
|
592
|
+
|
593
|
+
#PayButton:active {
|
594
|
+
background-color: #61c699 !important;
|
595
|
+
}
|
596
|
+
|
597
|
+
#PayButton:disabled {
|
598
|
+
background: rgb(172, 44, 170) !important;
|
599
|
+
color: #fff !important;
|
600
|
+
}
|
601
|
+
|
602
|
+
label {
|
603
|
+
color: rgba(53, 37, 77, 0.6);
|
604
|
+
margin-bottom: 2px;
|
605
|
+
text-transform: uppercase;
|
606
|
+
font-family: "IBM Plex Mono", monospace;
|
607
|
+
font-weight: 500;
|
608
|
+
font-size: 12px;
|
609
|
+
}
|
610
|
+
|
611
|
+
.input-container {
|
612
|
+
position: relative;
|
613
|
+
}
|
614
|
+
|
615
|
+
.input-container input {
|
616
|
+
padding-right: 25px;
|
617
|
+
}
|
618
|
+
|
619
|
+
#Checkout {
|
620
|
+
/* z-index: 100001; */
|
621
|
+
width: 100%;
|
622
|
+
/* height: 100%; */
|
623
|
+
/* background: 0 0 #ffffff; */
|
624
|
+
border-radius: 24px;
|
625
|
+
border: 1px solid #e0dfe2;
|
626
|
+
display: block;
|
627
|
+
}
|
628
|
+
|
629
|
+
.container {
|
630
|
+
margin-top: 10px;
|
631
|
+
}
|
632
|
+
|
633
|
+
.powered-logo {
|
634
|
+
width: 18px;
|
635
|
+
height: 18px;
|
636
|
+
/* float: right; */
|
637
|
+
padding: 2px;
|
638
|
+
background: #000000;
|
639
|
+
border-radius: 4px;
|
640
|
+
/* margin-left: 5px; */
|
641
|
+
}
|
642
|
+
|
643
|
+
.modal-content .container {
|
644
|
+
width: 100%;
|
645
|
+
}
|
646
|
+
|
647
|
+
.powerd-by-part {
|
648
|
+
display: flex;
|
649
|
+
justify-content: center;
|
650
|
+
align-items: center;
|
651
|
+
gap: 5px;
|
652
|
+
}
|
653
|
+
|
654
|
+
.errorText {
|
655
|
+
color: red;
|
656
|
+
}
|
657
|
+
|
658
|
+
.input-group {
|
659
|
+
position: relative;
|
660
|
+
}
|
661
|
+
|
662
|
+
.paynowbtn {
|
663
|
+
outline: 0 !important;
|
664
|
+
padding: 7px 25px !important;
|
665
|
+
font-size: 13px;
|
666
|
+
background-color: #161616 !important;
|
667
|
+
border: #161616 1px solid !important;
|
668
|
+
color: #fff !important;
|
669
|
+
display: inline-block !important;
|
670
|
+
border-radius: 180px !important;
|
671
|
+
}
|
672
|
+
|
673
|
+
.paynowbtn:hover {
|
674
|
+
background-color: #fff !important;
|
675
|
+
border: #161616 1px solid !important;
|
676
|
+
color: #161616 !important;
|
677
|
+
}
|
678
|
+
|
679
|
+
.ButtonGroup__root.btn-group {
|
680
|
+
margin: 10px 0 20px 0;
|
681
|
+
}
|
682
|
+
|
683
|
+
.ButtonGroup__root.btn-group button {
|
684
|
+
background: #000;
|
685
|
+
border: 0;
|
686
|
+
margin: 0 5px;
|
687
|
+
border-radius: 4px !important;
|
688
|
+
}
|
689
|
+
|
690
|
+
.ButtonGroup__root.btn-group button:hover,
|
691
|
+
.ButtonGroup__root.btn-group button:focus {
|
692
|
+
background: #333 !important;
|
693
|
+
}
|
694
|
+
|
695
|
+
.input-group button {
|
696
|
+
background: #000;
|
697
|
+
border: 0;
|
698
|
+
margin: 0 5px;
|
699
|
+
border-radius: 0 4px 4px 0 !important;
|
700
|
+
}
|
701
|
+
|
702
|
+
.input-group button:hover,
|
703
|
+
.input-group button:focus {
|
704
|
+
background: #333 !important;
|
705
|
+
}
|
706
|
+
|
707
|
+
.payment-suc {
|
708
|
+
text-align: center;
|
709
|
+
}
|
710
|
+
|
711
|
+
.payment-suc .modal-dialog {
|
712
|
+
min-width: 600px;
|
713
|
+
padding: 50px 0;
|
714
|
+
}
|
715
|
+
|
716
|
+
.payment-suc h2 {
|
717
|
+
font-size: 24px;
|
718
|
+
color: #35254d;
|
719
|
+
font-weight: 500;
|
720
|
+
padding: 15px 0;
|
721
|
+
}
|
722
|
+
|
723
|
+
.payment-suc p {
|
724
|
+
font-size: 14px;
|
725
|
+
color: #9a92a6;
|
726
|
+
font-weight: 500;
|
727
|
+
}
|
728
|
+
|
729
|
+
.payment-suc .btn-close {
|
730
|
+
position: absolute;
|
731
|
+
right: 20px;
|
732
|
+
}
|
733
|
+
|
734
|
+
.Checkout.container iframe {
|
735
|
+
width: 100%;
|
736
|
+
overflow: hidden !important;
|
737
|
+
}
|
738
|
+
|
739
|
+
.responsive-tbl {
|
740
|
+
overflow-x: auto;
|
741
|
+
}
|
742
|
+
body {
|
743
|
+
position: relative !important;
|
744
|
+
}
|
745
|
+
thead,
|
746
|
+
tbody,
|
747
|
+
tfoot,
|
748
|
+
tr,
|
749
|
+
td,
|
750
|
+
th {
|
751
|
+
white-space: nowrap;
|
752
|
+
}
|
753
|
+
|
754
|
+
.button-group {
|
755
|
+
display: flex;
|
756
|
+
gap: 10px;
|
757
|
+
}
|
758
|
+
.rqstonClickbtn {
|
759
|
+
color: #fff;
|
760
|
+
background-color: #337ab7;
|
761
|
+
border-color: #2e6da4;
|
762
|
+
}
|
763
|
+
.loading-animation {
|
764
|
+
position: absolute;
|
765
|
+
top: 50%;
|
766
|
+
left: 50%;
|
767
|
+
transform: translate(-50%, -50%);
|
768
|
+
}
|
769
|
+
|
770
|
+
.spinner {
|
771
|
+
width: 40px;
|
772
|
+
height: 40px;
|
773
|
+
border-radius: 50%;
|
774
|
+
border: 4px solid #f3f3f3;
|
775
|
+
border-top: 4px solid black;
|
776
|
+
animation: spin 1s linear infinite;
|
777
|
+
}
|
778
|
+
|
779
|
+
@keyframes spin {
|
780
|
+
0% {
|
781
|
+
transform: rotate(0deg);
|
782
|
+
}
|
783
|
+
100% {
|
784
|
+
transform: rotate(360deg);
|
785
|
+
}
|
786
|
+
}
|
787
|
+
/* .border-container {
|
788
|
+
display: flex;
|
789
|
+
flex-direction: column;
|
790
|
+
border: 0px solid #ccc;
|
791
|
+
padding: 20px;
|
792
|
+
border-radius: 10px;
|
793
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
794
|
+
align-items: baseline;
|
795
|
+
}
|
796
|
+
.payment-container {
|
797
|
+
border: 0px solid #ccc;
|
798
|
+
padding: 20px;
|
799
|
+
border-radius: 10px;
|
800
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
801
|
+
} */
|
802
|
+
|
803
|
+
.payment-row {
|
804
|
+
display: flex;
|
805
|
+
align-items: center;
|
806
|
+
margin-bottom: 20px;
|
807
|
+
}
|
808
|
+
|
809
|
+
.payment-row label {
|
810
|
+
width: 150px;
|
811
|
+
font-weight: bold;
|
812
|
+
margin-right: 10px;
|
813
|
+
}
|
814
|
+
|
815
|
+
.payment-row input {
|
816
|
+
flex-grow: 1;
|
817
|
+
margin-right: 10px;
|
818
|
+
}
|
819
|
+
|
820
|
+
.payment-row button {
|
821
|
+
flex-grow: 1;
|
822
|
+
}
|
823
|
+
.payment-row {
|
824
|
+
display: flex;
|
825
|
+
flex-direction: column;
|
826
|
+
border-radius: 10px;
|
827
|
+
margin-top: 10px;
|
828
|
+
}
|
829
|
+
|
830
|
+
.input-wrapper {
|
831
|
+
flex: 1;
|
832
|
+
}
|
833
|
+
|
834
|
+
.button-wrapper {
|
835
|
+
margin-left: 10px;
|
836
|
+
}
|
837
|
+
.input-container {
|
838
|
+
display: flex;
|
839
|
+
flex-direction: column;
|
840
|
+
}
|
841
|
+
|
842
|
+
.export-btn1 {
|
843
|
+
background: black;
|
844
|
+
color: white;
|
845
|
+
height: 35px;
|
846
|
+
width: 68px;
|
847
|
+
border-radius: 5px;
|
848
|
+
margin-top: 20px;
|
849
|
+
}
|
850
|
+
|
851
|
+
.export-btn {
|
852
|
+
background: black;
|
853
|
+
color: white;
|
854
|
+
height: 35px;
|
855
|
+
width: 68px;
|
856
|
+
border-radius: 5px;
|
857
|
+
margin-left: 14px;
|
858
|
+
}
|
859
|
+
|
860
|
+
.payment-popup {
|
861
|
+
padding: 12px 20px;
|
862
|
+
background: #fff;
|
863
|
+
border-radius: 20px;
|
864
|
+
position: relative;
|
865
|
+
width: 100%;
|
866
|
+
margin: 0 auto;
|
867
|
+
}
|
868
|
+
|
869
|
+
// .modal-content {
|
870
|
+
// max-width: 420px;
|
871
|
+
// margin-top: 5%;
|
872
|
+
// }
|
873
|
+
@media (max-width: 460px) {
|
874
|
+
.payment-popup {
|
875
|
+
padding: 35px 25px;
|
876
|
+
width: 98%;
|
877
|
+
}
|
878
|
+
}
|
879
|
+
|
880
|
+
.close-pop {
|
881
|
+
position: absolute;
|
882
|
+
right: 8px;
|
883
|
+
top: 8px;
|
884
|
+
border: 0;
|
885
|
+
padding: 0;
|
886
|
+
background: none !important;
|
887
|
+
}
|
888
|
+
|
889
|
+
.amex {
|
890
|
+
background-image: url("../amex.svg");
|
891
|
+
}
|
892
|
+
|
893
|
+
.visa {
|
894
|
+
background-image: url("../visa.svg");
|
895
|
+
}
|
896
|
+
|
897
|
+
.mastercard {
|
898
|
+
background-image: url("../mastercard.svg");
|
899
|
+
}
|
900
|
+
|
901
|
+
.discover {
|
902
|
+
background-image: url("../discover.svg");
|
903
|
+
}
|
904
|
+
|
905
|
+
.expiry-date-group {
|
906
|
+
float: left;
|
907
|
+
width: 30%;
|
908
|
+
}
|
909
|
+
|
910
|
+
.expiry-date-group input {
|
911
|
+
width: calc(100% + 1px);
|
912
|
+
border-top-right-radius: 0;
|
913
|
+
border-bottom-right-radius: 0;
|
914
|
+
}
|
915
|
+
|
916
|
+
.expiry-date-group input:focus {
|
917
|
+
position: relative;
|
918
|
+
z-index: 10;
|
919
|
+
}
|
920
|
+
|
921
|
+
.security-code-group {
|
922
|
+
float: right;
|
923
|
+
width: 40%;
|
924
|
+
position: relative;
|
925
|
+
}
|
926
|
+
|
927
|
+
.security-code-group input {
|
928
|
+
border-top-left-radius: 0;
|
929
|
+
border-bottom-left-radius: 0;
|
930
|
+
}
|
931
|
+
|
932
|
+
.zip-code-group {
|
933
|
+
clear: both;
|
934
|
+
}
|
935
|
+
|
936
|
+
#submitButton {
|
937
|
+
outline: 0 !important;
|
938
|
+
height: 46px;
|
939
|
+
font-size: 16px;
|
940
|
+
background-color: #161616 !important;
|
941
|
+
border: none;
|
942
|
+
display: block;
|
943
|
+
width: 100%;
|
944
|
+
border-radius: 180px;
|
945
|
+
}
|
946
|
+
#submitRequestButton {
|
947
|
+
outline: 0 !important;
|
948
|
+
height: 46px;
|
949
|
+
font-size: 16px;
|
950
|
+
background-color: #161616 !important;
|
951
|
+
border: none;
|
952
|
+
display: block;
|
953
|
+
width: 100%;
|
954
|
+
border-radius: 180px;
|
955
|
+
}
|
956
|
+
#PayButton {
|
957
|
+
outline: 0 !important;
|
958
|
+
height: 46px;
|
959
|
+
font-size: 16px;
|
960
|
+
background-color: #161616 !important;
|
961
|
+
border: none;
|
962
|
+
display: block;
|
963
|
+
width: 100%;
|
964
|
+
border-radius: 180px;
|
965
|
+
}
|
966
|
+
|
967
|
+
#PayButton:hover {
|
968
|
+
background-color: #61c699 !important;
|
969
|
+
}
|
970
|
+
|
971
|
+
#PayButton:active {
|
972
|
+
background-color: #61c699 !important;
|
973
|
+
}
|
974
|
+
|
975
|
+
#PayButton:disabled {
|
976
|
+
background: rgb(172, 44, 170) !important;
|
977
|
+
color: #fff !important;
|
978
|
+
}
|
979
|
+
|
980
|
+
.form-control {
|
981
|
+
color: #35254d;
|
982
|
+
}
|
983
|
+
|
984
|
+
.container {
|
985
|
+
margin-top: 10px;
|
986
|
+
}
|
987
|
+
|
988
|
+
#Checkout {
|
989
|
+
z-index: 100001;
|
990
|
+
width: 100%;
|
991
|
+
height: 100%;
|
992
|
+
min-height: 100%;
|
993
|
+
background: 0 0 #ffffff;
|
994
|
+
border-radius: 24px;
|
995
|
+
border: 1px solid #e0dfe2;
|
996
|
+
margin-left: auto;
|
997
|
+
margin-right: auto;
|
998
|
+
display: block;
|
999
|
+
}
|
1000
|
+
|
1001
|
+
#Checkout .header {
|
1002
|
+
display: flex;
|
1003
|
+
/* Enables Flexbox */
|
1004
|
+
justify-content: center;
|
1005
|
+
/* Centers content horizontally */
|
1006
|
+
align-items: center;
|
1007
|
+
/* Centers content vertically */
|
1008
|
+
text-align: center;
|
1009
|
+
padding: 8px;
|
1010
|
+
border-bottom: 1px solid #dedede;
|
1011
|
+
margin: 0 10px 20px 10px;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
#Checkout .header button {
|
1015
|
+
border: 0;
|
1016
|
+
background: none;
|
1017
|
+
padding: 0;
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
#Checkout h1 {
|
1021
|
+
margin: 0;
|
1022
|
+
flex: 1;
|
1023
|
+
padding: 10px;
|
1024
|
+
/* Allows the title to grow and fill the space for centering */
|
1025
|
+
font-size: 23px;
|
1026
|
+
font-weight: 500;
|
1027
|
+
color: #35254d;
|
1028
|
+
align-items: start;
|
1029
|
+
display: flex;
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
#Checkout > form {
|
1033
|
+
margin: 0 25px 10px 25px;
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
label {
|
1037
|
+
color: rgba(53, 37, 77, 0.6);
|
1038
|
+
margin-bottom: 2px;
|
1039
|
+
text-transform: uppercase;
|
1040
|
+
font-family: "IBM Plex Mono", monospace;
|
1041
|
+
font-weight: 500;
|
1042
|
+
font-size: 12px;
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
.input-container {
|
1046
|
+
position: relative;
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
.input-container input {
|
1050
|
+
padding-right: 25px;
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
#zipcode {
|
1054
|
+
text-transform: capitalize !important;
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
#zipcode {
|
1058
|
+
width: 18px;
|
1059
|
+
position: absolute;
|
1060
|
+
right: 8px;
|
1061
|
+
top: 9px;
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
#zipcode .zip-tip {
|
1065
|
+
display: none;
|
1066
|
+
background-color: rgb(0, 0, 0, 0.4);
|
1067
|
+
padding: 5px 8px;
|
1068
|
+
border-radius: 6px;
|
1069
|
+
position: absolute;
|
1070
|
+
right: 26px;
|
1071
|
+
top: -9px;
|
1072
|
+
font-size: 12.5px;
|
1073
|
+
text-transform: capitalize !important;
|
1074
|
+
color: #fff;
|
1075
|
+
width: 240px;
|
1076
|
+
line-height: 16px;
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
#zipcode .zip-tip:before {
|
1080
|
+
width: 0;
|
1081
|
+
height: 0;
|
1082
|
+
border-top: 7px solid transparent;
|
1083
|
+
border-bottom: 7px solid transparent;
|
1084
|
+
border-left: 7px solid #000;
|
1085
|
+
opacity: 0.4;
|
1086
|
+
position: absolute;
|
1087
|
+
right: -7px;
|
1088
|
+
top: 50%;
|
1089
|
+
transform: translateY(-50%);
|
1090
|
+
content: "";
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
#zipcode:hover .zip-tip {
|
1094
|
+
display: block;
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
.input-container > i,
|
1098
|
+
a[role="button"] {
|
1099
|
+
color: #d3d3d3;
|
1100
|
+
width: 25px;
|
1101
|
+
height: 30px;
|
1102
|
+
line-height: 30px;
|
1103
|
+
font-size: 16px;
|
1104
|
+
position: absolute;
|
1105
|
+
top: 5px;
|
1106
|
+
right: 6px;
|
1107
|
+
cursor: pointer;
|
1108
|
+
text-align: center;
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
.input-container > i:hover,
|
1112
|
+
a[role="button"]:hover {
|
1113
|
+
color: #777;
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
.amount-placeholder {
|
1117
|
+
white-space: nowrap;
|
1118
|
+
font-size: 44px;
|
1119
|
+
/* height: 35px; */
|
1120
|
+
font-weight: 600;
|
1121
|
+
line-height: 40px;
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
.amount-placeholder > button {
|
1125
|
+
float: right;
|
1126
|
+
width: 60px;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
.amount-placeholder > span {
|
1130
|
+
line-height: 34px;
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
.top-amnt {
|
1134
|
+
display: flex;
|
1135
|
+
margin-bottom: 10px;
|
1136
|
+
align-items: center;
|
1137
|
+
justify-content: space-between;
|
1138
|
+
}
|
1139
|
+
|
1140
|
+
.amtleft {
|
1141
|
+
text-align: center;
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
.amtleft span {
|
1145
|
+
color: #35254d;
|
1146
|
+
margin: 0 -5px;
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
.card-row {
|
1150
|
+
text-align: right;
|
1151
|
+
margin: 22px 0 0 0;
|
1152
|
+
max-width: 85px;
|
1153
|
+
line-height: 20px;
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
.yer {
|
1157
|
+
border-radius: 0;
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
.card-row span {
|
1161
|
+
width: 33px;
|
1162
|
+
height: 21px;
|
1163
|
+
margin: 0 2px;
|
1164
|
+
background-repeat: no-repeat;
|
1165
|
+
display: inline-block;
|
1166
|
+
background-size: contain;
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
.card-image {
|
1170
|
+
background-repeat: no-repeat;
|
1171
|
+
padding-right: 50px;
|
1172
|
+
background-position: right 2px center;
|
1173
|
+
background-size: auto 90%;
|
1174
|
+
}
|
1175
|
+
|
1176
|
+
/* .cvc-preview-container {
|
1177
|
+
overflow: hidden;
|
1178
|
+
} */
|
1179
|
+
|
1180
|
+
.cvc-preview-container {
|
1181
|
+
/* overflow: hidden; */
|
1182
|
+
position: absolute;
|
1183
|
+
z-index: 9999;
|
1184
|
+
right: -71px;
|
1185
|
+
top: -54px;
|
1186
|
+
width: 165px;
|
1187
|
+
border-radius: 5px;
|
1188
|
+
padding: 5px;
|
1189
|
+
background-color: rgb(0, 0, 0, 0.3);
|
1190
|
+
display: none;
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
.cvc-preview-container:before {
|
1194
|
+
position: absolute;
|
1195
|
+
left: 50%;
|
1196
|
+
transform: translate(-50%);
|
1197
|
+
bottom: -5px;
|
1198
|
+
width: 0;
|
1199
|
+
height: 0;
|
1200
|
+
border-left: 5px solid transparent;
|
1201
|
+
border-right: 5px solid transparent;
|
1202
|
+
border-top: 5px solid #000;
|
1203
|
+
opacity: 0.3;
|
1204
|
+
content: "";
|
1205
|
+
}
|
1206
|
+
|
1207
|
+
.security-code-group #cvc:hover .cvc-preview-container {
|
1208
|
+
display: block;
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
.cvc-preview-container.two-card div {
|
1212
|
+
width: 50%;
|
1213
|
+
height: 45px;
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
.cvc-preview-container.two-card div.amex-cvc-preview {
|
1217
|
+
float: right;
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
.cvc-preview-container.two-card div.visa-mc-dis-cvc-preview {
|
1221
|
+
float: left;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
/* .cvc-preview-container div {
|
1225
|
+
height: 160px;
|
1226
|
+
} */
|
1227
|
+
|
1228
|
+
.amex-cvc-preview {
|
1229
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACOCAYAAAAlzXSMAAAAAXNSR0IArs4c6QAAFg9JREFUeNrtnfeTFcXaxw+ZBZacM0oGySBIXECiSBQQAQFhJaclo+SgAsuS2QVBlrCLSlQBAVGCCpK5XiW4vFVvvXX/gPvDe9+qt+r2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ZiwTL0p7UJxcfKBsvNtEVPaiIQibbwx86zlRJQZUWCkB9dO7YOh5oEmYeKRjinv4xYtt88Z/e67SlunTpPmMp25ISxd4SVMtcUcXvbQ08acUd8eXR8xy1So5MoL5p05Icz1x8/Khu8Uptr1GZ2vng886MdxbGar25evWk3m0ZlvlCWuaDHXq35IA3Wg20J8OD5i5nybPWIU2GDImTbyja381OZFUSVM7JyEhmraOwLPp9ZmnrSPNvM+NO41gQpEQML5pg0eLZjSxo5M2CxGt0dgBQ3QaYuRG2+zPE9UFiO6KW0AASK6aAnzym2jnaLn26NdIzry6LTD9dCxBdoGTk8DbxU5Gwk6N8yxa7/S1FbvuF6bbj1dbwq169nXeH9wzHl/IsHSPZmygTufsWKkR+N35gWf8Yoc6thZfgTDXPemanWRuGyt/V1jf5mxs7TzfiJt7O7ljFSjY0Rw0pk2OgPERvjrEkL46xJCCIVJCKEwCaEwCSEUJiEUJiGEwiSEwiSEUJiEUJisBEIoTEIIhUkIhUkIoTAJoTAJIRQmIX9tYR649YAVQUgUAU36sHQDK4OQ6AGa9G0+ffH/WBmERA/QpG/ZZ59nsTIIiR6gSV/Spp2bd164xgohJAqAFqFJ3+wN29su3LFXpF//jRVDyJ8INAgtQpM+/PkVehILGXvtQkwIyWFR+rUHDUKLPvU3c2NqpaSUnf+zYPtese3cj8Yt8AghkQdag+agPWgQWvTpf7OSU1/xn/jvOZtS5Q7GySfOibSLN+RehtiTgRASGaApaAsag9agOWgPGvSZ/makpFTwGxxK2pT6bxgTQnIWaA2ag/Z8wf5mJW9tNGfjjmX+L13w8yApJfUfhJAIAU35tQWNQWsmDf4HqpjHZRJqxUwAAAAASUVORK5CYII=")
|
1230
|
+
center center/contain no-repeat;
|
1231
|
+
}
|
1232
|
+
|
1233
|
+
.visa-mc-dis-cvc-preview {
|
1234
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACOCAMAAAASE4S+AAAAAXNSR0IArs4c6QAAAadQTFRFAAAAzbF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W/x4wPx+6cxn+0A2208PX9pB2aONef7xk3JrBjkth4Jysnf9fX1T0Czzmqx+6pcvcel/pJd5RRLXg1p6d0vWvdHKHJCeG2XljLVb5aZS5r2E3A6uTiUu2Km1klLK3CXxZDK5xd6RNYd3St+MTuaryr94G6y92iuy77X+b9rSi/d8usOEyZIXC5gsR7O5MN9bRexvwoQJEyZMmDBhwoQJEyZMmDBhwoT5vzNLLihLJu8CM2+6XGB2meUuMFeYyEf9ysmIqcsUtSuLmQZjGp8pdxafNxtjamIZ1f12MhOrDQ6uXhRLD4/nVb4/S/nx4XRsSeUY8prGtOI0186eKl8Xae3QSOxojTSUgT8BEvkXyqDHONgAAAAASUVORK5CYII=")
|
1235
|
+
center center/contain no-repeat;
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
.submit-button-lock {
|
1239
|
+
height: 15px;
|
1240
|
+
margin-top: -2px;
|
1241
|
+
margin-right: 7px;
|
1242
|
+
vertical-align: middle;
|
1243
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAgCAMAAAA7dZg3AAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKBIlJYqYR15hp5ejIZvrxs1P5YjErlMNN4Yh4TM/0tAyOMBeAr2+WRQElWW2ZaJHtrRzt7VnW5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5VE6JA0ZFMKHNZZruYjv5M9UiMJJslg1kLs2qy3mdHZZ/KUcwR5vTkmuRuyx3J88n7fjVmNXd1Z752/ob8wTXuaw6thdauXNu5Tnddwbrh9b7rj20gbUjZ8MtGy41lG99uit7UUaBRsL5gaLPv5sZCuUJR4b0tzlsObMVsFWzt3WazrWrblyJe0fViy+KK4k8l3JLr31l9V/ndzPaE7b2l9qX7d+B2CHfc3em681iZYlle2dCu4F2t5czyovK3u1fsvlZhW3FgD2mPZI+0MqiyvUqvakfVp+qk6oEaj5rmvep7t+2d2sfb17/fbX/TAY0DxQc+HhQcvH/I91BrrUFtxWHc4azDz+ui6rq/Z39ff0TtSPGRz0eFR6XHwo911TvU1zeoN5Q2wo2SxrHjccdv/eD1Q3sTq+lQM6O5+AQ4ITnx4sf4H++eDDzZeYp9qukn/Z/2ttBailqh1tzWibakNml7THvf6YDTnR3OHS0/m/989Iz2mZqzymdLz5HOFZybOZ93fvJCxoXxi4kXhzpXdD66tOTSna6wrt7LgZevXvG5cqnbvfv8VZerZ645XTt9nX297Yb9jdYeu56WX+x+aem172296XCz/ZbjrY6+BX3n+l37L972un3ljv+dGwOLBvruLr57/17cPel93v3RB6kPXj/Mejj9aP1j7OOiJwpPKp6qP6391fjXZqm99Oyg12DPs4hnj4a4Qy//lfmvT8MFz6nPK0a0RupHrUfPjPmM3Xqx9MXwy4yX0+OFvyn+tveV0auffnf7vWdiycTwa9HrmT9K3qi+OfrW9m3nZOjk03dp76anit6rvj/2gf2h+2P0x5Hp7E/4T5WfjT93fAn88ngmbWbm3/eE8/syOll+AAAAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAAgYMEyIzOUpTVFViY3N2gJmcnaipq7fX3ebx+Pn8eTEuDQAAAI9JREFUKM/N0UkOglAQRdFHDyK90n64+9+lAyQgookjuaNKTlJJpaQlO2n6sW8SW/uCjrku2EloWDLhi3gDa4O3pTtA5Tt+BXDbiDsBmSQpAyZ3pRhoLUmS1QLxSilQPOcCSFfKgfxgPgfZ9ch7Y21LCcdd5wVH5SckEzkXc0ylpPJnMpETmX/d9eUpH1/5AKrsQVrz7YPBAAAAAElFTkSuQmCC")
|
1244
|
+
center center/contain no-repeat;
|
1245
|
+
width: 14px;
|
1246
|
+
display: inline-block;
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
.align-middle {
|
1250
|
+
vertical-align: middle;
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
input {
|
1254
|
+
box-shadow: none !important;
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
.powerd-by-part {
|
1258
|
+
display: flex;
|
1259
|
+
font-size: 12px;
|
1260
|
+
text-align: center;
|
1261
|
+
align-items: center;
|
1262
|
+
justify-content: center;
|
1263
|
+
margin: 5px 0 20px 0;
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
.powered-logo {
|
1267
|
+
width: 18px;
|
1268
|
+
height: auto;
|
1269
|
+
float: right;
|
1270
|
+
padding: 2px;
|
1271
|
+
background: #000000;
|
1272
|
+
border-radius: 4px;
|
1273
|
+
margin-left: 5px;
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
.comp-name {
|
1277
|
+
display: block;
|
1278
|
+
margin-bottom: 8px;
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
.client-logo {
|
1282
|
+
max-width: 140px;
|
1283
|
+
display: block;
|
1284
|
+
margin: auto;
|
1285
|
+
padding: 5px;
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
#qrCode {
|
1289
|
+
text-align: center;
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
#qrIcon {
|
1293
|
+
cursor: pointer;
|
1294
|
+
border: 1px solid rgb(252, 252, 252);
|
1295
|
+
padding: 10px;
|
1296
|
+
border-radius: 5px;
|
1297
|
+
background: #ffffff;
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
#target {
|
1301
|
+
display: none;
|
1302
|
+
text-align: center;
|
1303
|
+
transition: all 5s;
|
1304
|
+
padding: 5px;
|
1305
|
+
transition: max-height 0.5s, overflow 0.5s 0.5s;
|
1306
|
+
}
|
1307
|
+
|
1308
|
+
/* input:focus {
|
1309
|
+
border-color: #acc6db !important;
|
1310
|
+
background-color: #acc6db !important;
|
1311
|
+
} */
|
1312
|
+
|
1313
|
+
input[type="number"]::-webkit-outer-spin-button,
|
1314
|
+
input[type="number"]::-webkit-inner-spin-button {
|
1315
|
+
-webkit-appearance: none;
|
1316
|
+
margin: 0;
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
input[type="number"] {
|
1320
|
+
-moz-appearance: textfield;
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
`);
|
1324
|
+
};
|
1325
|
+
var RequestPaymentstyles_default = RequestPaymentstyles;
|
1326
|
+
|
1327
|
+
// src/app/components/RequestPayment/RequestPaymentAllInput.tsx
|
1316
1328
|
function RequestPaymentAllInput({ fractalpayClientKey }) {
|
1317
1329
|
const [isLoading, setIsLoading] = useState2(false);
|
1318
1330
|
const [show, setShow] = useState2(false);
|
@@ -1818,7 +1830,7 @@ function RqstPaymntInputField({ fractalpayClientKey, amount, orderID }) {
|
|
1818
1830
|
|
1819
1831
|
// src/app/components/Payment/Payment.tsx
|
1820
1832
|
import React10, { useState as useState6 } from "react";
|
1821
|
-
import
|
1833
|
+
import axios from "axios";
|
1822
1834
|
import forge from "node-forge";
|
1823
1835
|
import { toast as toast3 } from "react-toastify";
|
1824
1836
|
import { Modal as Modal6 } from "react-bootstrap";
|
@@ -2768,7 +2780,7 @@ function Payment() {
|
|
2768
2780
|
const [data, setData] = useState6(null);
|
2769
2781
|
const handlePaymentClick = async () => {
|
2770
2782
|
try {
|
2771
|
-
const response = await
|
2783
|
+
const response = await axios.post(`${baseUrl}generate-session`, {});
|
2772
2784
|
const data2 = response.data;
|
2773
2785
|
if (data2 && (data2 == null ? void 0 : data2.result) === true) {
|
2774
2786
|
setState((prev) => {
|
@@ -2800,7 +2812,7 @@ function Payment() {
|
|
2800
2812
|
};
|
2801
2813
|
const apiUrl = "https://m1ao5pku8b.execute-api.us-east-2.amazonaws.com/prod/tokenizer/tokenize";
|
2802
2814
|
try {
|
2803
|
-
const response = await
|
2815
|
+
const response = await axios.post(apiUrl, requestBody, {
|
2804
2816
|
headers: {
|
2805
2817
|
"x-app-session-key": state == null ? void 0 : state.sessionKey,
|
2806
2818
|
"Content-Type": "application/json"
|
@@ -3094,7 +3106,6 @@ function Payment() {
|
|
3094
3106
|
}
|
3095
3107
|
|
3096
3108
|
// src/app/components/Transaction/CompletedTransactions.tsx
|
3097
|
-
import axios3 from "axios";
|
3098
3109
|
import React12, { useEffect as useEffect3, useState as useState8 } from "react";
|
3099
3110
|
import { Col, Row, Table } from "react-bootstrap";
|
3100
3111
|
import {
|
@@ -3248,13 +3259,22 @@ function CompletedTransactions(props) {
|
|
3248
3259
|
const fetchData = async (newPage, startDate2, endDate2) => {
|
3249
3260
|
var _a, _b;
|
3250
3261
|
try {
|
3251
|
-
const response = await
|
3252
|
-
|
3253
|
-
|
3254
|
-
|
3255
|
-
|
3262
|
+
const response = await fetch(`${baseUrl}get-complete-request-payments`, {
|
3263
|
+
method: "POST",
|
3264
|
+
headers: {
|
3265
|
+
"Content-Type": "application/json"
|
3266
|
+
},
|
3267
|
+
body: JSON.stringify({
|
3268
|
+
fractalpayPublicKey: props.fractalpayClientKey,
|
3269
|
+
page: newPage,
|
3270
|
+
dateStart: startDate2 ? formatDate(startDate2) : "",
|
3271
|
+
dateEnd: endDate2 ? formatDate(endDate2) : ""
|
3272
|
+
})
|
3256
3273
|
});
|
3257
|
-
|
3274
|
+
if (!response.ok) {
|
3275
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
3276
|
+
}
|
3277
|
+
const data = await response.json();
|
3258
3278
|
setState((prev) => {
|
3259
3279
|
var _a2;
|
3260
3280
|
return __spreadProps(__spreadValues({}, prev), { totalPage: (_a2 = data == null ? void 0 : data.data) == null ? void 0 : _a2.totalPage });
|
@@ -3290,7 +3310,6 @@ function CompletedTransactions(props) {
|
|
3290
3310
|
setEndDate(date);
|
3291
3311
|
};
|
3292
3312
|
const handleExport = async () => {
|
3293
|
-
var _a;
|
3294
3313
|
if (!startDate) {
|
3295
3314
|
toast4.error("Start date required");
|
3296
3315
|
} else if (!endDate) {
|
@@ -3298,15 +3317,25 @@ function CompletedTransactions(props) {
|
|
3298
3317
|
} else {
|
3299
3318
|
setState((prev) => __spreadProps(__spreadValues({}, prev), { csvData: true }));
|
3300
3319
|
try {
|
3301
|
-
const response = await
|
3302
|
-
|
3303
|
-
|
3304
|
-
|
3305
|
-
|
3320
|
+
const response = await fetch(`${baseUrl}get-complete-request-payments`, {
|
3321
|
+
method: "POST",
|
3322
|
+
headers: {
|
3323
|
+
"Content-Type": "application/json"
|
3324
|
+
},
|
3325
|
+
body: JSON.stringify({
|
3326
|
+
fractalpayPublicKey: props.fractalpayClientKey,
|
3327
|
+
dateStart: startDate ? formatDate(startDate) : "",
|
3328
|
+
dateEnd: endDate ? formatDate(endDate) : "",
|
3329
|
+
isExport: true
|
3330
|
+
})
|
3306
3331
|
});
|
3307
|
-
if (response.
|
3332
|
+
if (!response.ok) {
|
3333
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
3334
|
+
}
|
3335
|
+
const data = await response.json();
|
3336
|
+
if (data.status) {
|
3308
3337
|
const link = document.createElement("a");
|
3309
|
-
link.href = `${
|
3338
|
+
link.href = `${data == null ? void 0 : data.data}`;
|
3310
3339
|
link.target = "_blank";
|
3311
3340
|
document.body.appendChild(link);
|
3312
3341
|
link.click();
|
@@ -3372,7 +3401,7 @@ function CompletedTransactions(props) {
|
|
3372
3401
|
import React13, { useState as useState9 } from "react";
|
3373
3402
|
import { Modal as Modal7 } from "react-bootstrap";
|
3374
3403
|
import { toast as toast5, ToastContainer as ToastContainer3 } from "react-toastify";
|
3375
|
-
import
|
3404
|
+
import axios2 from "axios";
|
3376
3405
|
import forge2 from "node-forge";
|
3377
3406
|
import creditCardType from "credit-card-type";
|
3378
3407
|
function TockenizPay() {
|
@@ -3393,7 +3422,7 @@ function TockenizPay() {
|
|
3393
3422
|
const [data, setData] = useState9(null);
|
3394
3423
|
const handlePaymentClick = async () => {
|
3395
3424
|
try {
|
3396
|
-
const response = await
|
3425
|
+
const response = await axios2.post(`${baseUrl}/generate-session`, {});
|
3397
3426
|
const data2 = response.data;
|
3398
3427
|
if (data2 && (data2 == null ? void 0 : data2.result) === true) {
|
3399
3428
|
setState((prev) => {
|
@@ -3427,7 +3456,7 @@ function TockenizPay() {
|
|
3427
3456
|
algorithm: "RSAES_OAEP_SHA_1"
|
3428
3457
|
};
|
3429
3458
|
try {
|
3430
|
-
const response = await
|
3459
|
+
const response = await axios2.post(
|
3431
3460
|
"https://m1ao5pku8b.execute-api.us-east-2.amazonaws.com/prod/tokenizer/tokenize",
|
3432
3461
|
requestBody,
|
3433
3462
|
{
|