@alipay/ams-checkout 0.0.1737621505-dev.2 → 0.0.1737621505-dev.3
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.
@@ -597,11 +597,7 @@ export var ElementComponent = /*#__PURE__*/function () {
|
|
597
597
|
if ((result === null || result === void 0 ? void 0 : result.paymentMethodType) === 'APPLEPAY') {
|
598
598
|
_this6.ApplePayService.begin().then(function (res) {
|
599
599
|
_this6.onAfterSubmitFunc(ElementPaymentMethod.PAYMENT_ELEMENT, {
|
600
|
-
submitPayData: res
|
601
|
-
success: false,
|
602
|
-
errorCode: "LOGIN",
|
603
|
-
errorMessage: ""
|
604
|
-
}
|
600
|
+
submitPayData: res
|
605
601
|
});
|
606
602
|
}).catch(function (e) {
|
607
603
|
_this6.onAfterSubmitFunc(ElementPaymentMethod.PAYMENT_ELEMENT, {
|
@@ -349,7 +349,8 @@ export var ApplePaySdk = /*#__PURE__*/function () {
|
|
349
349
|
case 15:
|
350
350
|
_context4.prev = 15;
|
351
351
|
_context4.t7 = _context4["catch"](0);
|
352
|
-
|
352
|
+
return _context4.abrupt("return", Promise.resolve(_context4.t7));
|
353
|
+
case 18:
|
353
354
|
case "end":
|
354
355
|
return _context4.stop();
|
355
356
|
}
|