Justin DiRose
a1a7ca98a3
DEV: Fix tests
2020-07-28 15:40:16 -05:00
Justin DiRose
83002fab3c
FEATURE: New styling of product page
2020-07-28 12:46:59 -05:00
Justin DiRose
954beeb094
FIX: Properly show information on saved plans
2020-07-28 11:56:58 -05:00
Justin DiRose
11d9b2e011
FIX: If only one plan, automatically select it
2020-07-28 11:08:21 -05:00
Justin DiRose
587661fafb
FEATURE: Allow one-time purchases on products ( #18 )
...
Building off the foundation of using the Prices API, this PR adds the ability to create a one-time purchase plan for any product, which then can add a user to the specified plan group.
Some things to be aware of:
One-time purchases cannot have trials.
One-time purchases use the Invoice API instead of Subscriptions. Invoices are created then charged immediately.
Users should receive emails for these invoices directly from Stripe just like subscriptions.
2020-07-22 11:06:34 -05:00
Justin DiRose
9c46794e80
DEV: Remove deprecations & improve error handling ( #12 )
...
- Replace deprecated methods on client
- Fix broken dropdowns due to select kit 2 upgrade
- Graceful error handling when Stripe keys are not configured but plugin enabled
2020-05-28 10:32:57 -05:00
Rimian Perkins
9176471551
toggle single payments allowed setting
2019-12-17 21:14:13 +11:00
Rimian Perkins
52db93ecd8
user payments page
2019-12-17 16:31:58 +11:00
Rimian Perkins
57fb508514
buttons for selecting price and one time payment
2019-12-13 10:41:14 +11:00
Rimian Perkins
86bc9bb3e6
rm redundant action
2019-12-10 10:15:30 +11:00
Rimian Perkins
d3eed3546d
test button click
2019-12-06 14:33:38 +11:00
Rimian Perkins
2ce314fc8d
initial payment buttons component
2019-12-06 13:52:03 +11:00
Rimian Perkins
80b721ddd8
rename some settings
2019-12-04 11:53:05 +11:00
Rimian Perkins
370566b570
only show subscribe buttons when logged in
2019-11-14 09:47:15 +11:00
Rimian Perkins
fcfb826929
create the token and make the customer request
2019-10-11 12:26:01 +11:00
Rimian Perkins
bb31deae89
basic subscribe page
2019-10-10 13:52:55 +11:00
Rimian Perkins
5d94ed8974
redirect to show page with payment id
2019-09-14 18:31:11 +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
cb9af7c258
send the current user
2019-09-13 12:35:38 +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
9b69c58be4
Add some billing details
2019-09-12 15:13:08 +10:00
Rimian Perkins
c79541a48b
pretty
2019-09-12 11:51:28 +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
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
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
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
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
f49c0c89a3
empty form component
2019-08-27 19:56:55 +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