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/y1g27aamp6y5/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATn-gSfBbyhN2v-fh2ovY4FMMcX0CUgNa4yqzE5dsqbye352790ZDg57sC77kH_3TIj2z3_lR3IcKzUP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWIzMzIzM2VkYmZjMTEwNjdhYzU3NDk5ZjQ1MThhZDRkNzhmNGYxMTZhOTNhY2I2OTE4Y2NkMGQ2YWVhNThkN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjdUMDQ6MzE6NTkuNDg1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5UMjh3Y2cxbFZJNEc4MnZhcGxoa29vUWlOY3VxZ0R5RHY5ZkxsT0dXbzBIRnhnOHZyd2VwTUY4Z25JVF8ySXlkYmZ0T3QyN0FSUmQ4ZTRnX053SUZmYmpxZ0NnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d353bf269e4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d353bf269e4', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d353bf269e4', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d353bf269e4', 'paylater', 'paypal', 'rect', 'gold');
});
}