Commit Graph
510 Commits
Author SHA1 Message Date
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 5723b91ba2 Donation form style updates 2018-06-21 19:00:19 +10:00
Chris Beach a6712676d2 Update .travis.yml to upgrade ruby version 2018-05-27 13:45:12 +01:00
Chris Beach 76c5641041 Merge pull request #10 from chrisbeach/amount_setting
Make donation amounts a customisable setting
2018-02-02 12:28:19 +00:00
Angus McLeod 446cc75cbc Make donation amounts a customisable setting 2018-02-02 19:49:58 +08:00
Chris Beach 96b09333ad Merge pull request #9 from chrisbeach/transaction_fee
Add ability to allow donor to include stripe transaction fee in their donation
2018-02-02 10:33:16 +00: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 23e30c7db8 Merge pull request #7 from chrisbeach/donate_page_description
Add page description setting
2018-02-02 07:38:18 +00:00
Angus McLeod 19f197e780 Add page description setting 2018-02-02 13:43:20 +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 c6f416788c Hide nav link if plugin disabled 2018-01-17 23:10:15 +00:00
Chris Beach a16fdf57ef Merge pull request #6 from chrisbeach/post_donate_button_fix
Move script to jquery insertion on render
2017-11-27 08:15:44 +00:00
Angus McLeod 23bc79513a Rm test element 2017-11-27 10:39:32 +08:00
Angus McLeod bcebbd583b Move script to jquery insertion on render 2017-11-27 10:28:21 +08:00
Chris Beach 41ffb0c437 update readme 2017-11-26 14:09:06 +00:00
Chris Beach 35dd123264 fix tests 2017-11-26 12:41:39 +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
Chris Beach 876edfc0d7 Improve README 2017-11-14 01:06:18 +00:00
Chris Beach 5c281cf9ef Merge pull request #4 from chrisbeach/stripe-injection
Add stripe injection to <head> in plugin.rb
2017-11-12 10:02:13 +00:00
Angus McLeod fc8f7560cf fix build by skipping check_xhr 2017-11-12 11:37:21 +08:00
Angus McLeod e4f420a96e add stripe script in plugin.rb 2017-11-12 11:16:47 +08:00
Angus McLeod c22ef46224 rm stripe.js from build
It needs to be loaded directly.

https://stripe.com/docs/stripe-js/reference#including-stripejs
2017-11-12 11:01:08 +08:00
Chris Beach a2fac9a4ff Merge pull request #2 from angusmcleod/suggested_improvements
Include stripe_js && inherit from the application controller
2017-11-08 08:08:18 +00:00