16 Commits

Author SHA1 Message Date
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
e3d2ac0101 rm old migrations 2019-12-05 17:11:05 +11:00
Rimian Perkins
29cc54b3c0 whoops forgot this again 2019-12-03 13:11:29 +11:00
Rimian Perkins
bdba7686d3 add new table 2019-12-03 13:03:10 +11:00
Rimian Perkins
1429bf116f rubocop 2019-11-28 19:51:03 +11:00
Rimian Perkins
0fddb5e3b9 backend returns if user is already subscribed 2019-11-28 17:43:03 +11:00
Rimian Perkins
098b58c60c remove payments 2019-11-07 15:19:48 +11:00
Rimian Perkins
7963d6dea2 users can have more than one customer id 2019-10-30 11:22:40 +11:00
Rimian Perkins
b7a3be9344 add customer model spec and scope 2019-10-26 13:01:49 +11:00
Rimian Perkins
dcb4b82dec customer model 2019-10-26 11:31:19 +11:00
Rimian Perkins
9631ddc7e5 format currency and user 2019-09-14 15:55:25 +10:00
Rimian Perkins
8f4cb95cb5 string for payment intent id 2019-09-13 22:20:29 +10:00
Rimian Perkins
b34e7ade8c a payment model is created 2019-09-13 22:03:29 +10:00
Rimian Perkins
c1f1bc4ee4 comment out for now 2019-09-13 14:36:25 +10:00
Rimian Perkins
d09f654b3e add migration 2019-09-13 14:35:13 +10:00
Rimian Perkins
c90d4b2f8e fix params 2019-09-13 14:34:06 +10:00