120 Commits

Author SHA1 Message Date
Rimian Perkins
d4afe93a5d delete plans 2019-09-25 13:20:28 +10:00
Rimian Perkins
1b232a1bd4 list plans 2019-09-25 11:18:11 +10:00
Rimian Perkins
bfdc8a5691 spec the plans 2019-09-24 20:57:42 +10:00
Rimian Perkins
a2d120c8b5 save plan model 2019-09-24 20:44:51 +10:00
Rimian Perkins
0d82bcf37e Plans, subscriptions
* Plans controller
* Subscription controller
* Clean admin controller
* Ember Plans route
* Index page
* New Plans
* Translations
2019-09-24 16:04:42 +10:00
Rimian Perkins
e1ed1a41b0 add initial controllers 2019-09-23 17:53:05 +10:00
Rimian Perkins
e004a18071 templates and routes for subscriptions 2019-09-23 15:01:03 +10:00
Rimian Perkins
910e08e4c9 flip ordering 2019-09-15 22:03:42 +10:00
Rimian Perkins
18cf0e7f26 FIX: ordering
* Fix broken user id
* ascending/descending
2019-09-15 21:44:10 +10:00
Rimian Perkins
ca62cad04e order the payments in admin 2019-09-15 21:00:39 +10:00
Rimian Perkins
a42e98ee5b error for user not permitted 2019-09-15 08:40:52 +10:00
Rimian Perkins
bc8ae3449d send the customer to the payment api 2019-09-14 21:00:56 +10:00
Rimian Perkins
ad5961a4c5 show the payment on the thankyou page 2019-09-14 20:54:13 +10:00
Rimian Perkins
1c89252918 render some json 2019-09-14 18:17:45 +10:00
Rimian Perkins
871cec9ec3 pretty js 2019-09-14 17:28:58 +10:00
Rimian Perkins
9631ddc7e5 format currency and user 2019-09-14 15:55:25 +10:00
Rimian Perkins
6fe149c4a5 basic admin interface 2019-09-14 12:56:28 +10:00
Rimian Perkins
b34e7ade8c a payment model is created 2019-09-13 22:03:29 +10:00
Rimian Perkins
c90d4b2f8e fix params 2019-09-13 14:34:06 +10:00
Rimian Perkins
404bede398 fix snake case 2019-09-13 13:46:32 +10:00
Rimian Perkins
7f7bd52552 return empty email if not current user 2019-09-13 12:58:17 +10:00
Rimian Perkins
cb9af7c258 send the current user 2019-09-13 12:35:38 +10:00
Rimian Perkins
32bf78fa9a send a description to the payment intent 2019-09-12 19:17:08 +10:00
Rimian Perkins
ce258d3d08 convert amount in param 2019-09-12 11:49:52 +10:00
Rimian Perkins
af97581911 stub stripe payment create 2019-09-11 19:55:35 +10:00
Rimian Perkins
2e3cdb0dcf fix routes. get specs passing 2019-09-11 19:11:02 +10:00
Rimian Perkins
ac267fabaf basic route and template 2019-09-11 17:13:12 +10:00
Rimian Perkins
78914e0511 Add new plugin files.
This gets the plugin running again without name collisions. A solid starting point
2019-09-11 13:19:07 +10:00
Rimian Perkins
6f826ce7a0 rubocop correct 2019-08-27 20:04:02 +10:00
Angus McLeod
ae793ad247 Add setting for monthly total and other minor improvements 2018-09-24 10:17:53 +10:00
Angus McLeod
45ece34200 Add donations causes 2018-09-22 14:03:30 +10:00
Angus McLeod
1b1eb215e4 various 2018-06-28 09:32:58 +10:00
Angus McLeod
8453d5cc03 various 2018-06-25 18:14:50 +10:00
Angus McLeod
90f5083fb6 Small fixes 2018-06-22 11:55:16 +10:00
Angus McLeod
d55d149d7d Add recurring donations 2018-06-21 19:00:43 +10:00
Angus McLeod
ccf7f1b73b Save and reuse stripe customer id when user is present 2018-02-02 16:06:43 +08:00
Chris Beach
dd7e86930f Include timestamp in messages to user.
Permit email param in checkout_controller
Fix failing tests
2018-01-18 00:21:41 +00:00
Chris Beach
df91a44277 fix client/server messages and locales
zip code should be a positive boolean not negative
remove dollar signs
fix stripe.rb method signature and charging logic
2017-11-26 12:24:27 +00:00
Angus McLeod
fc8f7560cf fix build by skipping check_xhr 2017-11-12 11:37:21 +08:00
Angus McLeod
38689a59d5 Inherit from the application controller 2017-11-08 08:58:38 +08:00
Angus McLeod
c2fa248b79 Include stripe js && inherit from the application controller 2017-11-08 08:45:18 +08:00
Chris Beach
d563cd1ddd Working checkout_controller.rb that charges Stripe
* Add billing address setting
2017-10-19 23:51:05 +01:00
Chris Beach
05a2629f8c Add checkout method 2017-10-19 23:51:05 +01:00
Chris Beach
238f4c4eb4 Include amount on form and increase logging 2017-10-19 23:51:05 +01:00
Chris Beach
18196c0a0a Revert "Debugging"
This reverts commit 991631c
2017-10-19 23:51:05 +01:00
Chris Beach
e556e75253 Revert "Debugging"
This reverts commit f6d862f
2017-10-19 23:51:05 +01:00
Chris Beach
d73e6b5004 Debugging 2017-10-19 23:51:05 +01:00
Chris Beach
37436d1adc Debugging 2017-10-19 23:51:05 +01:00
Chris Beach
340959c73b Fix failing tests (likely due to Discourse Rails upgrade) 2017-10-11 23:48:41 +01:00
Rimian Perkins
dfd9e451c3 handle fails from stripe 2017-05-24 12:22:00 +10:00