'Problem with woocommerce checkout and Paypal - buy button does not redirect to paypal as it doesnt change the form action

I am using paypal plus with woocommerce as you can see here: https://www.pro-hypnose.de

The paypal display is working so far. But when I click the buy button (here "jetzt kaufen" it does not redirect to paypal. It leads to a summary of the products without adress information. An email is being sent with a buy now link.

The form action remains still as

<form name="checkout" method="post" class="checkout woocommerce-checkout" action="https://www.pro-hypnose.de/checkout/" enctype="multipart/form-data">

The console says the following: Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). in English: the configuration has blocked a resource Shouldn't it changes to a paypal destination? What can be the reason for it? I also checked if there is a double form tag. It isn't.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source