summaryrefslogtreecommitdiff
path: root/billing/app/controllers
AgeCommit message (Collapse)Author
2014-04-11move engines into engines directoryAzul
Also renamed help to support so it's harder to confuse it with documentation
2014-02-10rename authorize to require_loginAzul
authorize_admin -> require_admin also add require_token which will ensure token has been used for auth.
2013-12-17Merge branch 'develop' into feature/billing-no-authenticated-paymentsjessib
Conflicts: billing/config/locales/en.yml
2013-10-17Some cleanup of code to deal with past due subscriptions.jessib
2013-10-15Add permissions to subscriptions index, and fix test to stub the ↵jessib
subscription's balance.
2013-10-10Admins can cancel pastdue subscriptions, but users cannot cancel their own ↵jessib
pastdue subscription, as then admins won't be able to search for them.
2013-10-08Consider pending & past due subscriptions as 'active' in the sense that they ↵jessib
should prevent one from adding a new subscription.
2013-10-08Payments made when authenticated will be donations, and not connected to ↵jessib
customer in any way.
2013-10-01Allow admins to view past-due subscriptions.jessib
2013-09-18test subscription owner via credit card not transactionsAzul
There might not have been any transactions. Fixes the functional test
2013-09-09First run at having admins cancel user subscriptions.jessib
2013-08-30also replace find_by_param in billing engineAzul
2013-08-22Some more billing cleanup.jessib
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-06Some more tweaks to have billing code work, and allow admins to view but not ↵jessib
edit for other users.
2013-08-01Start to functionality for admins viewing billing of other users.jessib
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-23Some navigation tweaks.jessib
2013-07-22Slight tweaks so navigation basically should work with billing.jessib
2013-07-17billing: helper for the typical BraintreeFormAzul
2013-07-17billing: functional test for payments controllerAzul
2013-07-17billing: update customer records - do not create new onesAzul
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-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-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
2013-07-17Let users select amount for payments.jessib
2013-07-17More working subscriptions.jessib
2013-07-17Adding some links, which will be removed.jessib
2013-07-17Needs much work, but basic start to recurring payments.jessib
2013-07-17One Braintree customer per user, and some permissions checks (will need to ↵jessib
change for admins.)
2013-07-17Unauthenticated users can make single payments (like donations), but ↵jessib
payments from authenticated users will be as a Braintree Customer stored in the braintree vault.
2013-07-17Start to adding customers to braintree vault.jessib
2013-07-17Basic functionality for one time transactions using Braintree's transparent ↵jessib
redirect API based from https://github.com/braintree/braintree_ruby_examples/tree/master/rails3_tr_checkout (very little changes were required)