Commit Graph

95 Commits

Author SHA1 Message Date
Rimian Perkins 1c87a87bd6 refactor the rewards interface for extensibility 2017-04-24 10:06:47 +10:00
Rimian Perkins 9acaf51307 explicitly specify group name 2017-04-24 06:05:51 +10:00
Rimian Perkins f383a0c4f9 add rewards to response 2017-04-21 14:26:53 +10:00
Rimian Perkins c3fe90f4d1 empty rewards 2017-04-21 12:08:52 +10:00
Rimian Perkins b2393cb2aa add the current user to a group when the payment is successful 2017-04-21 10:26:43 +10:00
Rimian Perkins e09b852361 normalize the message from stripe 2017-04-20 11:09:59 +10:00
Rimian Perkins 0d078c6131 the message 2017-04-19 10:43:40 +10:00
Rimian Perkins 81a42af4d9 fix improper param key 2017-04-07 03:22:53 +10:00
Rimian Perkins 392478adf3 implement service 2017-04-06 14:22:22 +10:00
Rimian Perkins 316dc61af5 add discourse stripe service 2017-04-06 14:16:05 +10:00
Rimian Perkins 66094fdfdd check for empty email 2017-04-05 09:49:57 +10:00
Rimian Perkins 906952a11a check account create and email is not empty 2017-04-04 15:05:50 +10:00
Rimian Perkins aaff445019 check email is not empty 2017-04-04 14:34:33 +10:00
Rimian Perkins 6717317717 expect a username if an account is being created 2017-04-04 13:44:13 +10:00
Rimian Perkins 3fa6130f23 normalise the message in the response 2017-04-04 13:10:31 +10:00
Rimian Perkins 5d3db5373b respond with empty json if email does not exist 2017-04-04 12:00:23 +10:00
Rimian Perkins 391171d560 respond with empty json if email does not exist 2017-04-04 11:18:35 +10:00
Rimian Perkins 3896866d5b send another ajax request to create account 2017-03-22 13:56:45 +11:00
Rimian Perkins 61361bb69d approve user 2017-03-21 14:28:26 +11:00
Rimian Perkins e26b73a57d fix tests, active user 2017-03-21 12:49:31 +11:00
Rimian Perkins f77ddeba31 create a user account 2017-03-21 11:52:48 +11:00
Rimian Perkins 92e5bf76d7 add anon payments 2017-03-20 12:24:39 +11:00
Rimian Perkins 261c0dfbcc donation description 2017-03-14 13:31:20 +11:00
Rimian Perkins 5468cac161 add settings for currency and hide post code 2017-03-07 15:21:51 +11:00
Rimian Perkins c0ddd25198 remove settings yaml config 2017-02-28 13:23:23 +11:00
Rimian Perkins 3a428d17f0 name space the rails things 2017-02-24 13:23:11 +11:00
Rimian Perkins 72a35cd738 upgrade strip gem ~> 2.0 2017-02-23 10:31:30 +11:00
Rimian Perkins 9ed1af4538 catch the error and render charge json 2017-02-22 11:12:19 +11:00
Rimian Perkins d6a00ae888 post data from stripe form 2017-02-22 10:21:42 +11:00
Rimian Perkins de9a5cb6f9 stripe elements form submits a payment to stripe api 2017-02-16 16:29:42 +11:00
Rimian Perkins e1778d6bd8 sample ajax request 2017-02-15 14:10:52 +11:00
Rimian Perkins 4d2c52e3f2 refactor controller name 2017-02-15 13:30:28 +11:00
Rimian Perkins 0c6b77b93a refactor module name space 2017-02-15 13:03:58 +11:00
Rimian Perkins 938983341a enable the transcation 2017-02-15 11:44:34 +11:00
Rimian Perkins 46a13af63a controller tests create response 2017-02-15 11:40:00 +11:00
Rimian Perkins c0529c5bdb a child page at user/:username/choice 2017-02-10 15:10:47 +11:00
Rimian Perkins 8d7b50a7ae inital empty page 2017-02-07 13:56:22 +11:00
Rimian Perkins fd52e67026 return json 2017-02-02 13:11:10 +11:00
Rimian Perkins 35ac1bc3c3 Transaction works. Still need to tidy up response 2017-02-02 11:49:22 +11:00
Rimian Perkins 39a53c8cd3 whoops! 2017-02-01 16:30:26 +11:00
Rimian Perkins 504bfbd677 get the badge 2017-02-01 16:16:42 +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 df7607043a stripe button requests mounted engine 2017-01-31 14:21:27 +11:00
Rimian Perkins 823d07a247 change controller method yo 2017-01-31 13:59:42 +11:00
Rimian Perkins df810c3613 controller, helper and routes 2017-01-31 13:28:41 +11:00