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