- Url Private atm
- Version 3.17.1
- Environment production
- Database mysql
- Mail SMTP
- Configuration default
- Brwoser all
- Theme Lyra hardcoded (members pages only the graphics have changed)
After months of stripe testing I switched to the live version and changed the keys.
I made a test payment and it was successful.
I switched back to the test keys, and now it doesn’t work anymore.
I am experiencing the following error from console:
members.min.js?v=f9c61e32d4:1 POST https://domain.it/members/api/create-stripe-checkout-session/ 401 (Unauthorized) (anonymous) @ members.min.js?v=f9c61e32d4:1 Promise.then (async) r @ members.min.js?v=f9c61e32d4:1 members.min.js?v=f9c61e32d4:1 Error: Could not create stripe checkout session at members.min.js?v=f9c61e32d4:1
I found these two topics but they didn’t solve my problem:
My Stripe account is verified and with all the necessary information, I also use the same Stripe account in a replica of my site on another server and I don’t experience this problem. So it’s not a Stripe problem I think.
This is a very little part of the log file:
- I have tried several times to use both test and live keys
- I restarted Ghost
- I cleared the cache
- I have disabled the serviceworker
I think I have tried everything, I repeat that everything works on the replica.
I also tried to delete the webhook from the stripe dashboard, I reinserted the test keys on ghost, the webhook recreated correctly on stripe, but the problem persists.
I updated to the latest version
3.17.1 hoping for something, but the problem is still there, I can’t understand why.