11 Commits

Author SHA1 Message Date
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
9902947e99 a bit more testing 2020-01-10 16:47:28 +11:00
Rimian Perkins
ba43e9d977 name space tests 2020-01-10 14:24:39 +11:00
Rimian Perkins
b2c5842aa6 only delete the right subscription 2019-11-12 12:43:23 +11:00
Rimian Perkins
1734abc1b9 product pretender 2019-11-12 11:03:04 +11:00
Rimian Perkins
f61f756d9c fix broken subscribe page test 2019-10-10 14:18:44 +11:00
Rimian Perkins
bb31deae89 basic subscribe page 2019-10-10 13:52:55 +11:00
Rimian Perkins
91045583ad namespace subscriptions controller 2019-10-10 13:09:24 +11:00
Rimian Perkins
8cc4f880eb name space admin controller 2019-10-10 12:08:52 +11:00
Rimian Perkins
2c6944e66e stub stripe and add pretender 2019-10-09 11:53:58 +11:00