@alipay/ams-checkout 0.0.1751254427-dev.0 → 0.0.1751356895-dev.1
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.
@@ -109,7 +109,9 @@ export var handleGooglePay = function handleGooglePay(data) {
|
|
109
109
|
paymentsClient.isReadyToPay(paymentRequest).then(function (response) {
|
110
110
|
if (response.result) {
|
111
111
|
// 设备支持 GooglePay,继续拉起
|
112
|
-
|
112
|
+
reject({
|
113
|
+
errorCode: 'GOOGLE_PAY_NOT_SUPPORTED'
|
114
|
+
});
|
113
115
|
} else {
|
114
116
|
// 抛错给收银台,目前errorCode未消费
|
115
117
|
reject({
|