medusa icon indicating copy to clipboard operation
medusa copied to clipboard

fix: Use the typed in email address when available instead of forcing…

Open devcshort opened this issue 1 year ago • 2 comments

What - This change fixes checkout flow so that a typed in email address will be used.

Why - Currently when a customer is logged in, the Medusa backend forces them to use their account email address for ALL orders, regardless of what they type in to the email input.

How - After the cart has been updated with the logged in customer's information I check to see if an email was provided. If one was provided, I use that one for the cart instead.

This fixes the issue referenced here https://github.com/medusajs/medusa/issues/9849

devcshort avatar Oct 28 '24 21:10 devcshort

⚠️ No Changeset found

Latest commit: 0d51576d67d8903a9efda2487800e5f1087e499c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 28 '24 21:10 changeset-bot[bot]

@devcshort is attempting to deploy a commit to the medusajs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 28 '24 21:10 vercel[bot]

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

github-actions[bot] avatar Nov 28 '24 02:11 github-actions[bot]

This PR was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Dec 05 '24 02:12 github-actions[bot]

Not stale

On Wed, Dec 4, 2024, 6:05 PM github-actions[bot] @.***> wrote:

This PR was closed because it has been stalled for 5 days with no activity.

— Reply to this email directly, view it on GitHub https://github.com/medusajs/medusa/pull/9850#issuecomment-2518926603, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADILETR6LXTVEA4HKUPKIK32D6YHNAVCNFSM6AAAAABQYMIYPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJYHEZDMNRQGM . You are receiving this because you were mentioned.Message ID: @.***>

devcshort avatar Dec 05 '24 02:12 devcshort