Commit Graph

93 Commits

Author SHA1 Message Date
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 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 d563cd1ddd Working checkout_controller.rb that charges Stripe
* Add billing address setting
2017-10-19 23:51:05 +01:00
Chris Beach 20a38095dd Enable checkout route 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 943343ffa4 Use siteSettings properly 2017-10-12 02:13:20 +01:00
Chris Beach 92639a483f Fix discourse-markdown 2017-10-12 00:37:29 +01:00
Chris Beach 8fdd5dad27 Revert removal of donate menu item 2017-10-11 23:58:22 +01: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 8b21d44bc9 Change the route to something meaningful 2017-05-18 14:57:27 +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
Rimian Perkins 4a2f13f32c end transaction when email is empty 2017-04-04 13:25:51 +10:00
Rimian Perkins 3fa6130f23 normalise the message in the response 2017-04-04 13:10:31 +10:00
Rimian Perkins 7754513b49 do not create the transaction if it has already happened 2017-04-03 12:49:23 +10:00
Rimian Perkins b565f69fc6 abstract out create user 2017-04-03 11:05:22 +10:00
Rimian Perkins e0b2bd522b format html in result message 2017-04-03 09:47:01 +10:00
Rimian Perkins 5f4be82278 add challenge values to params 2017-03-29 15:26:34 +11:00
Rimian Perkins 191a973688 get the info for security challenge 2017-03-29 14:29:07 +11:00
Rimian Perkins ed9c847669 create accounts only for anon users 2017-03-22 15:05:06 +11:00
Rimian Perkins 3896866d5b send another ajax request to create account 2017-03-22 13:56:45 +11:00
Rimian Perkins f77ddeba31 create a user account 2017-03-21 11:52:48 +11:00
Rimian Perkins 35f8c17e91 initial create account fields 2017-03-20 14:33:17 +11:00
Rimian Perkins 667f15d716 rm old profile templates and route 2017-03-20 13:18:07 +11:00
Rimian Perkins ad843760e9 add some padding at the top 2017-03-20 13:15:56 +11:00
Rimian Perkins 92e5bf76d7 add anon payments 2017-03-20 12:24:39 +11:00
Rimian Perkins 96ca372b86 initital template 2017-03-20 12:24:39 +11:00
Rimian Perkins cc47e88bc9 old code gone 2017-03-16 11:40:09 +11:00
Rimian Perkins 5b982cf1d6 Merge branch 'messages' into staging 2017-03-13 15:29:17 +11:00
Rimian Perkins a80272caff title and navigation item can be different 2017-03-13 15:28:50 +11:00
Rimian Perkins 3dd9f8c393 Merge branch 'messages' into staging 2017-03-13 15:26:56 +11:00
Rimian Perkins 1933272154 add a success message 2017-03-13 15:26:48 +11:00
Rimian Perkins d92ba3f8cd Merge branch 'currency_format' into staging 2017-03-13 11:19:31 +11:00
Rimian Perkins 057d204b87 use let keyword and toggle plugin off by default 2017-03-13 11:19:10 +11:00
Rimian Perkins 5f5c664f42 Merge branch 'currency_format' into staging 2017-03-10 13:34:40 +11:00
Rimian Perkins c5697df70d format currency 2017-03-10 13:34:24 +11:00
Rimian Perkins 19a6a8a462 add the currency code and symbol to the template 2017-03-10 11:06:58 +11:00
Rimian Perkins 81452318af Merge branch 'settings' into staging 2017-03-07 15:22:02 +11:00
Rimian Perkins 5468cac161 add settings for currency and hide post code 2017-03-07 15:21:51 +11:00
Rimian Perkins 5221c5cd97 Merge branch 'master' into staging 2017-03-07 11:17:56 +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 367a1e91e2 only show link for current user 2017-03-06 15:37:22 +11:00
Rimian Perkins a9e687383b Merge branch 'navigation-button' into staging 2017-03-06 14:44:26 +11:00