Commit Graph

77 Commits

Author SHA1 Message Date
Rimian Perkins fcfb826929 create the token and make the customer request 2019-10-11 12:26:01 +11:00
Rimian Perkins bb31deae89 basic subscribe page 2019-10-10 13:52:55 +11:00
Rimian Perkins 5d94ed8974 redirect to show page with payment id 2019-09-14 18:31:11 +10:00
Rimian Perkins c90d4b2f8e fix params 2019-09-13 14:34:06 +10:00
Rimian Perkins 4287e8aa5d load model 2019-09-13 13:52:41 +10:00
Rimian Perkins 404bede398 fix snake case 2019-09-13 13:46:32 +10:00
Rimian Perkins cb9af7c258 send the current user 2019-09-13 12:35:38 +10:00
Rimian Perkins 035187d843 pretty js 2019-09-12 17:47:44 +10:00
Rimian Perkins ba73e688f2 validate billing 2019-09-12 17:47:08 +10:00
Rimian Perkins 9b69c58be4 Add some billing details 2019-09-12 15:13:08 +10:00
Rimian Perkins c79541a48b pretty 2019-09-12 11:51:28 +10:00
Rimian Perkins 7ad42c9b48 combo box with amounts. use decimals 2019-09-12 11:21:27 +10:00
Rimian Perkins 55bab5d936 rm redundant component 2019-09-12 09:28:01 +10:00
Rimian Perkins 36c1731565 add success handler 2019-09-12 07:43:27 +10:00
Rimian Perkins fdd4d1ed5f yarn prettier 2019-09-12 07:14:16 +10:00
Rimian Perkins 11b2917254 eslint 2019-09-11 22:17:07 +10:00
Rimian Perkins a9434f5723 load in components 2019-09-11 20:37:23 +10:00
Rimian Perkins ee2be672f7 initial components 2019-09-11 20:19:50 +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 6d1c4dd28c deprecations and documentation 2019-08-28 19:02:56 +10:00
Rimian Perkins 32f883a7ad pretty code 2019-08-28 18:36:19 +10:00
Rimian Perkins e891eb1517 fix eslint, bump patch 2019-08-28 18:27:45 +10:00
Rimian Perkins 9b2ca50671 fix deprecations 2019-08-28 18:24:55 +10:00
Rimian Perkins e539c34653 apply the css colour to the card 2019-08-28 18:10:54 +10:00
Rimian Perkins 8d8e9f9ad1 abstract out the stripe component for easy future testing 2019-08-28 14:59:45 +10:00
Rimian Perkins f1de907c32 add the basic form 2019-08-27 22:05:30 +10:00
Rimian Perkins 0cb3a9acde format with prettier 2019-08-27 20:37:20 +10:00
Rimian Perkins f49c0c89a3 empty form component 2019-08-27 19:56:55 +10:00
Angus McLeod 45ece34200 Add donations causes 2018-09-22 14:03:30 +10:00
Angus McLeod 0260197e9e various 2018-06-28 13:46:02 +10:00
Angus McLeod 1b1eb215e4 various 2018-06-28 09:32:58 +10:00
Angus McLeod fd0b53c67c Properly validate email 2018-06-25 18:37:55 +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 446cc75cbc Make donation amounts a customisable setting 2018-02-02 19:49:58 +08:00
Angus McLeod e307a75a3b
Merge branch 'master' into transaction_fee 2018-02-02 17:47:53 +08:00
Angus McLeod e8e558c3e2 Add ability to allow donor to include stripe transaction fee in their donation 2018-02-02 17:43:54 +08:00
Chris Beach 9ec48bc6b1
Merge pull request #8 from chrisbeach/associate_stripe_customer_id_with_users
Save and reuse stripe customer id when user is present
2018-02-02 08:27:56 +00:00
Angus McLeod f46d3394cb BUGFIX: default amount should be 1
This seems to have been broken for a little while.

The bug was that if you just left the donation combo-box as is (i.e. at
‘1.00’), entered your card details and clicked ‘donate’ you would get
an error, because the default ``amount`` property was null rather than
0.
2018-02-02 16:19:21 +08: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
Rimian Perkins 70b928707f disable the button as soon as it is clicked 2017-05-29 10:48:32 +10:00
Rimian Perkins df205eb584 send create accounts param 2017-05-18 12:09:37 +10:00
Rimian Perkins c091676cb5 permit stripe token and amount 2017-05-18 10:46:11 +10:00
Rimian Perkins 13fe7ab7d5 remove second request to create user 2017-05-10 14:17:28 +10:00
Rimian Perkins 256b44ad60 messages are an array 2017-05-03 15:13:41 +10:00
Rimian Perkins 53ebcf4625 pluralize messages name space 2017-05-03 09:59:10 +10:00
Rimian Perkins 6717317717 expect a username if an account is being created 2017-04-04 13:44:13 +10:00