Open Pedro-Silva-MM opened 4 months ago
Hey @Pedro-Silva-MM, did you just change your BigCommerce storefront from prelaunch
to active
status? If so, it does take a little time to propagate.
Hey, thanks for the quick response.
I assume that you are referring to the storefront channel, if so I didn't. As far as I can tell the channel is created during the CLI setup. I've been trying to figure out whats wrong for some hours, I'm not sure if a propagation issue would take that long.
I don't know if it matters but I'm on BigCommerce free trial.
Can you provide the full url to your store? https://store-{{storeHash}}.mybigcommerce.com/
Just reproduced the same issue with a fresh account.
Try again on this storefront again. I turned your Catalyst
channel to active and set the BigCommerce
storefront to inactive. That's how it should be setup for Catalyst + Redirected Checkout.
If it's still happening, can you provide of the following information:
.env.local
file.next
you are using (or screenshot the output of pnpm why next
)Hey, here is what I did:
pnpm create @bigcommerce/catalyst@latest
pnpm run dev
Here is the channel Id used on my .env.local on my first attempt: 1598252 Here is the channel Id I used during the second : 1
Here is the output of pnpm why next
:
Hey @Pedro-Silva-MM, I seem to have figured out this issue. Essentially our API is reading the storefront status from the default channel (1
) if you don't have a specific feature flag enabled for your store. It shouldn't matter if you have the FF enabled or not, when trying to read the status from another channel – in your case 1598252
. I am passing this along to the team that handles that API interaction to try and get it resolved.
In the meantime, I do believe there is a "fix", that's not ideal. Go into Channel Manager in the Control Panel and change the default channel 1
to be active. You might have to make the other channel inactive in order to active the default channel as we have storefront limits in place. Let us know if that doesn't work.
Hey @chanceaclark, thanks for the support.
The fix you provided worked, thank you.
Awesome glad it worked.
Keeping this issue open till we resolve it on the BC side.
Hey @chanceaclark , any update on this? I believe the solution is causing an issue with the reset password functionality. The reset password email creates the reset password URL with the default store url
@Pedro-Silva-MM the team is still looking into as it's not a quick fix for us.
Regarding that email link, you'll need to configure your Site Routes in order for that to update I believe: https://developer.bigcommerce.com/docs/rest-management/sites#site-routes
Any new update regarding this?
Describe the bug
When starting a new Catalyst project connected to my BigCommerce store, the customer login functionality does not work. This issue occurs after following the instructions to create a new channel for the Catalyst project. The login attempt returns an error indicating that “Operation cannot be performed as the storefront channel is not live,” even though the channel shows up as active in the BigCommerce admin panel.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The customer should be able to log in successfully.
Screenshots
I've added a log to when the login happens and here is the response.
The storefront channel shows up as active on https://.mybigcommerce.com/manage/channel-manager