summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-09fix billing tests to use user id with customer resourcesAzul
I think this is very confusing and should be changed to: resource :users do |user| user.resource :customer end
2013-08-08Merge pull request #1 from azul/braintree_conf_from_filejessib
Read Braintree config from file
2013-08-08Still a bit hacky, but catching some more corner cases as far as setting the ↵jessib
user variable, due to complication that an admin might be accessing data for another user.
2013-08-08read braintree configuration from config/config.ymlAzul
This can be set per environment and also is not tracked in git
2013-08-06Some more tweaks to have billing code work, and allow admins to view but not ↵jessib
edit for other users.
2013-08-06Fix stupid typo.jessib
2013-08-01Start to functionality for admins viewing billing of other users.jessib
2013-08-01Merge branch 'master' into billing_with_testsjessib
Conflicts: app/views/home/index.html.haml
2013-07-31added empty 'home' layout and removed debugger from homecontrollerelijah
2013-07-25Have navigation link to new customer form if user is not already a braintree ↵jessib
customer.
2013-07-23Maybe not optimized, but gets working.jessib
2013-07-23More little display cleanup.jessib
2013-07-23Some clean-up of billing display.jessib
2013-07-23Some navigation tweaks.jessib
2013-07-22Slight tweaks so navigation basically should work with billing.jessib
2013-07-17Merge pull request #63 from azul/bugfix/3201-fix-empty-config-errorazul
Fix breakage due to empty config file for a given env
2013-07-17Fix breakage due to empty config file for a given envAzul
2013-07-17require couchrest_session_store 0.1.3 - fixes updating the sessionAzul
2013-07-17billing: helper for the typical BraintreeFormAzul
2013-07-17fix account flow integration testAzul
not really sure what to do if the second step of srp auth is repeated.
2013-07-17billing bring back test for #with_braintree_data!Azul
2013-07-17billing: fix integration testAzul
This actually required three little fixes: * couchrest_session_store updated to 0.1.2 to make sure we store sessions * use BraintreeTestApp to proxy braintree requests that RackTest assumes are local * do not attempt to read status after a capybara request Also refactored the test a bit to set @user and login during setup.
2013-07-17billing: integration test creating customerAzul
2013-07-17billing: functional test for payments controllerAzul
2013-07-17billing: update customer records - do not create new onesAzul
2013-07-17billing: fix issue with customer.braintree_customerAzul
The default CouchRest Model belongs_to does not respect the class option. So we need to write our own getter method.
2013-07-17billing: functional tests reveal issue with customer.braintree_customerAzul
2013-07-17use fake_braintree, fix and test customer with braintree infoAzul
2013-07-17test non braintree parts of customer, validate userAzul
2013-07-17More cleanup of billing code.jessib
2013-07-17Fix issue with transparent redirect if form is first submitted incorrectly. ↵jessib
Based on: https://github.com/bvsatyaram/braintree_ruby_examples/commit/00f4852af60f0b1aae188fb11a9d5d06780d1539
2013-07-17Back to singular-customer controller, in hopes that would help some confusions.jessib
2013-07-17Some links at end of confirmation pages.jessib
2013-07-17Start to Readme for explaining how to test this locally with one's own sandbox.jessib
2013-07-17Note about knowing sort order for returned transactionsjessib
2013-07-17Display 3 most recent transactions on a customer's page, with a link to all ↵jessib
of their transactions.
2013-07-17Show single active subscription from user's page, with link to index showing ↵jessib
all the user's subscriptions.
2013-07-17Added notices to redirects.jessib
2013-07-17Very rough start to tests, which still doesn't really use FakeBraintree.jessib
2013-07-17Changing customers route to be plural.jessib
2013-07-17Some improvements to navigation, and pulling out separate show/edit views ↵jessib
for customers.
2013-07-17Basic functionality to edit credit card on file.jessib
2013-07-17Basic display of a customer's transaction informationjessib
2013-07-17Some permission checks for viewing/cancelling subscriptions.jessib
2013-07-17Allow subscriptions to be canceled.jessib
2013-07-17Displaying of user's subscription. Still not committed to whether user can ↵jessib
have multiple subscriptions at a time or not.
2013-07-17Much more efficient way to get a customer's subscriptions, thanks to ↵jessib
http://stackoverflow.com/questions/15910980/retrieving-a-braintree-customers-subscriptions
2013-07-17Display of subscription information on a customer's edit page. It is *super* ↵jessib
slow. Posted stackoverflow question as not clear if there is more efficient way to get this information via braintree API.
2013-07-17Some tweaks to optimize number of requests to braintree API.jessib
2013-07-17Some refactoringjessib