2015-01-15 12:34:29 -08:00
from paypal . standard . signals import DeprecatedSignal
2010-10-16 18:59:02 -04:00
"""
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???
"""
2014-11-07 16:22:19 -08:00
# Sent when a recurring payments profile is created.
2015-01-15 12:34:29 -08:00
payment_profile_created = DeprecatedSignal ( " payment_profile_created is deprecated. Use the return value from createRecurringPaymentsProfile directly, or pass nvp_handler to PayPalPro " )
2014-11-07 16:22:19 -08:00
2010-10-16 18:59:02 -04:00
# Sent when a payment is successfully processed.
2015-01-15 12:34:29 -08:00
payment_was_successful = DeprecatedSignal ( " payment_was_successful is deprecated. Use the return value from doDirectPayment, doExpressCheckoutPayment, or pass nvp_handler to PayPalPro " )
2010-10-16 18:59:02 -04:00
2015-01-15 12:34:29 -08:00
payment_was_flagged = DeprecatedSignal ( " payment_was_flagged is deprecated. It has never done anything useful " )
2014-11-07 16:22:19 -08:00
2015-01-15 12:34:29 -08:00
recurring_cancel = DeprecatedSignal ( " recurring_cancel is deprecated. Use the return value from manangeRecurringPaymentsProfileStatus directly " )
2014-11-07 16:22:19 -08:00
2015-01-15 12:34:29 -08:00
recurring_suspend = DeprecatedSignal ( " recurring_suspend is deprecated. Use the return value from manangeRecurringPaymentsProfileStatus directly " )
2014-11-07 16:22:19 -08:00
2015-01-15 12:34:29 -08:00
recurring_reactivate = DeprecatedSignal ( " recurring_reactivate is deprecated. Use the return value from manangeRecurringPaymentsProfileStatus directly " )