Browse Source

打印网络钩子

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

+ 1 - 0
Controller/PaymentCycle.py

@@ -309,6 +309,7 @@ class PaypalCycleNotify(View):
     @staticmethod
     @staticmethod
     def paypal_webhook_log(sub_id, **params):
     def paypal_webhook_log(sub_id, **params):
         params['agreement_id'] = sub_id
         params['agreement_id'] = sub_id
+        params['agreement_desc'] = 'webhook'
         PaypalWebHookEvent.objects.create(**params)
         PaypalWebHookEvent.objects.create(**params)
 
 
     def do_paypal_webhook_notify(self, request_dict, request, response):
     def do_paypal_webhook_notify(self, request_dict, request, response):