discourse-subscriptions/test/javascripts
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
..
acceptance REFACTOR: Use models to store data (#11) 2020-05-22 11:20:05 -05:00
components FEATURE: Allow one-time purchases on products (#18) 2020-07-22 11:06:34 -05:00
helpers FEATURE: Allow one-time purchases on products (#18) 2020-07-22 11:06:34 -05:00
models REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00