if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/r8m9nkyqi92x/plugin/39/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AX1rbmdVxz_QGAL9-llnUdzCm4LZBNYY85R4RTgE6q3VT2-s7j9r8ZQpCXgXDtX9BiacGU6sPPk9Rfva");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWFjMjk0OGZlMWJhYTY5NTc2ZGIxZWE5NTkwY2EwYWIzNjEzMGJiMDY2ZDZjZDVhZDJhZTU4NWQ2NjkxZmY0ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjVUMTI6NTI6MzEuOTcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1iaFByYnF0WjZSMDN1eDJSZElqWmhLXzBXbkJJaXZKR1EtT0c0U0lKb3JkNkxnNEVIUFc5U2FRb3FIdkF3NmxYZjZKcnBSX0R0cnE5U3RGQXBlX1dmdnBTOFpRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628e268f8472b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628e268f8472b', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628e268f8472b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628e268f8472b', 'paylater', 'paypal', 'rect', 'gold');
});
}