@pinerohit11/testwidget 0.2.120 → 0.2.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -6
- package/dist/index.mjs +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1583,7 +1583,10 @@ function Chargewidgetstyles() {
|
|
1583
1583
|
|
1584
1584
|
.error-span{
|
1585
1585
|
color:red !important;
|
1586
|
-
font-size:12px !important
|
1586
|
+
font-size:12px !important;
|
1587
|
+
text-align: left !important;
|
1588
|
+
width: 100% !important;
|
1589
|
+
display: block;
|
1587
1590
|
}
|
1588
1591
|
|
1589
1592
|
.charge-customer-name{
|
@@ -2699,12 +2702,12 @@ function GetPaymentPage(props) {
|
|
2699
2702
|
const handlechargeCustomer = async () => {
|
2700
2703
|
var _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
2701
2704
|
let customer_id = props == null ? void 0 : props.customerId;
|
2702
|
-
let discount = props == null ? void 0 : props.discount;
|
2703
|
-
let surcharge = props == null ? void 0 : props.surcharge;
|
2704
|
-
let tax = props == null ? void 0 : props.tax;
|
2705
|
+
let discount = String(props == null ? void 0 : props.discount);
|
2706
|
+
let surcharge = String(props == null ? void 0 : props.surcharge);
|
2707
|
+
let tax = String(props == null ? void 0 : props.tax);
|
2705
2708
|
let fractalpayPublicKey = props == null ? void 0 : props.fractalpayClientKey;
|
2706
2709
|
let order_id = props == null ? void 0 : props.orderID;
|
2707
|
-
let amount = props == null ? void 0 : props.amount;
|
2710
|
+
let amount = String(props == null ? void 0 : props.amount);
|
2708
2711
|
let card_id = selectedCard == null ? void 0 : selectedCard.id;
|
2709
2712
|
let card_type = selectedCard == null ? void 0 : selectedCard.card_type;
|
2710
2713
|
if (fractalpayPublicKey && order_id && amount) {
|
@@ -2820,7 +2823,6 @@ function GetPaymentPage(props) {
|
|
2820
2823
|
}
|
2821
2824
|
});
|
2822
2825
|
};
|
2823
|
-
console.log(loading, loading2);
|
2824
2826
|
return /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, /* @__PURE__ */ import_react14.default.createElement(DataScript, null), /* @__PURE__ */ import_react14.default.createElement(Chargewidgetstyles, null), /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, /* @__PURE__ */ import_react14.default.createElement(
|
2825
2827
|
"button",
|
2826
2828
|
{
|
package/dist/index.mjs
CHANGED
@@ -1545,7 +1545,10 @@ function Chargewidgetstyles() {
|
|
1545
1545
|
|
1546
1546
|
.error-span{
|
1547
1547
|
color:red !important;
|
1548
|
-
font-size:12px !important
|
1548
|
+
font-size:12px !important;
|
1549
|
+
text-align: left !important;
|
1550
|
+
width: 100% !important;
|
1551
|
+
display: block;
|
1549
1552
|
}
|
1550
1553
|
|
1551
1554
|
.charge-customer-name{
|
@@ -2661,12 +2664,12 @@ function GetPaymentPage(props) {
|
|
2661
2664
|
const handlechargeCustomer = async () => {
|
2662
2665
|
var _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
2663
2666
|
let customer_id = props == null ? void 0 : props.customerId;
|
2664
|
-
let discount = props == null ? void 0 : props.discount;
|
2665
|
-
let surcharge = props == null ? void 0 : props.surcharge;
|
2666
|
-
let tax = props == null ? void 0 : props.tax;
|
2667
|
+
let discount = String(props == null ? void 0 : props.discount);
|
2668
|
+
let surcharge = String(props == null ? void 0 : props.surcharge);
|
2669
|
+
let tax = String(props == null ? void 0 : props.tax);
|
2667
2670
|
let fractalpayPublicKey = props == null ? void 0 : props.fractalpayClientKey;
|
2668
2671
|
let order_id = props == null ? void 0 : props.orderID;
|
2669
|
-
let amount = props == null ? void 0 : props.amount;
|
2672
|
+
let amount = String(props == null ? void 0 : props.amount);
|
2670
2673
|
let card_id = selectedCard == null ? void 0 : selectedCard.id;
|
2671
2674
|
let card_type = selectedCard == null ? void 0 : selectedCard.card_type;
|
2672
2675
|
if (fractalpayPublicKey && order_id && amount) {
|
@@ -2782,7 +2785,6 @@ function GetPaymentPage(props) {
|
|
2782
2785
|
}
|
2783
2786
|
});
|
2784
2787
|
};
|
2785
|
-
console.log(loading, loading2);
|
2786
2788
|
return /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(DataScript, null), /* @__PURE__ */ React13.createElement(Chargewidgetstyles, null), /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(
|
2787
2789
|
"button",
|
2788
2790
|
{
|