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/27puqv9vf339/plugin/12/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARPTTjj59OcwEBF1BD8GBIYUznXVlWhSOXfOYBV4yOfVPc-XhPPwHvlmQvNZjKtDYOFh2PL7p596Shxx");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTRlYTA4MTQ4YmI5ZGJjMWM4MmNkMjE5YzI3YTVkMzUyZjkzM2E5NGIxMGYxYTg5ZWVhOTlhMDUxNjA1YzgyNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMTlUMDc6NDY6MjAuNTAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBkM2d4R2hzZ2tidjJtUTV3WEgyMGJrTi16Ui1tdy00YWxSTmlvb2NBMnJNUC1EOHlUZE80bEJFWEV2VVlIRC13R3Q0Z0lFV3VXbWRpdDR6cEl6a0xiNGJGUnZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6285f5caedea8', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6285f5caedea8', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6285f5caedea8', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6285f5caedea8', 'paylater', 'paypal', 'rect', 'gold');
});
}