12 Commits

Author SHA1 Message Date
Justin DiRose
b92627677f
FEATURE: Implement refunds from dashboard (#27)
An implementation of refunds from the Admin dashboard. To refund, go to Plugins > Subscriptions > Subscriptions then click the `Cancel` button. You'll be presented with a modal. If you wish to refund only the most recent payment, check the box. 

This only implements refunds for Subscriptions, not One Time Payments. One Time Payments will still need to be handled manually at this time.
2020-10-29 10:31:12 -05:00
Justin DiRose
d360a4155d DEV: Fix tests after changes to controllers 2020-05-28 11:45:58 -05:00
Justin DiRose
fb4fac197b
REFACTOR: Use models to store data (#11)
* REFACTOR: Use api to add subscribe link

* FIX: I18n subscribe link

* REFACTOR: Use models to store some data

This enables the plugin to show only subscription information which was
generated on Discourse. Subscription data storage is limited to the
external identifiers Stripe generates so we can interact with the API.

* DEV: Test/linting fixes/rake task
2020-05-22 11:20:05 -05:00
Rimian Perkins
b397ba5a68 name space module 2019-12-04 11:23:45 +11:00
Rimian Perkins
a95c119bcf fix paths in request specs 2019-12-03 11:48:12 +11:00
Rimian Perkins
3b7ff90672 user removed from the group in admin 2019-11-29 10:37:32 +11:00
Rimian Perkins
298e70b32a delete customer record 2019-11-28 20:44:38 +11:00
Rimian Perkins
3e4fd76891 show product and plan nickname in admin 2019-11-26 12:55:49 +11:00
Rimian Perkins
6590d8051c delete subscriptions in admin 2019-11-14 10:51:04 +11:00
Rimian Perkins
e51aa5f6f0 products admin route and basic pages 2019-10-15 13:18:25 +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