mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-05 14:02:11 +00:00
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.
Discourse Subscriptions
Please see the topic on Discourse Meta for more information about this plugin: https://meta.discourse.org/t/discourse-subscriptions-plugin/140818
Languages
JavaScript
48%
Ruby
47.4%
SCSS
4.6%