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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzU3OGJiNmFkM2MzYjU0NDQ1Zjc4OWYyYTY2ZGZmNjA3YjkxZjk2Mzg5YzkyYmU0MTA0YzBhMDFlNmM0Njc0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMTdUMTA6MTQ6MzQuNDg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9pV3E3a3RRdjBMcXl0VlFlUlJsRHFZWHNRMUxZTEI1aWJRbDdodGRKRlQ0Wl8yaUc2ekVPdTQyVWdja2dhOUFLRjl0TG1HRWlUSlY2cGJFcllBMDNTbW5Yb3BnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6283758a03d51', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6283758a03d51', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6283758a03d51', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6283758a03d51', 'paylater', 'paypal', 'rect', 'gold');
});
}