medusa
medusa copied to clipboard
Payment session is undefined when using Stripe in test mode.
Preliminary Checks
- [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues
Issue Summary
Works fine when live mode creds are provided. Using a fresh database with migrations and seed data.
How can this issue be resolved?
...
Are you interested in working on this issue?
- [ ] I would like to fix this issue
I'm facing this often. I'm not sure about what's the problem though. I'm using test credentials indeed, but as far as I can see the error appears to be random, sometimes working properly.
It seems that, if I disable other payment methods (like manual) for the region, it works nicely with no more issues. Maybe we can do some debug and get some more information?