medusajs / medusa

The world's most flexible commerce platform.
https://medusajs.com
MIT License
26.17k stars 2.65k forks source link

Stripe credit card information not saved #5832

Closed iweurman closed 7 hours ago

iweurman commented 11 months ago

Bug report

Describe the bug

I have setup my stripe plugin and try to do a test payment but the credit card information is not being saved after filling the fields and proceed to the review step. The card is being displayed as undefined and the Place Order button seems disabled. The console does not show any errors or network errors.

System information

Medusa version (including plugins): @medusajs/medusa at ^1.18.1, @medusa/admin at ^7.1.8 Node.js version: 18.16.0 Database: postgres Operating system: macOS Browser (if relevant): Chrome

Steps to reproduce the behavior

  1. Add a product to cart
  2. Go to checkout
  3. Enter Stripe test credit card information (4242 4242 4242 4242)
  4. Click on continue to preview
  5. The credit card information displays as undefined
  6. Clicking on the Place order button doesn't do anything (probably because the card information is undefined)

Expected behavior

Should save the credit card information and the Place order button should continue the Stripe payment session.

Screenshots

Entering the credit card information Screenshot 2023-12-08 at 10 39 41 PM

After clicking continue to preview the credit card information seems not being saved Screenshot 2023-12-08 at 10 39 49 PM

chrislaai commented 11 months ago

I ran into the same issue and ended up going back to version 1.18.0, hoping it will be fixed in the next version.

iweurman commented 11 months ago

I ran into the same issue and ended up going back to version 1.18.0, hoping it will be fixed in the next version.

Hmm interesting. It didn't work for me. Did you downgrade anything on the store front as well?

github-actions[bot] commented 4 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.

github-actions[bot] commented 7 hours ago

This issue was closed because it has been stalled for 3 days with no activity.