Commit Graph

286 Commits (a2329de3b1dafc70fce2e72742ae3fbb853342f6)

Author SHA1 Message Date
eric 800d0ffdeb cleanup of css and js imports, also mapping 2013-03-08 14:16:24 -05:00
eric d6a8dedfaa mailchimp ops now example.org aware, test users, now all changed to example.org 2013-03-06 09:39:06 -05: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
Andromeda Yelton be6a1082c2 whoa, urlencode takes dicts and this was failing silently all along 2012-12-11 13:07:09 -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 ecea475419 a few modifications to pledge_failed notice 2012-11-21 11:40:19 -08:00
Raymond Yee cbac6f1e3c First round of edits to get pledge_charged and pledge_failed notices to be parallel. tests passing 2012-11-21 09:21:01 -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 f2bb53f132 recharge signal being fired now 2012-11-12 12:48:03 -08:00
Raymond Yee a90f133166 First pass at writing a signal handler to recharge transaction if account updated 2012-11-12 11:22:20 -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 96b62aa163 basic skeleton for test based on loading fixture
keep the signals for create userprofile, wishlist, and credit from firing if fixtures being loaded
2012-10-31 11:08:46 -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
Raymond Yee df17c3c865 Merge branch 'master' into webhooks 2012-10-17 09:08:27 -07:00
eric 48be5a1191 xhtml nits 2012-10-15 10:28:31 -04:00
Raymond Yee cf433386e8 starting to make it easier to put stripelib in test mode 2012-10-15 06:24:12 -07:00
Raymond Yee 51e17e6886 Merge branch 'master' of github.com:Gluejar/regluit 2012-10-14 21:52:43 -07:00
Raymond Yee c16df417e6 Hello world of IPN 2012-10-14 21:16:15 -07:00
eric bda3211a76 user can manage their account credit card [#37674369] 2012-10-14 23:41:17 -04:00
eric 1c557e1488 fix reference to Donation Credit canceler 2012-10-14 22:08:34 -04:00
Raymond Yee d8a30a733a Add a log message for loading of keys in stripelib 2012-10-13 16:42:24 -07:00
Raymond Yee f152bc97b1 Merge branch 'reuse_account'
Conflicts:
	frontend/views.py
2012-10-13 16:19:45 -07:00
eric 5bde0da8ca [#37716025] reuse a user's credit card 2012-10-13 13:45:46 -04:00
eric dbacb5a96d max_amount, not amount before the authorization 2012-10-13 13:38:39 -04:00
Raymond Yee b904cb1f28 Fixed a bug in the logging statement that had mismatched # of parameters 2012-10-13 08:23:07 -07:00
eric 2ae6942f4f better to not have logging of tokens 2012-10-13 00:48:46 -04:00
eric 476ce46dab display and notifications of acknowledgements 2012-10-12 23:45:09 -04:00
eric 6a1646f749 fixed bad method signature 2012-10-12 22:25:48 -04:00
eric be3f989d36 although "up_or_down" not distinguished, should make it return what it says it is 2012-10-12 18:18:55 -04:00
eric 7d21e60984 if view expects one acct peruser, dont give it multiple accounts! [#36797599] 2012-10-12 16:03:50 -04:00
Raymond Yee b0858ea12e add a payment.manager.PaymentManager.retrieve_or_make_accounts
Made a change in make_account signature to allow for token=None
2012-10-12 07:44:50 -07:00