if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/c1iyupu07vlj/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATANP-Va-BPJU2oYdVGUcmoLr6yzy4rjaKV7lZ8JahjEg02_SKg6NmmmIJt577sengTAN_LL2e93CHFt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjM0NjhkNWYzM2YwZWFkMDIxZjE2ZjVmOWE1ZDRmNDk5ZTBkNWIxNzgwZWY2ODIyODFkODg3ZTIxNzc2ZTI4NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzBUMDg6NTE6MTUuOTk4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9aaVcxbnF2QTZiQ3VpS1MwLWlMcW5BZEk5ZjRUcm13TVVEcGprcGpRVE4wc3FQSmxvVnpFRjVMZEdQc1gxMm5FQTEzRmFHRlVHVHp5eEFMeHl4dHFWc0VmWHRnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64254f92f24a9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64254f92f24a9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64254f92f24a9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64254f92f24a9', 'paypal', 'buynow', 'rect', 'gold');
});
}