medusajs / medusa

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

Error while completing the checkout process #9212

Open Kushal-starr opened 1 month ago

Kushal-starr commented 1 month ago

As there is new concept of publishable API key in the storefront side. So I created a new saleschannel and linked that with a new publishable API that I created. Also, linked the products with that saleschannel.

Now my products linked with that saleschannel is now shown on my storefront I'm able to add them in cart and able to proceed with the checkout process. I enter the address and When I proceed for the "Continue to delivery" it give me an error saying: "Error setting up the request: Unable to assign cart to disabled Sales Channel: Default Sales Channel"

How I will be linking the cart to the saleschannel that I have created. Is there something I need to configure for cart also??

PFA below, Screenshot 2024-09-20 at 6 25 13 PM

FYI: @olivermrbl

olivermrbl commented 1 month ago

This should happen automatically. Can I get you to clear the browser cache and try again? You might have had an old cart in local storage.

And just be sure, you need to:

Kushal-starr commented 1 month ago

@olivermrbl Already done and proceeded with the mentioned steps.

Also, tried replicating the sam eon other browser too.

Screenshot 2024-09-20 at 9 47 58 PM

Also, already linked the location with my sales channel.

420coupe commented 1 month ago

I had a similar issue with new build, i just went into db manually and deleted the Default Sales Channel created by medusa in the db and cleared up the issue.

Kushal-starr commented 1 month ago

Hi @olivermrbl , any updates on this?? :)

github-actions[bot] commented 2 weeks 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.

thetutlage commented 2 days ago

@Kushal-starr Did you have any luck trying the solution shared by @420coupe ?