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
41b0667350
fix rubocop newer version
2019-12-12 09:59:38 +11:00
Rimian Perkins
b397ba5a68
name space module
2019-12-04 11:23:45 +11:00
Rimian Perkins
3904310432
group concern
2019-11-29 09:01:56 +11:00
Rimian Perkins
0fddb5e3b9
backend returns if user is already subscribed
2019-11-28 17:43:03 +11:00
Rimian Perkins
8aed6b8d30
add link to user
2019-11-13 14:21:21 +11:00
Rimian Perkins
84fd12a9a3
add user data to subscription metadata
2019-11-13 10:19:49 +11:00
Rimian Perkins
e14b4dcd96
the subscribe product page
2019-11-04 16:37:21 +11:00
Rimian Perkins
dbaa30ba18
user cancels subscription
2019-10-31 10:01:41 +11:00
Rimian Perkins
03cbc235b1
list customer subscriptions
2019-10-30 14:19:43 +11:00
Rimian Perkins
ee0901aeca
delete subscription
2019-10-29 14:35:07 +11:00
Rimian Perkins
2a985ae554
fix subscribe request
2019-10-29 14:15:13 +11:00
Rimian Perkins
7edb0fe39b
list subscriptions
2019-10-29 11:43:32 +11:00
Rimian Perkins
5a7097b774
billing/subscriptions
2019-10-28 14:48:59 +11:00
Rimian Perkins
a80e9d9bc2
add subscription to group
2019-10-24 11:37:20 +11:00
Rimian Perkins
c6dd47d328
templates, plans
2019-10-21 15:28:45 +11:00
Rimian Perkins
b05b03e25b
fix up forms and requests to plan api
2019-10-17 20:34:26 +11:00
Rimian Perkins
e2b915b905
plans and products
2019-10-17 12:07:06 +11:00
Rimian Perkins
4e615908f4
create the subscription
2019-10-14 11:47:49 +11:00
Rimian Perkins
bab76db863
subscriptions controller
2019-10-14 09:52:43 +11:00