Getting Cross-Origin Read Blocking (CORB) error with WooCommerce PayPal Gateway Getting Cross-Origin Read Blocking (CORB) error with WooCommerce PayPal Gateway wordpress wordpress

Getting Cross-Origin Read Blocking (CORB) error with WooCommerce PayPal Gateway


A full explanation of CORB is here.

To summarize what you have observed:

  • The checkout page will load some scripts [e.g. javascript] from PayPal to implement the checkout functionality
  • In addition to checkout functionality, it seems that the script may call some PayPal API "logger". From the name, this is likely to be for PayPal's analytics or "business intelligence" purposes.
  • Your Web Browser has identified that the response returned from the "logger" API is invalid or inappropriate according to the CORB logic, and also not relevant to the display or operation of the checkout web page, and so CORB has filtered out the response body/headers.

Filtering out the response body/headers eliminates any opportunity for that response data to have any malicious effect or security risk in your browser (although, in this case there is no malicious intent)

So in summary, it's nothing to worry about. The checkout functionality should not be affected, and PayPal still get their analytics as the "logger" API was still called, just that it's response was discarded.

PayPal could possibly re-engineer the way the "logger" API is used to avoid triggering the message in the browser console, however that may be complex to do with little business value.