if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/jgg4gfdvy7fj/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWwa2gxQ7l8PxNjiyI0pS5reOliYEoB9VHx_oqgwj30ZMkdpQRG7O6oEQPazTZL1yXHHpuERPY1_dV1P");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTQ0MWQ1ODFlOGFlZmFiZmViOTg1MDVlMGI5ZWE5YzJlYzcxM2U3YTljZWM2ZjEwOGEyZDRjN2E5NWMxNGMyYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMjM6MTM6NTcuMTIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nUjRwSm9aSFBDazRlRlU1c2tWaWVNVU9mQURsRnpQdmdvU284ci1DMUF1UUlJcHhVM0V3cWMwT05vYUh2Sk9pT0pFNjFpQVZCbnVZTHRPb0U2U1QyYjNTMFhRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605f9b48f312', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605f9b48f312', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605f9b48f312', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605f9b48f312', 'paylater', 'paypal', 'rect', 'gold');
});
}