Impossible to use Paypal with Address in China

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
NopCommerce Version: 4.30
Plugin Version: Paypal Standard v.1.60

Hi!

I have a problem when I proceed to pay my order with Paypal in sandbox.
I choose an address to China and Paypal don't allow me to pay the order.

I get this one when I try:


It's an extremely sensitive issue.

Any idea why there is a problem?
3 years ago
hit F12 to open your browser's developer tools, click on the console tab, and copy/paste any javascript errors here
3 years ago
Here is javascript errors when nopCommerce redirect me to Paypal with the error on my screenshot in first message:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-cQiyxgptIXTQpVFhP31J1FLFys0uLWSLj4UGnVIeMD0Ngm7S' 'self' https://*.paypal.com https://*.paypalobjects.com 'unsafe-inline' 'unsafe-eval'". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.


shoppingcart?flowlogging_id=2f69a2f7a0658&mfid=1591344905671_2f69a2f7a0658:1 Refused to apply style from 'https://www.sandbox.paypal.com/webapps/shoppingcart/static/css/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
3 years ago
try 'strict-dynamic' for your CSP in web DOT config file:
https://stackoverflow.com/questions/58716695/csp-problem-execute-inline-script-paypal-button
https://github.com/paypal/paypal-checkout-components/issues/447
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.