zbb пре 3 месеци
родитељ
комит
e2f1e61b54
2 измењених фајлова са 2 додато и 4 уклоњено
  1. 1 4
      app.json
  2. 1 0
      app/award-detail/components/CheckoutModal.tsx

+ 1 - 4
app.json

@@ -5,10 +5,7 @@
     "version": "1.0.0",
     "orientation": "portrait",
     "icon": "./assets/images/icon.png",
-    "scheme": [
-      "asios",
-      "alipay2021004126636720"
-    ],
+    "scheme": ["asios", "alipay2021005175632205"],
     "userInterfaceStyle": "automatic",
     "newArchEnabled": true,
     "ios": {

+ 1 - 0
app/award-detail/components/CheckoutModal.tsx

@@ -174,6 +174,7 @@ export const CheckoutModal = forwardRef<CheckoutModalRef, CheckoutModalProps>(
         
         // Handle Alipay Response
         if (res?.payInfo) {
+             Alipay.setAlipayScheme('alipay2021005175632205');
              const result = await Alipay.pay(res.payInfo);
              console.log('Alipay Result:', result);
              const resultStatus = result?.resultStatus;