Rimian Perkins
8d24ff455e
have a dash board page
2019-10-08 21:59:20 +11:00
Rimian Perkins
19a03aa2ca
plan model with destroy and find
2019-10-08 19:37:22 +11:00
Rimian Perkins
6f9195a7d4
Create Plans
...
* rescue and respond to error from stripe
* save plan name and id
2019-10-08 15:55:38 +11:00
Rimian Perkins
99abd87c73
rm dup title; use nav items
2019-10-08 12:17:47 +11:00
Rimian Perkins
48af25b707
merge master
2019-10-08 11:48:31 +11:00
Rimian Perkins
89e53744ed
Hide disabled
...
* Do not show the form if the plugin is disabled
* Upgrade Stripe Gem
2019-10-08 11:36:48 +11:00
Rimian Perkins
bee940e672
url for edit
2019-09-27 09:42:32 +10:00
Rimian Perkins
9d982307d5
filter by deleted
2019-09-25 13:39:23 +10:00
Rimian Perkins
d4afe93a5d
delete plans
2019-09-25 13:20:28 +10:00
Rimian Perkins
1b232a1bd4
list plans
2019-09-25 11:18:11 +10:00
Rimian Perkins
a2d120c8b5
save plan model
2019-09-24 20:44:51 +10:00
Rimian Perkins
0d82bcf37e
Plans, subscriptions
...
* Plans controller
* Subscription controller
* Clean admin controller
* Ember Plans route
* Index page
* New Plans
* Translations
2019-09-24 16:04:42 +10:00
Rimian Perkins
dfef3c49cf
initial templates and routes
2019-09-24 15:20:07 +10:00
Rimian Perkins
308c8ea771
initial templates and routes
2019-09-24 15:18:58 +10:00
Rimian Perkins
e1ed1a41b0
add initial controllers
2019-09-23 17:53:05 +10:00
Rimian Perkins
e004a18071
templates and routes for subscriptions
2019-09-23 15:01:03 +10:00
Rimian Perkins
8b61747fbd
FEATURE: Upgrades, translations
...
* Name space the translations for extensibilty
* Upgrade the Stripe Gem
* Correct the plugin version in the Stripe setup info
2019-09-23 12:04:30 +10:00
Rimian Perkins
910e08e4c9
flip ordering
2019-09-15 22:03:42 +10:00
Rimian Perkins
18cf0e7f26
FIX: ordering
...
* Fix broken user id
* ascending/descending
2019-09-15 21:44:10 +10:00
Rimian Perkins
ca62cad04e
order the payments in admin
2019-09-15 21:00:39 +10:00
Rimian Perkins
a42e98ee5b
error for user not permitted
2019-09-15 08:40:52 +10:00
Rimian Perkins
ad5961a4c5
show the payment on the thankyou page
2019-09-14 20:54:13 +10:00
Rimian Perkins
5d94ed8974
redirect to show page with payment id
2019-09-14 18:31:11 +10:00
Rimian Perkins
b77c211a71
request index url not show
2019-09-14 18:21:43 +10:00
Rimian Perkins
d100de9d19
name not email
2019-09-14 17:56:37 +10:00
Rimian Perkins
871cec9ec3
pretty js
2019-09-14 17:28:58 +10:00
Rimian Perkins
813937dd22
intial load more
2019-09-14 17:04:02 +10:00
Rimian Perkins
0b8b89f1d4
link username
2019-09-14 16:53:07 +10:00
Rimian Perkins
cf46065635
show username
2019-09-14 16:34:51 +10:00
Rimian Perkins
9631ddc7e5
format currency and user
2019-09-14 15:55:25 +10:00
Rimian Perkins
5c33268477
created at and url
2019-09-14 14:20:16 +10:00
Rimian Perkins
6fe149c4a5
basic admin interface
2019-09-14 12:56:28 +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
68b4d07a94
fix jslint and some settings
2019-09-13 13:02:28 +10:00
Rimian Perkins
63ea563553
Set the user email initially in stripe form
2019-09-13 12:56:26 +10:00
Rimian Perkins
cb9af7c258
send the current user
2019-09-13 12:35:38 +10:00
Rimian Perkins
c6555ccc63
some css
2019-09-12 19:04:10 +10:00
Rimian Perkins
22af03a42e
add billing to confirm dialog
2019-09-12 18:51:40 +10:00
Rimian Perkins
83fc234b90
settings, headings
2019-09-12 18:27:25 +10:00
Rimian Perkins
9cfdd3f07e
This always catches me. Pretty quotes!
2019-09-12 18:18:50 +10:00
Rimian Perkins
6f87f11e4a
currency format helper
2019-09-12 18:16:47 +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
b60244e809
form text
2019-09-12 16:28:19 +10:00
Rimian Perkins
e2cec16b99
forms and settings
2019-09-12 16:16:38 +10:00
Rimian Perkins
1add7e9cdf
Fix broken test and form wrap
2019-09-12 15:52:30 +10:00
Rimian Perkins
9b69c58be4
Add some billing details
2019-09-12 15:13:08 +10:00
Rimian Perkins
a87fcae149
a little formatting
2019-09-12 13:46:30 +10:00
Rimian Perkins
2a1a17793f
add some settings for text
2019-09-12 13:40:18 +10:00
Rimian Perkins
c79541a48b
pretty
2019-09-12 11:51:28 +10:00
Rimian Perkins
c636a2896a
some translations
2019-09-12 11:34:54 +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
43fde60f3a
proper setting
2019-09-12 08:10:41 +10:00
Rimian Perkins
c2af580718
import URL helper
2019-09-12 07:58:08 +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
381315f9f3
add settings
2019-09-11 22:06:01 +10:00
Rimian Perkins
df1d5a3181
the form submits but an ajax error happens
2019-09-11 21:52:04 +10:00
Rimian Perkins
5cddda6703
add controllers
2019-09-11 21:09:34 +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
683c36e5d1
rm redundant index template
2019-09-11 17:44:26 +10:00
Rimian Perkins
a5dbe4f9bd
Show route
2019-09-11 17:38:55 +10:00
Rimian Perkins
ac267fabaf
basic route and template
2019-09-11 17:13:12 +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
d2f85f1a97
Merge branch 'master' into upgrade-stripe-gem
2019-08-28 19:54:07 +10:00
Rimian Perkins
05da88009d
whoops add invoice list back
2019-08-28 19:53:29 +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
675c3d27ba
appease eslint
2019-08-27 20:18:02 +10:00
Rimian Perkins
f49c0c89a3
empty form component
2019-08-27 19:56:55 +10:00
Rimian Perkins
abaf101173
initial spec for donation-row component
2019-08-26 17:34:40 +10:00
Rimian Perkins
d0bdfab44b
fix the test runner
2019-08-26 16:01:57 +10:00
Angus McLeod
06b775c8c1
add equal to
2019-04-09 09:04:24 +10:00
Angus McLeod
44410fa375
add cause release fields
2019-04-03 12:32:24 +11:00
Angus McLeod
b98e603e59
Add proper user path
2018-09-30 11:51:20 +10:00
Angus McLeod
a353eed1c3
small fixes
2018-09-30 11:23:05 +10:00
Angus McLeod
02e3438a9c
only add metadata element if there is metadata
2018-09-29 10:12:48 +10:00
Angus McLeod
e1eb585974
Add additional settings and customizations
2018-09-28 17:33:27 +10:00
Angus McLeod
ae793ad247
Add setting for monthly total and other minor improvements
2018-09-24 10:17:53 +10:00
Angus McLeod
a3636a5038
if not a category route remove body class
2018-09-23 09:08:39 +10:00
Angus McLeod
c4c96046cd
only show github and meta links if they exist
2018-09-23 08:44:50 +10:00
Angus McLeod
b8cf45aa7f
ensure widget is hidden on non-category paths
2018-09-23 08:36:28 +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
d686ece85b
Redirect to root from '/donate' if the plugin is disabled
2018-07-02 10:30:38 +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
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
Angus McLeod
bcebbd583b
Move script to jquery insertion on render
2017-11-27 10:28:21 +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
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
Rimian Perkins
011ae1b2be
add an extra nav item
2017-03-06 14:44:11 +11:00
Rimian Perkins
2318b42b49
Merge branch 'spinner' into staging
2017-03-06 12:34:18 +11:00
Rimian Perkins
736146854b
disable and use same result for error and success
2017-03-06 12:34:03 +11:00
Rimian Perkins
66b15be4d8
add an error message
2017-03-06 11:30:58 +11:00
Rimian Perkins
626d2fec6d
Merge branch 'spinner' into staging
2017-03-06 11:12:32 +11:00
Rimian Perkins
7f8330cb62
add spinner and use button template
2017-03-06 11:12:22 +11:00
Rimian Perkins
1f3b3cf857
add jquery button yo
2017-03-02 16:40:16 +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
a640321dab
Merge branch 'settings' into staging
2017-02-28 12:39:31 +11:00
Rimian Perkins
10e63f2a4c
fix i18n and import site settings
2017-02-28 12:39:07 +11:00
Rimian Perkins
b6a4d5dc8e
whoops forgot test code
2017-02-27 14:26:50 +11:00
Rimian Perkins
95c7d2ada7
rm test code
2017-02-27 14:24:18 +11:00
Rimian Perkins
19a7956f43
load the public key from settings
2017-02-27 14:22:52 +11:00
Rimian Perkins
a84de2c876
settings for public and private key
2017-02-27 13:45:26 +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
97e4497cc8
acceptance test link
2017-02-24 13:09:27 +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
5f170ebcd3
fix var scope error and diplay some html when result is success
2017-02-23 09:30:59 +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
c23833830a
move the strip elements js into a component
2017-02-21 10:25:31 +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
7d72c1f9cd
rm old page
2017-02-15 11:43:13 +11:00
Rimian Perkins
46a13af63a
controller tests create response
2017-02-15 11:40:00 +11:00
Rimian Perkins
12d606d115
refactor route map
2017-02-14 10:45:01 +11:00
Rimian Perkins
4eef7131ed
check payment link exists
2017-02-14 10:19:59 +11:00
Rimian Perkins
3f32c212d8
rename to "payments"
2017-02-14 10:11:10 +11:00
Rimian Perkins
ed828a228b
a response happened and there is a test
2017-02-13 15:31:31 +11:00
Rimian Perkins
800aef7b3f
acceptacnce test verifies page renders
2017-02-13 11:35:59 +11:00
Rimian Perkins
c0529c5bdb
a child page at user/:username/choice
2017-02-10 15:10:47 +11:00
Rimian Perkins
90ed0e03df
rename the component
2017-02-10 12:11:59 +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
6d3ad0268e
an action happens when the button is clicked yo
2017-02-07 16:03:00 +11:00
Rimian Perkins
02d15d486a
initial form
2017-02-07 14:23:38 +11:00
Rimian Perkins
8d7b50a7ae
inital empty page
2017-02-07 13:56:22 +11:00
Rimian Perkins
35ac1bc3c3
Transaction works. Still need to tidy up response
2017-02-02 11:49:22 +11:00
Rimian Perkins
df7607043a
stripe button requests mounted engine
2017-01-31 14:21:27 +11:00
Rimian Perkins
f6c9977c7a
initial stripe checkout button that posts to staging
2017-01-30 12:35:04 +11:00