medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Payment session is undefined when using Stripe in test mode.

Open SyedYaseen opened this issue 11 months ago • 2 comments

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

SyedYaseen avatar Feb 26 '24 22:02 SyedYaseen

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.

scrlkx avatar Apr 16 '24 01:04 scrlkx

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?

scrlkx avatar Apr 16 '24 16:04 scrlkx