peng 10 miesięcy temu
rodzic
commit
7a932ed45f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Controller/PaymentCycle.py

+ 1 - 1
Controller/PaymentCycle.py

@@ -205,7 +205,7 @@ class PaypalCycleNotify(View):
     def do_paypal_cycle_return(self, request_dict, response):
         lang = request_dict.get('lang', 'en')
         token = request_dict.get('token', None)
-        app_type = request_dict.get('app_type', 1)
+        app_type = int(request_dict.get('app_type', 1))
 
         logger = logging.getLogger('pay')
         logger.info('--------进入paypay首次订阅付款回调--------')