Commit Graph

82 Commits (6ff52f10e43c4f1ec3775d0b7d0a6196f439caf8)

Author SHA1 Message Date
eric 3337de9a2e Merge remote-tracking branch 'Gluejar/master' into dj111
# Conflicts:
#	core/tests.py
#	payment/tests.py
2018-04-25 16:23:00 -04:00
eric 146f26c5f8 deprecate django unittest 2018-04-19 21:26:29 -04:00
eric 39fdd9683a rip out dead code 2018-04-19 12:24:34 -04:00
eric cd35552026 add IPN events
(we ignored the old ones; now we ignore the new ones, too.
2018-01-07 20:21:48 -05:00
eric db97a98ae8 https 2017-07-27 10:33:13 -04:00
eric 417f9eac58 add donation box to homepage 2017-02-13 13:33:26 -05:00
Raymond Yee b10f8296ba needed to have unicode to handle non-ascii names in Stripe 2015-04-21 08:55:27 -07:00
eric 678eb02847 Thanks works with anonymous user 2014-02-20 15:56:10 -05:00
eric b5fd630bfc Thanks mostly works. 2014-02-19 22:18:23 -05:00
eric dd83434282 Fix error handling in Pay 2013-11-25 13:01:16 -05:00
eric 18f104c210 latent spelling error 2013-11-24 18:44:40 -05:00
eric 75ec13cb39 make sure the transaction isn't double charged! 2013-08-22 14:03:22 -04:00
eric 91f7c5f23d Remove some payment dependence on campaign details 2013-08-19 22:52:22 -04:00
eric c30c0de604 make recharge_failed_transactions a method on account
There were four places in the code that triggered the
recharge_failed_transactions signal and only one of them mattered. I
think this layout makes the code much easier to understand.
2013-08-05 14:37:46 -04:00
Raymond Yee 37ce78fda2 Merge branch 'master' into expiring_cc 2013-07-17 18:12:30 -07:00
Raymond Yee dabaa2f843 update tests to account for new events (now stripe allows multiple cards/customer and now generates card related events in addition to customer events) 2013-07-15 14:52:29 -07:00
Raymond Yee ccbc78a10c added a first pass for payment.tests.TransactionTest.test_paymentmanager_charge to illustrate use of PaymentManager.charge() -> hardwired for stripelib right now.... 2013-06-28 16:05:19 -07:00
Raymond Yee 3ff53dd5bc first pass at stripelib.Processor.Pay 2013-06-26 18:46:30 -07:00
Raymond Yee d3166d3aef Merge branch 'master' into instant_charge 2013-06-26 17:17:07 -07:00
eshellman 5a207bf4e8 Merge pull request #181 from Gluejar/simpler_download
Simpler download. Yay.
2013-06-26 11:39:39 -07:00
Raymond Yee 701533117f fixed some seemingly bad defaults in baseprocessor
basic pass at payment.manager.PaymentManager.charge
2013-06-25 15:34:20 -07:00
Raymond Yee 5e3fca0282 in stripelib.py, I am resurrecting PledgeScenarioTest
in manager.py, a very rough first pass at charge -- not working yet, but doesn't break things either
2013-06-24 16:19:12 -07:00
Raymond Yee 53178d80ce moving to stripe 1.9.1 2013-06-21 15:14:51 -07:00
Raymond Yee a36ff38745 extraneous creation of StripeClient 2013-06-20 13:39:06 -07:00
Raymond Yee c76a320912 * Comment out current payment.manager.PaymentManager.pledge -- tests run ok -- so it looks like I suspect: that we don't use that code and it's a hold-over from PayPal code
* stub for stripelib.Processor.Pay
2013-06-19 18:54:32 -07:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
Raymond Yee 9493897a42 [#41908015] 'incorrect_number' and 'processing_error' error should also result in pledge_failed notice ->
catch incorrect_number (and processing_error for now) for sending the pledge_failed notice
2013-01-03 14:10:05 -05:00
Raymond Yee 0db13cd84a [finish #40315289] I move the notice on transaction charged or failed from webhooks handler into stripelib.Processor.Execute 2012-11-29 16:24:51 -08:00
Raymond Yee ce6e7f865d tests pass on this commit 2012-11-20 13:56:14 -08:00
Raymond Yee c034e10b30 Putting in some code to record a PaymentResponse to track errors in stripelib.Execute 2012-11-20 09:28:10 -08:00
Raymond Yee f4deee8be4 Merge branch 'empty_stripe_token' into charge_failed 2012-11-14 11:43:29 -08:00
Raymond Yee 7fe502ecdf check for zero length stripe token 2012-11-14 11:42:52 -08:00
Raymond Yee a62c82df9b Merge branch 'empty_stripe_token' into charge_failed 2012-11-14 10:58:01 -08:00
Raymond Yee 346d4d8980 First step in patching the problem of null stripe_token 2012-11-14 10:53:19 -08:00
Raymond Yee 793d984ba3 Implemented basic transaction_failed signal and notices -- THEY STILL NEED WORK
Tests handle situation of transaction_failed too
2012-11-06 11:22:25 -08:00
Raymond Yee 7ea5ac7ca6 1) Now fire the transaction_charged signal in the Stripe webhook handling
2) add WebTest to requirements
3) have a check on possible Stripe events
2012-11-05 10:44:24 -08:00
Raymond Yee f6bf774f2c Test sending junk to webhook handler
Simulate sending events to the ipnhandler and check to see how many emails generated in test
2012-11-02 14:46:49 -07:00
Raymond Yee 9826951d36 Continuing to build out UnifiedCampaignTests -- now includes scenario where a pledge is made and charged -- and the corresponding Stripe events are polled and inspected 2012-11-01 14:06:11 -07:00
Raymond Yee a973015f04 Merge branch 'webhooks' of github.com:Gluejar/regluit into webhooks
Conflicts:
	payment/stripelib.py
2012-10-31 08:27:39 -07:00
Raymond Yee 30fd1332af Expanding functionality of stripelib.Processor.Execute -- better error handling 2012-10-31 08:23:13 -07:00
Raymond Yee 5df6dea26b Comment section stripelib.Processor.Execute that needs to be modified in light of how we now let users update the CC on file 2012-10-30 20:01:41 +00:00
Raymond Yee 32b20556c2 Skeleton for handling charge related webhooks 2012-10-30 11:17:09 -07:00
Raymond Yee b4b5437ff5 Now working -- can send email to RY for customer.created 2012-10-23 22:18:03 +00:00
Raymond Yee 29438050d1 test of sending email to RY upon customer.created event 2012-10-23 14:20:13 -07:00
Raymond Yee 8b2e1054e9 Start to break down the various type of events we'll need to handle 2012-10-23 09:29:47 -07:00
Raymond Yee 86aae9f18b Now ask Stripe for event info in ipn 2012-10-22 08:25:47 -07:00
Raymond Yee 5f75a17310 First pass at parsing json + log webhook 2012-10-22 07:50:52 -07:00
Raymond Yee 6af74af6e0 Added "from django.http import HttpResponse" 2012-10-22 06:55:30 -07:00
Raymond Yee b231011515 handle in a generic fashion all Stripe listable objects 2012-10-19 18:11:46 -07:00
Raymond Yee 8a85aa88d3 first cut at producing iterator interfaces to Stripe objects -- here I implement one for events
don't yield empty page in bookdata.py's grouper
remove extraneous import in gutenberg.py
expose stripe test key as a module variable to make it easier to create a StripeClient that will be in test mode (sc=StipeClient(api_key=TEST_STRIPE_SK))
2012-10-18 06:59:08 -07:00