Access-Control-Allow-Origin

Status
Not open for further replies.

wetalkchalk

Free User
Joined
Sep 15, 2019
Messages
2
Reaction score
0
installed the plugin for Wordpress. Checked all settings twice. U have the right URL (https) in my console.
Button shows up but can;t click on it. This is the error I see in my js console:

Access to fetch at 'https://wetalkchalk.3cx.us/callus/#wetalkchalk/MyPhone/c2cinfo?c2cid=' from origin 'https://wetalkchalk.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Any suggestions?
 
It seems that the URL you specified in WordPress is wrong. Remove the "/" after the "callus".

Try this:
Code:
https://wetalkchalk.3cx.us/callus#wetalkchalk

And also double check that https://wetalkchalk.com has been whitelisted under 3CX Settings -> WordPress/Website Integration.
 
thanks. not sure why that was there. works great!
 
Status
Not open for further replies.

Forum statistics

Threads
112,147
Messages
590,961
Members
165,167
Latest member
Finatra.us