|
@@ -76,10 +76,9 @@ class InAppPurchaseView(View):
|
|
|
if device_info_qs[0]['vodPrimaryUserID'] != user_id:
|
|
|
return response.json(10033)
|
|
|
|
|
|
- assert False
|
|
|
order_id = CommonService.createOrderID()
|
|
|
verify_response = itunesiap.verify(receipt, env=ENV)
|
|
|
- LOGGER.info('苹果内购收据认证响应:{}'.format(eval(verify_response)))
|
|
|
+ LOGGER.info('苹果内购收据认证响应:{}'.format(verify_response))
|
|
|
product_id = verify_response.receipt.in_app[0]['product_id']
|
|
|
|
|
|
pay_type = PAY_TYPE_IN_APP_PURCHASE
|