NewsBlur-viq/vendor/paypal/pro/signals.py
Samuel Clay 4d683a9870 Revert "Upgrading paypal ipn."
This reverts commit 2635ff7136.
2015-01-15 12:40:17 -08:00

25 lines
No EOL
660 B
Python
Executable file

from django.dispatch import Signal
"""
These signals are different from IPN signals in that they are sent the second
the payment is failed or succeeds and come with the `item` object passed to
PayPalPro rather than an IPN object.
### SENDER is the item? is that right???
"""
# Sent when a recurring payments profile is created.
payment_profile_created = Signal()
# Sent when a payment is successfully processed.
payment_was_successful = Signal() #providing_args=["item"])
# Sent when a payment is flagged.
payment_was_flagged = Signal() #providing_args=["item"])
recurring_cancel = Signal()
recurring_suspend = Signal()
recurring_reactivate = Signal()