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/rzc8p33vcg85/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aakk0h1bam1OG9l2RuM7kZoXxlMaH4k-gphwa4LMeGX157kSMTThDvVb9eJWDEPldpeN38zGlrYefHIk");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDE1ODUxYmFkZmY0OTA4ZjI0YTJlODhhNWVkZThlY2ZhMTAyODkzYzZhZjU4NjhjNjJlNDlmMjIzYzg5ZGE4ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDNUMDk6NDc6MTkuNTEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoREJ6b3RlMUlSbDE5dWpBZ3J5SU90UmxMRlh5MmtxS29YcGgzS19KbXhzWV9pU0pYX3lMWkdpQWhJdFdFSkZuOHNIVFBXd3Vod3RqNVlKWFFOa2RNMndwU0lRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dcd86024060', 'card', 'buynow', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dcd86024060', 'card', 'buynow', 'pill', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dcd86024060', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dcd86024060', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dcd86024060', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dcd86024060', 'paypal', 'buynow', 'rect', 'gold');
});
}