Browse Source

paypal支付打印

lang 3 years ago
parent
commit
b33a0fcced
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Controller/PaymentCycle.py

+ 2 - 0
Controller/PaymentCycle.py

@@ -321,6 +321,8 @@ class PaypalCycleNotify(View):
 
                     # 订阅续费订单(如果完成周期数`不是0, 则说明是续费订单,)
                     if billing_agreement.agreement_details.cycles_completed == '0':
+                        logger.info('----billing_agreement----')
+                        logger.info(billing_agreement)
                         logger.info('订阅续费订单完成周期数==0,结束')
                         return HttpResponse('success')
                     oldOrderID = billing_agreement.description