mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding paypal logging.
This commit is contained in:
parent
34cd2f4b8e
commit
2e429dd293
1 changed files with 2 additions and 0 deletions
2
vendor/paypal/standard/ipn/models.py
vendored
2
vendor/paypal/standard/ipn/models.py
vendored
|
@ -7,6 +7,7 @@ from six.moves.urllib.request import urlopen
|
|||
|
||||
from paypal.standard.models import PayPalStandardBase
|
||||
from paypal.standard.ipn.signals import payment_was_flagged, payment_was_refunded, payment_was_reversed, payment_was_successful, recurring_create, recurring_payment, recurring_cancel, recurring_skipped, recurring_failed, subscription_cancel, subscription_signup, subscription_eot, subscription_modify
|
||||
from utils import log as logging
|
||||
|
||||
|
||||
class PayPalIPN(PayPalStandardBase):
|
||||
|
@ -45,6 +46,7 @@ class PayPalIPN(PayPalStandardBase):
|
|||
if self.is_recurring_create():
|
||||
recurring_create.send(sender=self)
|
||||
elif self.is_recurring_payment():
|
||||
logging.debug(" ---> ~SN~FBSending signal for recurring_payment: ~SB%s~SN." % recurring_payment.receivers)
|
||||
recurring_payment.send(sender=self)
|
||||
elif self.is_recurring_cancel():
|
||||
recurring_cancel.send(sender=self)
|
||||
|
|
Loading…
Add table
Reference in a new issue