@pelcro/react-pelcro-js 3.9.0-beta.11 → 3.9.0-beta.12
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.cjs.js +0 -15
- package/dist/index.esm.js +0 -15
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15540,21 +15540,6 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15540
15540
|
};
|
|
15541
15541
|
|
|
15542
15542
|
function handleTapPayment(paymentRequest) {
|
|
15543
|
-
// if (paymentRequest) {
|
|
15544
|
-
// const SUCCESS_STATUS = "870";
|
|
15545
|
-
// if (paymentRequest.response !== SUCCESS_STATUS) {
|
|
15546
|
-
// switch (paymentRequest.response) {
|
|
15547
|
-
// case "871":
|
|
15548
|
-
// return handlePaymentError({
|
|
15549
|
-
// error: new Error("Invalid account number")
|
|
15550
|
-
// });
|
|
15551
|
-
// default:
|
|
15552
|
-
// return handlePaymentError({
|
|
15553
|
-
// error: new Error(paymentRequest.message)
|
|
15554
|
-
// });
|
|
15555
|
-
// }
|
|
15556
|
-
// }
|
|
15557
|
-
// }
|
|
15558
15543
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
15559
15544
|
|
|
15560
15545
|
if (type === "createPayment") {
|
package/dist/index.esm.js
CHANGED
|
@@ -15510,21 +15510,6 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
15510
15510
|
};
|
|
15511
15511
|
|
|
15512
15512
|
function handleTapPayment(paymentRequest) {
|
|
15513
|
-
// if (paymentRequest) {
|
|
15514
|
-
// const SUCCESS_STATUS = "870";
|
|
15515
|
-
// if (paymentRequest.response !== SUCCESS_STATUS) {
|
|
15516
|
-
// switch (paymentRequest.response) {
|
|
15517
|
-
// case "871":
|
|
15518
|
-
// return handlePaymentError({
|
|
15519
|
-
// error: new Error("Invalid account number")
|
|
15520
|
-
// });
|
|
15521
|
-
// default:
|
|
15522
|
-
// return handlePaymentError({
|
|
15523
|
-
// error: new Error(paymentRequest.message)
|
|
15524
|
-
// });
|
|
15525
|
-
// }
|
|
15526
|
-
// }
|
|
15527
|
-
// }
|
|
15528
15513
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
15529
15514
|
|
|
15530
15515
|
if (type === "createPayment") {
|