22 Commits

Author SHA1 Message Date
Justin DiRose
7e753d45bd
DEV: Update to new prettier standards 2020-09-16 09:53:50 -05:00
Justin DiRose
88f36c18a6
FEATURE: Add BRL currency support 2020-06-30 10:13:05 -05:00
Justin DiRose
9c46794e80
DEV: Remove deprecations & improve error handling (#12)
- Replace deprecated methods on client
- Fix broken dropdowns due to select kit 2 upgrade
- Graceful error handling when Stripe keys are not configured but plugin enabled
2020-05-28 10:32:57 -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
Roman Rizzi
7ba08ab7da
FIX: Discourse.Model was removed. Use EmberObject instead (#10) 2020-05-06 19:06:14 -03:00
Raj Rathore
9153126f59 fix(coding-style): now consistent with existing coding style of the project 2020-04-23 17:17:06 +05:30
Raj Rathore
53a11872ef fix(coding-style): linting changes reverted to be consistent with existing style 2020-04-23 17:11:00 +05:30
Raj Rathore
30299a5f13 fix(currency-symbol): hard-coded dollar symbol removed 2020-04-23 16:06:02 +05:30
Raj Rathore
f91b257198 feat(currency-inr): inr added to supported currencies 2020-04-16 01:57:56 +05:30
Rimian Perkins
80b721ddd8 rename some settings 2019-12-04 11:53:05 +11:00
Rimian Perkins
709aebb593 set the currency in the plan 2019-11-30 16:39:28 +11:00
Rimian Perkins
482ce178d5 pretty js 2019-11-06 20:59:35 +11:00
Rimian Perkins
78cbfc2652 rm unused arg 2019-11-06 20:51:16 +11:00
Rimian Perkins
4a812ceff6 toggle the subscribe button 2019-11-06 20:43:16 +11:00
Rimian Perkins
e3ac6f7dac date format and product description 2019-11-01 12:30:19 +11:00
Rimian Perkins
3dfa261c19 serialize and order the plans 2019-11-01 10:18:57 +11:00
Rimian Perkins
5fe08c110f format some currency 2019-10-31 14:35:19 +11:00
Rimian Perkins
1f7549060d fix eslint and rubocop 2019-10-25 14:00:59 +11:00
Rimian Perkins
edd6449105 basic user billing page 2019-10-25 13:23:32 +11:00
Rimian Perkins
5c33268477 created at and url 2019-09-14 14:20:16 +10:00
Rimian Perkins
9cfdd3f07e This always catches me. Pretty quotes! 2019-09-12 18:18:50 +10:00
Rimian Perkins
6f87f11e4a currency format helper 2019-09-12 18:16:47 +10:00