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/zb2v98owhp8p/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdiZc9T4xgRBBai7QoaHG6L8_yZmLSP2k9zUHI1MU2phHpMrlOn3iOxJGa7ajmieZfKq7WYExkfWunRX");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGNhMTc5MDcxNWExNmI4OTI1MjI1MDZlMGQ2M2YwMTQ1Y2IzNDg3OWQ1ODhmNTMyYjZiMDY1YjA3NTUyNzlmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzFUMjE6MDM6MzAuNjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU96MzA2Um9sd0MwMUMxYWV2bnltbk42bFpwUzI4X21INGZLRUJUdTBXSkpEN29NMlc1MUp4a19scWh4ZGxycVVBZTZoazFYSUM4YlRFWm5YeWx3NTJyTVBVM2t3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d9884c26a15', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d9884c26a15', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d9884c26a15', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d9884c26a15', 'paypal', 'buynow', 'rect', 'gold');
});
}