You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to enable this connector. So far, I have completed most of the steps, but for some reason, I am not able to use the Order on Behalf Of functionality. Whenever I try to start the session, I get the error shown in the image below. I already tried adding the Salesforce Org URLs to the allowed origins in the B2C Commerce SHOP API OCAPI configuration settings to mitigate CORS errors, but it doesn't work.
Do you have any ideas on how to fix this?
one thing that I notice is that If I make the request from apex it don't get any error, but it doesn't work when the request is done from the lwc
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
I have been trying to enable this connector. So far, I have completed most of the steps, but for some reason, I am not able to use the Order on Behalf Of functionality. Whenever I try to start the session, I get the error shown in the image below. I already tried adding the Salesforce Org URLs to the allowed origins in the B2C Commerce SHOP API OCAPI configuration settings to mitigate CORS errors, but it doesn't work.
Do you have any ideas on how to fix this?
one thing that I notice is that If I make the request from apex it don't get any error, but it doesn't work when the request is done from the lwc
Beta Was this translation helpful? Give feedback.
All reactions