When I try to pay with PayPal an error occurs and the button does not work, this is the JavaScript code:
$(\'.paypal-button-row\').on(\'click\', function(eve