|
@@ -310,6 +310,7 @@ class PaypalCycleNotify(View):
|
|
|
|
|
|
# 订阅续费订单(如果完成周期数`不是0, 则说明是续费订单,)
|
|
|
if billing_agreement.agreement_details.cycles_completed == '0':
|
|
|
+ logger.info('订阅续费订单完成周期数==0,结束')
|
|
|
return HttpResponse('success')
|
|
|
oldOrderID = billing_agreement.description
|
|
|
order_qs = Order_Model.objects.filter(orderID=oldOrderID, status=1)
|
|
@@ -323,6 +324,8 @@ class PaypalCycleNotify(View):
|
|
|
logger.info('-----------------------paypal重复异步回调')
|
|
|
return HttpResponse('success')
|
|
|
|
|
|
+ logger.info('-----走入订阅过程-------------')
|
|
|
+
|
|
|
userid = order_list[0]['userID__userID']
|
|
|
username = order_list[0]['userID__username']
|
|
|
UID = order_list[0]['UID']
|