2011-09-27 12:48:11 +00:00
|
|
|
PAYMENT_TYPE_NONE = 0
|
|
|
|
PAYMENT_TYPE_INSTANT = 1
|
|
|
|
PAYMENT_TYPE_AUTHORIZATION = 2
|
|
|
|
|
2011-12-14 13:30:37 +00:00
|
|
|
EXECUTE_TYPE_NONE = 0
|
|
|
|
EXECUTE_TYPE_CHAINED_INSTANT = 1
|
|
|
|
EXECUTE_TYPE_CHAINED_DELAYED = 2
|
|
|
|
EXECUTE_TYPE_PARALLEL = 3
|
|
|
|
|
2011-09-27 12:48:11 +00:00
|
|
|
TARGET_TYPE_NONE = 0
|
|
|
|
TARGET_TYPE_CAMPAIGN = 1
|
|
|
|
TARGET_TYPE_LIST = 2
|
2011-12-03 00:37:27 +00:00
|
|
|
TARGET_TYPE_DONATION = 3
|
2011-09-27 12:48:11 +00:00
|
|
|
|
2012-04-20 19:59:08 +00:00
|
|
|
TRANSACTION_STATUS_NONE = 'None'
|
|
|
|
TRANSACTION_STATUS_COMPLETE = 'Complete'
|
|
|
|
TRANSACTION_STATUS_PENDING = 'Pending'
|
|
|
|
TRANSACITON_STATUS_COMPLETE_PRIMARY = 'Complete Primary'
|
|
|
|
TRANSACITON_STATUS_COMPLETE_SECONDARY = 'Complete Secondary'
|
|
|
|
TRANSACTION_STATUS_ACTIVE = 'Active'
|
|
|
|
TRANSACTION_STATUS_INCOMPLETE = 'Incomplete'
|
|
|
|
TRANSACTION_STATUS_ERROR = 'Error'
|
|
|
|
TRANSACTION_STATUS_CANCELLED = 'Cancelled'
|
|
|
|
TRANSACTION_STATUS_REFUNDED = 'Refunded'
|
|
|
|
|
2012-01-03 18:37:20 +00:00
|
|
|
# these two following parameters are probably extraneous since I think we will compute dynamically where to return each time.
|
2011-10-14 17:52:17 +00:00
|
|
|
COMPLETE_URL = '/paymentcomplete'
|
|
|
|
CANCEL_URL = '/paymentcancel'
|