Commit Graph

280 Commits

Author SHA1 Message Date
Discourse Translator Bot aaa4baec8a
Update translations (#205) 2024-04-30 21:57:46 +02:00
Blake Erickson 45754baa00
FEATURE: Add new stripe based pricing table (#202)
This commit adds an optional new stripe based pricing table.
If the user is logged in, the email field will be prepopulated with the users email.

The pricing table can be configured in the stripe dashboard.

Once the discourse_subscriptions_pricing_table setting is filled with the pricing table embed code from the stripe dashboard,
the pricing table will be displayed on /s/subscriptions

For more details see https://stripe.com/docs/payments/checkout/pricing-table
---------

Co-authored-by: spirobel <spirobel@protonmail.com>
2024-04-29 12:47:58 -06:00
Michelle Bueno Saquetim Vendrame d63f241e0d
FEATURE: add ZAR currency support (#199) 2024-04-15 21:26:26 +02:00
Discourse Translator Bot 8f1b332f9e
Update translations (#198) 2024-04-02 18:20:05 +02:00
Blake Erickson 9190001a3c
FIX: Translation missing for Norway (#196)
Turns out in YAML `NO` is interpreted as a boolean value, so we need to
wrap it in quotes.
2024-03-27 15:50:15 -06:00
Discourse Translator Bot 0dcf17de59
Update translations (#191) 2024-01-30 17:04:52 +01:00
Discourse Translator Bot 2cfded9a77
Update translations (#190) 2024-01-23 18:30:34 +01:00
Discourse Translator Bot 316303da5d
Update translations (#184) 2023-11-21 14:37:08 +01:00
Discourse Translator Bot 2f9353bc33
Update translations (#183) 2023-11-14 14:30:37 +01:00
Martin Brennan 3608944b9c
DEV: Change settings root from plugins: to discourse_subscriptions (#182)
This is so the plugins settings are better categorized in the site settings UI.
2023-11-13 10:23:25 +10:00
Discourse Translator Bot 2f87566366
Update translations (#180) 2023-11-07 21:31:30 +01:00
Kris ac81a7a830
fix typo (#179) 2023-10-24 12:39:32 -04:00
Discourse Translator Bot c4f8220a55
Update translations (#174) 2023-08-15 21:25:59 +02:00
Discourse Translator Bot bf41ea9aa7
Update translations (#166) 2023-05-23 21:23:39 +02:00
Discourse Translator Bot 81205cebaf
Update translations (#165) 2023-05-16 19:39:51 +02:00
Mark Reeves 49ddc757c9
Make country names translatable (#164) 2023-05-12 08:55:46 -04:00
Discourse Translator Bot d6337e559a
Update translations (#163) 2023-05-10 00:48:25 +02:00
Mark Reeves 803bba7938
FEATURE: Capture cardholder address fields for Stripe customer (#161)
- Adds the following fields to the subscription payment form:
  - Cardholder Name
  - Country
  - Postal Code
  - Address Line 1
  - City
  - State or Province
- Stripe recommends Cardholder Name & Country for verification; Cardholder Name, Country, and State/Province for US/Canada selections are required fields
- All fields are passed to Stripe for verification on submit
- Fields are also captured on the customer record in Stripe, under Billing Details
2023-05-05 13:20:35 -04:00
Discourse Translator Bot 45b7eb6e6c
Update translations (#155) 2023-02-21 17:13:37 +01:00
Discourse Translator Bot ee9741aefa
Update translations (#154) 2023-02-15 10:53:27 +01:00
Discourse Translator Bot 8dfdca567d
Update translations (#149) 2023-01-24 16:31:56 +01:00
Discourse Translator Bot d4f0b9a43c
Update translations (#147) 2023-01-10 20:56:53 +01:00
David Taylor 4e1a17c40c
DEV: Introduce syntax_tree for ruby formatting (#144) 2022-12-29 13:35:06 +01:00
Discourse Translator Bot cbbc23fd5a
Update translations (#143) 2022-12-13 17:15:12 +01:00
Discourse Translator Bot e917c3bca6
Update translations (#142) 2022-11-29 15:39:40 +01:00
Discourse Translator Bot c0b7aa65d7
Update translations (#139) 2022-11-02 15:14:51 +01:00
Discourse Translator Bot 1f9907d9e7
Update translations (#138) 2022-10-19 15:19:40 +02:00
Penar Musaraj 550e8347e3
DEV: Refactor bootbox dialogs (#137) 2022-10-17 14:42:40 -04:00
Discourse Translator Bot 827f9df444
Update translations (#132) 2022-09-20 15:52:53 +02:00
Discourse Translator Bot e48b817e8e
Update translations (#128) 2022-07-12 17:26:08 +02:00
Faizaan Gagan 945af4f140
FIX: Allow user to update card details for recurring subscriptions (#123)
* add new route for card update

* create backend route

* update label

* basic functionality working

* ran rubocop

* added rspec tests for functionality

* make payment_method param compulsory

* fixed js linting

* improve client side error handling

* improve server side error handling

* improved update card page UI

* improve button UI for user subscriptions page

* give feedback to user about save status

* remove heading from last column

* fix padding on edit/delete buttons for update table

Co-authored-by: Blake Erickson <o.blakeerickson@gmail.com>
2022-07-05 19:53:27 -06:00
Discourse Translator Bot 353898a6b4
Update translations (#125) 2022-06-21 15:29:16 +02:00
Discourse Translator Bot 23d5697be4
Update translations (#106) 2022-01-18 14:43:12 +01:00
Discourse Translator Bot f414acee42
Update translations (#104) 2022-01-11 14:23:20 +01:00
Discourse Translator Bot 9256a45c2a
Update translations (#103) 2022-01-04 17:40:05 +01:00
Discourse Translator Bot 9cf257d6a7
Update translations (#101) 2021-12-28 14:14:38 +01:00
Discourse Translator Bot 306aa0bcca
Update translations (#100) 2021-12-17 11:00:50 -07:00
Discourse Translator Bot 11de2a6455
Update translations (#98) 2021-12-14 16:53:32 -07:00
Justin DiRose 6414a1f6e5
FEATURE: Show/hide campaign banner with goal status (#85) 2021-07-15 15:05:27 -05:00
Jarek Radosz 21d71e09fc
DEV: Fix linting errors (#83)
Template lint errors and broken rubocop linting.
2021-07-04 21:53:55 +02:00
Discourse Translator Bot b4bc5ef3e2
Update translations (#79) 2021-06-22 15:18:09 +02:00
Jordan Vidrine beb73b58f3
FEATURE: Add fireworks + gradient animation to campaign success banner (#77) 2021-06-21 09:01:35 -05:00
Jordan Vidrine 787c5550c6
FEATURE: Add ability to use custom background image (#76)
* FEATURE: Add ability to use custom background image

* Prettier
2021-06-18 10:20:54 -05:00
Justin DiRose 8ab7a63167
FEATURE: Validate coupon codes on form submit (#74) 2021-06-16 12:54:54 -05:00
Discourse Translator Bot 5f9a84242b
Update translations (#75) 2021-06-15 15:59:45 +02:00
Jordan Vidrine a4f36e4966
Campaign topic footer (#72)
* UX: Restyle banner, add topic footer functionality, other updates
2021-06-10 16:02:54 -05:00
Justin DiRose 227c55e6f5
FIX: Restrict mods from seeing Subscriptions admin features (#70)
As reported [on Meta](https://meta.discourse.org/t/discourse-subscriptions/140818/352?u=justin), moderators could access all of the subscriptions data (plugins/prices/subscribers) and manage them. This should not be the case, so this PR adds a route constraint to 404 moderators from these routes.
2021-06-08 17:24:13 -05:00
Discourse Translator Bot 2d7807aeb3
Update translations (#71) 2021-06-08 16:30:55 +02:00
Justin DiRose f596a0f78a
FEATURE: Campaigns (#67)
Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com>

See https://github.com/discourse/discourse-subscriptions/pull/67 for the full description.
2021-06-02 13:15:03 -05:00
Discourse Translator Bot dcec7703f8
Update translations (#68) 2021-06-01 15:10:10 +02:00