I have a big problem this time.
- Version 3.22.1
- Environment production
- Database mysql
- Mail SMTP
I updated Ghost to the latest version today, and I realized that Stripe Connect was implemented, so what was configured before was no longer active.
So before moving to the live version, I activated the test-mode check, and I authorized Stripe Connect with Ghost, everything was activated correctly.
I made a test payment and it turned out to be successful.
So I wanted to switch to the live version, by deactivating the test-mode. I try to click on “Disconnect” and find the following error:
Connected to ***** Test mode Cannot disconnect while there are members with active Stripe subscriptions.
I logged in with the account with which I did the test, from the profile I clicked on “cancel subscription” and I tried again to disable the test-mode by clicking on “Disconnect”, but without success.
I connected to the Stripe Dashboard, I deleted the test data, then I tried again from the Ghost panel to disconnect Stripe but I still have not succeeded, always the same error.
So it looks like from Stripe I have revoked the Ghost application permission and tried once again, but nothing.
- I deleted Stripe’s test data
- I have revoked permission from Stripe of the Ghost application
- I deleted the test user from Ghost.
- I also canceled customers from the Live version of Stripe (they were my tests with real payments)
So now on Stripe I have neither customers nor live subscriptions nor test.
The main problem is that now even paid subscription does not work anymore on my site as Stripe no longer has Ghost permissions, and I can’t even give them anymore.
I thought about restarting Ghost, but I have about 2k daily users, I am afraid that some errors do not allow the correct restart and the site remains offline.
Maybe it is somehow related to this problem I previously had?
Now if I try to delete these users I get the following error:
PUT https://domain.it/ghost/api/v3/admin/members/***********/?include=labels 401 (Unauthorized)
I guess because I revoked Ghost’s permissions from the Stripe Dashboard
One solution that comes to mind is to delete all users associated with Stripe in some way, from the database with a mysql query. I have no real active paying users, so it’s something I could do.
Hoping that later I will be able to click on “disconnect” and re-associate the permissions.