Rimian Perkins
0cb3a9acde
format with prettier
2019-08-27 20:37:20 +10:00
Angus McLeod
45ece34200
Add donations causes
2018-09-22 14:03:30 +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
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
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
Rimian Perkins
70b928707f
disable the button as soon as it is clicked
2017-05-29 10:48:32 +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
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
92e5bf76d7
add anon payments
2017-03-20 12:24:39 +11:00
Rimian Perkins
1933272154
add a success message
2017-03-13 15:26:48 +11:00
Rimian Perkins
057d204b87
use let keyword and toggle plugin off by default
2017-03-13 11:19:10 +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
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
7f8330cb62
add spinner and use button template
2017-03-06 11:12:22 +11:00
Rimian Perkins
10e63f2a4c
fix i18n and import site settings
2017-02-28 12:39:07 +11:00
Rimian Perkins
19a7956f43
load the public key from settings
2017-02-27 14:22:52 +11:00
Rimian Perkins
a77cf00504
update name space in locales
2017-02-27 11:52:34 +11:00
Rimian Perkins
551b578b21
add the amount as a combo-box
2017-02-23 12:48:06 +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