Explorar o código

打印网络钩子

zhangdongming %!s(int64=3) %!d(string=hai) anos
pai
achega
3e60850e02
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Controller/PaymentCycle.py

+ 1 - 0
Controller/PaymentCycle.py

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