discourse-subscriptions/test/javascripts
Justin DiRose c9ff55b46a
REFACTOR: Use the Prices API in place of Plans (#17)
Stripe has a newer API called Prices where you can create a price for any product and it can either be recurring or one-time. The easy part is existing Plans work with the Prices API by passing a Plan ID, but objects are returned in the slightly-different Prices API object format.

This commit is a refactor to the new API to handle the data in its new form, and lays the foundation for a one time payment plan to be added to any subscriptions product.
2020-07-15 08:44:40 -05:00
..
acceptance REFACTOR: Use models to store data (#11) 2020-05-22 11:20:05 -05:00
components REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
helpers DEV: Remove deprecations & improve error handling (#12) 2020-05-28 10:32:57 -05:00
models REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00