tf-checkout-react 1.0.16 → 1.0.17
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/tf-checkout-react.cjs.development.js +6 -5
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +6 -5
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/paymentContainer/index.tsx +1 -0
- package/src/components/stripePayment/index.tsx +1 -0
|
@@ -1812,26 +1812,27 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
1812
1812
|
|
|
1813
1813
|
case 8:
|
|
1814
1814
|
paymentResponse = _context2.sent;
|
|
1815
|
+
console.log(paymentResponse);
|
|
1815
1816
|
|
|
1816
1817
|
if (paymentResponse.status === 200) {
|
|
1817
1818
|
handlePayment(paymentResponse);
|
|
1818
1819
|
}
|
|
1819
1820
|
|
|
1820
|
-
_context2.next =
|
|
1821
|
+
_context2.next = 16;
|
|
1821
1822
|
break;
|
|
1822
1823
|
|
|
1823
|
-
case
|
|
1824
|
-
_context2.prev =
|
|
1824
|
+
case 13:
|
|
1825
|
+
_context2.prev = 13;
|
|
1825
1826
|
_context2.t0 = _context2["catch"](1);
|
|
1826
1827
|
//Handle payment errors
|
|
1827
1828
|
console.log(_context2.t0);
|
|
1828
1829
|
|
|
1829
|
-
case
|
|
1830
|
+
case 16:
|
|
1830
1831
|
case "end":
|
|
1831
1832
|
return _context2.stop();
|
|
1832
1833
|
}
|
|
1833
1834
|
}
|
|
1834
|
-
}, _callee2, null, [[1,
|
|
1835
|
+
}, _callee2, null, [[1, 13]]);
|
|
1835
1836
|
}));
|
|
1836
1837
|
|
|
1837
1838
|
return function handlePaymentMiddleWare(_x) {
|