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/p1qx62maufmm/plugin/53/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATK9V-zpArHa2DciDq-mSFv68xwfzz-d5rMEQSGbNT981f6U2BnWZ0T0ATIcMUcfab-6LqFY4m0YuUMA");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjBlNDg2ZmJkMmUzZjU0MGIwMjJmM2IzMGVmNzJhMzgwOWMxN2Y5MTRlYjg0NDZiYjFmMTUwNjk4NTUxNWZiY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDdUMDU6MjU6NDUuMDMyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU96b1RWT2d5RFIyeEtIa1NDZ2I4aW5UeWd5MmItbVQySzEzVUtmTE90YjJRMmNIRjVEeVhleUg5VURGM1dReDRkc3dXbEJqcFNWald5dXlRSC1TQlNaRG11ZjFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e1e5fb9f739', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e1e5fb9f739', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e1e5fb9f739', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e1e5fb9f739', 'paypal', 'buynow', 'rect', 'gold');
});
}