Commit Graph

191 Commits

Author SHA1 Message Date
Angus McLeod ae793ad247 Add setting for monthly total and other minor improvements 2018-09-24 10:17:53 +10:00
Angus McLeod b4fd0287ed Add meta link 2018-09-22 17:48:38 +10:00
Angus McLeod d58c04a592 only show cause UI in cause categories 2018-09-22 17:09:06 +10:00
Angus McLeod 45ece34200 Add donations causes 2018-09-22 14:03:30 +10:00
Angus McLeod 8453d5cc03 various 2018-06-25 18:14:50 +10:00
Angus McLeod d55d149d7d Add recurring donations 2018-06-21 19:00:43 +10: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
Angus McLeod ccf7f1b73b Save and reuse stripe customer id when user is present 2018-02-02 16:06:43 +08: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 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
Angus McLeod c2fa248b79 Include stripe js && inherit from the application controller 2017-11-08 08:45:18 +08:00
Chris Beach 6814c80540 Stripe Checkout can be created via BBCode markup 2017-10-09 08:39:21 +01:00
Rimian Perkins 70b928707f disable the button as soon as it is clicked 2017-05-29 10:48:32 +10:00
Rimian Perkins 850ddd1cf7 remove auto create theme 2017-05-25 08:59:11 +10:00
Rimian Perkins dfd9e451c3 handle fails from stripe 2017-05-24 12:22:00 +10:00
Rimian Perkins 17a43740d6 fix missing strong param 2017-05-23 14:32:52 +10:00
Rimian Perkins c48aa0dc67 bump 2017-05-18 15:03:57 +10:00
Rimian Perkins bafa91f255 initial create user job 2017-05-04 17:23:41 +10:00
Rimian Perkins c80a003922 Merge branch 'theme-fix' into anon-users 2017-05-03 10:55:34 +10:00
Rimian Perkins 9e7809137a doh! typo 2017-05-03 10:27:38 +10:00
Rimian Perkins 1449a1179d Refactor .set_feild as per this commit: 946f25098f 2017-05-03 10:19:47 +10:00
Rimian Perkins 0a87d8274f only grant badge when they are enabled 2017-05-01 11:32:59 +10:00
Rimian Perkins b99ec2e9e8 only grant badge when they are enabled 2017-05-01 11:31:11 +10:00
Rimian Perkins 88c13f11a2 upgrade stripe 2.4.0 > 2.8.0 2017-05-01 10:48:40 +10:00
Rimian Perkins 219444eab2 empty badge grant job 2017-04-27 18:47:27 +10:00
Rimian Perkins b94a01359a require the job in plugin 2017-04-27 16:35:28 +10:00
Rimian Perkins a5fa347d6b Bump 2017-04-26 12:06:33 +10:00
Rimian Perkins 7a6c9b83b7 merge in master 2017-04-24 13:07:10 +10:00
Rimian Perkins 51087d53a3 bumpus stripe 2017-04-20 11:11:56 +10:00
Rimian Perkins e09b852361 normalize the message from stripe 2017-04-20 11:09:59 +10:00
Rimian Perkins d98ba20d0d Implement new Theme
* remove old SiteCustomization (deprecated)
* Create a theme and add a field for the header
2017-04-20 10:17:24 +10:00
Rimian Perkins a0711a6a6c Implement new Theme
* remove old SiteCustomization (deprecated)
* Create a theme and add a field for the header
2017-04-19 12:51:15 +10:00
Rimian Perkins 66094fdfdd check for empty email 2017-04-05 09:49:57 +10:00
Rimian Perkins 5d3db5373b respond with empty json if email does not exist 2017-04-04 12:00:23 +10:00
Rimian Perkins 2d8878b0b7 upgrade stripe gem 2017-03-30 10:40:43 +11:00
Rimian Perkins 667f15d716 rm old profile templates and route 2017-03-20 13:18:07 +11:00
Rimian Perkins aab03c102f upgrade stripe gem minor version 2017-03-20 12:24:12 +11:00
Rimian Perkins 9ddeba4b2b bump with old code removed 2017-03-16 11:56:59 +11:00
Rimian Perkins cc47e88bc9 old code gone 2017-03-16 11:40:09 +11:00
Rimian Perkins 567754de92 typo and translations 2017-03-16 05:09:08 +11:00
Rimian Perkins 261c0dfbcc donation description 2017-03-14 13:31:20 +11:00
Rimian Perkins 1933272154 add a success message 2017-03-13 15:26:48 +11:00
Rimian Perkins c5697df70d format currency 2017-03-10 13:34:24 +11:00
Rimian Perkins 5468cac161 add settings for currency and hide post code 2017-03-07 15:21:51 +11:00
Rimian Perkins 17d9fe8289 fix path 2017-03-07 11:17:33 +11:00
Rimian Perkins 39bbde5760 only show link for current user 2017-03-06 15:38:07 +11:00
Rimian Perkins 011ae1b2be add an extra nav item 2017-03-06 14:44:11 +11:00
Rimian Perkins 736146854b disable and use same result for error and success 2017-03-06 12:34:03 +11:00
Rimian Perkins 7f8330cb62 add spinner and use button template 2017-03-06 11:12:22 +11:00
Rimian Perkins 9a0f3741ca remove header script 2017-03-03 10:17:38 +11:00
Rimian Perkins 8eea4337af use jquery to render a link where there is no plugin outlet 2017-03-02 16:39:05 +11:00
Rimian Perkins f0228b9d5a enable settings 2017-02-28 13:37:21 +11:00
Rimian Perkins c0ddd25198 remove settings yaml config 2017-02-28 13:23:23 +11:00
Rimian Perkins a3d536aa05 bumpus 2017-02-28 12:40:09 +11:00
Rimian Perkins b6a4d5dc8e whoops forgot test code 2017-02-27 14:26:50 +11:00
Rimian Perkins 5c33b0f85b bump with settings fix 2017-02-27 14:23:18 +11:00
Rimian Perkins 65317324f2 only show the link when the plugin is enabled 2017-02-27 12:52:00 +11:00
Rimian Perkins a77cf00504 update name space in locales 2017-02-27 11:52:34 +11:00
Rimian Perkins 2f7a67629c custom header name space and remove delete old 2017-02-27 11:49:01 +11:00
Rimian Perkins 3c1b351d3b bump 2017-02-24 14:18:59 +11:00
Rimian Perkins 3a428d17f0 name space the rails things 2017-02-24 13:23:11 +11:00
Rimian Perkins 8802539575 name space plugin and travis 2017-02-24 12:42:59 +11:00
Rimian Perkins 551b578b21 add the amount as a combo-box 2017-02-23 12:48:06 +11:00
Rimian Perkins 08e0e47d3e add some labels and the user table 2017-02-23 11:50:25 +11:00
Rimian Perkins 42fc79c232 wrap elements in template framework and some i18n implementation 2017-02-23 11:04:04 +11:00
Rimian Perkins 72a35cd738 upgrade strip gem ~> 2.0 2017-02-23 10:31:30 +11:00
Rimian Perkins b490a94b82 bump with var scope fix 2017-02-23 09:35:12 +11:00
Rimian Perkins 5dc2cccc38 bump with stripe form 2017-02-20 11:43:12 +11:00
Rimian Perkins 00cf25ee65 add the third party js my registering some html in the header 2017-02-17 13:15:32 +11:00
Rimian Perkins de9a5cb6f9 stripe elements form submits a payment to stripe api 2017-02-16 16:29:42 +11:00
Rimian Perkins 0c6b77b93a refactor module name space 2017-02-15 13:03:58 +11:00
Rimian Perkins 1a20224481 rename engine file 2017-02-15 12:36:38 +11:00
Rimian Perkins 6867f584be merge in staging 2017-02-14 13:39:14 +11:00
Rimian Perkins 99758dcaa9 change routes 2017-02-14 10:28:07 +11:00
Rimian Perkins 3f32c212d8 rename to "payments" 2017-02-14 10:11:10 +11:00
Rimian Perkins adeeea3fbb add url yo 2017-02-13 13:55:00 +11:00
Rimian Perkins e32e7b9def fix assertion 2017-02-13 13:50:48 +11:00
Rimian Perkins ac2d772843 bump with user page changes 2017-02-13 11:58:52 +11:00
Rimian Perkins f5cf206bce bump yo 2017-02-10 15:13:51 +11:00
Rimian Perkins c0529c5bdb a child page at user/:username/choice 2017-02-10 15:10:47 +11:00
Rimian Perkins b2321ba965 move payment button into choice page and make a link 2017-02-09 12:17:25 +11:00
Rimian Perkins 8d7b50a7ae inital empty page 2017-02-07 13:56:22 +11:00
Rimian Perkins a1d1c122ed move into engine.rb 2017-02-06 12:11:48 +11:00
Rimian Perkins 35ac1bc3c3 Transaction works. Still need to tidy up response 2017-02-02 11:49:22 +11:00
Rimian Perkins 853c94a72e set some env vars and create some stripe account stuff 2017-02-01 13:35:18 +11:00
Rimian Perkins 26a55918ff specify gem. the hacky loader thing requires it 2017-02-01 11:44:55 +11:00
Rimian Perkins 15a5956de9 add gem as per https://meta.discourse.org/t/plugin-using-own-gem/50007 2017-02-01 11:35:21 +11:00
Rimian Perkins df810c3613 controller, helper and routes 2017-01-31 13:28:41 +11:00
Rimian Perkins f6c9977c7a initial stripe checkout button that posts to staging 2017-01-30 12:35:04 +11:00