-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.10.0 Can no longer create plans with Stripe after changing currency #11649
Comments
Reopen please as updating to 3.11.0 did not solve the issue |
@uksitebuilder can you please confirm if the migrations to 3.11.0 have run? Also could you provide the values from following query on your mysql instance: SELECT `value`
FROM `settings`
WHERE `key` = 'members_subscription_settings' \G Please make sure to redact Stripe keys to avoid exposing them. |
I am assuming the migrations have run Running ghost migrate in ghost-cli returns no migrations needed. SQL output is as follows:
|
To confirm if migration has been run, could you try a following query: select * from migrations where version = '3.11' The result should be something like: mysql> select * from migrations where version = '3.11';
+----+--------------------------------------------------------------+---------+----------------+
| id | name | version | currentVersion |
+----+--------------------------------------------------------------+---------+----------------+
| 98 | 01-remove-broken-complimentary-plan-from-members-settings.js | 3.11 | 3.10 |
+----+--------------------------------------------------------------+---------+----------------+ |
Version and Current Version = 3.11 when running that query |
3.11 is a correct value, the one I posted was from my dev instance 👍 This is puzzling. The root cause of the bug are those |
@uksitebuilder can you confirm if you have refreshed the "admin" page after running upgrade on the Ghost instance? The only scenario I can think of right now is that the migrations have run but the 3.10.0 version of admin made a request editing the currency 🤔 |
Admin was refreshed, caches cleared, even tried running in Incognito mode. |
closes TryGhost/Ghost#11649 - This is a temporary solution which complimenta migration from 3.10.0 to 3.11.0 where Admin Client was still getting settings broken settings from 3.10.0 - This fix makes sure that after changing plan on the client side, plans without interval are removed from the member's plans data
refs TryGhost#11649 - After migrations are run through Ghost-CLI the instance needs to catch up with pottential changes that were done in settings table. Otherwise it ends up in obsolete state after version update
…hanged refs TryGhost/Ghost#11649 - The bug was changing all complimentary plan prices to the value of yearly. - This is another point to putting in place validation of plan setting object on the server side so we don't accidentally allow values like this to slip through
The exact steps to fix the issue were given on the community forum |
Issue Summary
Changed price symbol to GBP for membership pricing plans
Edited template to add variable for pricing symbol
Symbol does not show
Subscribe button no longer redirects to stripe.
Technical details:
Ghost Version: 3.10.0
Node Version: 10.19.0
Browser/OS: Chrome (latest) macos
Database: mySQL 5.7.29 on Ubuntu 18.04
The text was updated successfully, but these errors were encountered: