mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
25 lines
No EOL
660 B
Python
Executable file
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() |