Raymond Yee
272d795ded
Renaming the current functionality that has been named "cancel" to be "nevermind" because that functionality arose to support users changing their mind
...
The new PledgeCancel is a placeholder for the functionality I will build next to let users actually cancel existing transactions
Finally, I use the setting.PAYMENT_PROCESSOR to set the default value of Transaction.host ('paypal' or 'amazon')
2012-05-18 16:59:48 -07:00
Raymond Yee
58fbc843a9
Merging Jason's code in -- first and hopefully successful pass
...
Conflicts:
payment/manager.py
2012-05-14 11:52:01 -07:00
Raymond Yee
b07d6c267d
Customize paymentReason for amazon -- in Paypal, we don't have it wired up anywhere yet
2012-05-14 10:15:40 -07:00
Jason
55e388b4a3
Adding dynamic module selection for payment modules. Dynamic IPN selection for amazon payments. Bug Fixes
2012-05-11 07:19:13 -04:00
Jason
e09418a7a2
Updating paypal code to use common global transaciton status, fixing bugs in paypal interface with abstract payment manager class
2012-05-04 10:30:05 -04:00
icellama21
8ffbd49230
Adding stub for local status in paypal-paymentdetails
2012-04-21 01:08:29 -04:00
icellama21
e8b2619207
Adding payment transaction local_status, local IPN functions, separating payment execute and finish, and updates to the amazon FPS payment system
2012-04-20 15:59:08 -04:00
Raymond Yee
723f329e20
PayPal doesn't like iso formatted times using offsets if the offsets are different, as when the two timestamps are on the opposite side of a daylight savings shift. --> switch to sending Zulu time (time formatted in UTC with Z suffix)
2012-03-26 15:02:26 -07:00
Raymond Yee
0e61d7477a
[ #22756079 ] Changed name of constants (e.g., IPN_PAY_STATUS_ACTIVE to IPN_PREAPPROVAL_STATUS_ACTIVE to make the meaning of these constants clearer
...
Also fixed an error in how I'm using transaction management in regluit.test.campaigntest.support_campaign
2012-03-23 11:28:09 -07:00
Raymond Yee
6bd003b0c6
It turns out that we were sending "naive" timestamps to PayPal....now passing isoformat() of timezone aware versions of timestamp to PayPal
...
Added a isoformat method to regluit.utils.localdatetime to handle both naive and aware datetimes
2012-03-12 15:42:20 -07:00
Raymond Yee
9d7be4849a
BUG FIX: must use request.POST.get("approved", 'None') to get approved attribute in IPN
2012-01-11 13:58:29 -08:00
Raymond Yee
712b803334
PreapprovalDetails now capturing approved flag
...
partial work on IPN to capture approved flag
2012-01-11 13:47:56 -08:00
Raymond Yee
25bc05050a
Starting to refactor PaymentManager.checkStatus() to be able to handle transactions we pass in....first step is to factor out methods to handle Preapprovals vs Payments
2012-01-11 11:12:12 -08:00
icellama21
b0b6d83f75
Adding payment code for refund and modification of existing transactions
2012-01-05 01:42:05 -05:00
Raymond Yee
d3f25cd788
Added Receiver and PaymentResponse to admin interface
...
Dropping all Receiver and PaymentResponse in campaigntest.drop_all_transactions
Added a __unicode__ method to Receiver and PaymentResponse
Added some more documentation of PayPal status parameters
2012-01-03 13:37:20 -05:00
Raymond Yee
4c9bf21ce8
Got rid of a bunch of print statements
2011-12-21 13:49:24 -05:00
Raymond Yee
c055767173
set the expiry date based on the campaign deadline. There is a setting PREAPPROVAL_PERIOD_AFTER_CAMPAIGN for specifying how many days after the campaign deadline should we ask for a preapproval deadline. I've put in 90 days.
2011-12-20 14:56:01 -05:00
Raymond Yee
bad343e3d2
views.py: wiring in the email address of partnering non-profit
...
payment/manager.py: wire in the email address of the campaign recipient and the Gluejar commission rate
move the Gluejar commission rate to dev.py/prod.py
2011-12-19 18:34:30 -05:00
Jason
c2c3168e5a
Updating payment code to support delayed chained payments. Adding entry points for delayed execution of payments. Creating common parent class for all paypal transactions to more accurately track metadata
2011-12-14 08:30:37 -05:00
Jason
0d6bc2f68a
Adding prepaymentdetails api, enhanced error checking for paymentdetails API
2011-12-06 09:36:18 -05:00
Raymond Yee
48666339a9
Some documentation of paypal/Transaction model
2011-11-28 17:33:49 -08:00
Raymond Yee
57640ec7b2
First pass at unwiring campaign_detail from the real pledge view.
2011-11-28 15:39:06 -08:00
Raymond Yee
b6d9f7463d
More debugging messages
2011-11-23 11:39:51 -08:00
Raymond Yee
a9ab0e45e6
adding more debugging info about Paypal PAY and PREAPPROVAL
...
Getting rid of final '/' in prod.py: BASE_URL
2011-11-23 09:41:11 -08:00
Raymond Yee
e526c1c3c2
Forot to import sys!
2011-11-23 09:12:37 -08:00
Raymond Yee
5494b282cf
Trying to print out ipn info to stderr to see it in the Apache log
2011-11-23 09:07:07 -08:00
Jason
58eb67e0aa
Adding code to support embedded payments
2011-11-22 06:14:58 -05:00
Jason
f049e5ec91
Implementing check of paypal PAY transaction using PaymentDetails
2011-10-27 04:05:21 -04:00
Jason
9a6a3d260a
Adding unique tracking ID to paypal payments
2011-10-27 02:35:46 -04:00
Raymond Yee
8cab4dc425
First pass integration of preapproval into campaign pledge form
2011-10-18 16:27:20 -07:00
Raymond Yee
fa3dfe19a0
getting basic comparison of current status of a transaction with that in the database
2011-10-18 07:42:56 -07:00
Raymond Yee
38166177c4
First cut of PaymentDetails
...
small fix to explicitly calculate URI of PayPalIPN url pattern
update status of a PAY transaction to CREATED instead of leaving as None
2011-10-14 10:52:17 -07:00
Raymond Yee
e0f1ef50cc
Rewrote pledging to a campaign to integrate the testview into logic of CampaignFormView directly.
...
Allow configuration of where PayPal should return after transaction is completed.
2011-10-13 14:13:37 -07:00
Raymond Yee
ac7deebf9a
I had missed some settings that needed to be obtained from django.conf.settings
2011-10-07 09:53:30 -07:00
Raymond Yee
cdc02e8c6e
Some parameters defined in django.conf.settings had to set accordingly
2011-10-06 16:10:20 -07:00
Raymond Yee
d67d77a9a0
Changed currency amounts to DecimalField in core and payment
...
Added south migrations to payment
Changed print statements to logger.info in payment
Added primitive paymentcomplete page in payment
2011-10-05 17:56:20 -07:00
Jason
ed1732b4ec
Adding cancel,dispute,chargeback support, chained payments, user/list APIs, bug fixes
2011-10-01 08:01:40 -04:00
Jason
42cf499a6c
Adding Pre-approved payments
2011-09-29 03:50:07 -04:00
Jason
37b46d01c2
Adding pledge payment support
2011-09-27 08:48:11 -04:00