trustpilot / plugin-magento2

Magento 2 plugin for sending invitation data to Trustpilot
MIT License
10 stars 27 forks source link

XMLHttpRequest when placing order is being blocked #78

Open watista opened 4 years ago

watista commented 4 years ago

Since I updated my Magento version from 2.3.1 to 2.3.5-p1 the automatic sending of orders isn't working anymore.

Requests aren't received by Trustpilot because the XMLHttpRequest is blocked by the source.

Steps to reproduce:

  1. Magento 2.3.5-p1 installation with PHP-7.3 and nginx 1.10.3

  2. Trustpilot Magento 2 version 2.6.555

  3. Succesfully place order

Expected result:

Actual result:

I have no header set that is blocking any requests, I even added add_header Access-Control-Allow-Origin '*'; to my nginx config file but it still didn't work.

Is this an issue on the side of Trustpilot or is the wrong header send with the request? Anyone knows how to fix this?

tprocter1984 commented 3 years ago

Any news on this one please? We have had to disable this functionality until this is resolved.