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/kv7lfo99klvp/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Afqk0Eppbdwrz4DxLK3WL3w4CUxxOKmBIESpO8IFXDtgP-PsSw3w9qxc3vZTy3FnSCerbefFMQHTWRGQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjEyMDQ0M2ZlZmM4N2MxZDcwODBkZGQ5NDUxMTZiNzllYWIwNDhiN2Y5MmYyYWZjNDg3Y2ZjYmU0ZDljMmVmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMThUMTU6NDA6MzEuNTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBtU29EcGg5Z0dzWVhZbU13RUo0WEJualNsU3pCU1BqazZEeEF2YlF1eXVza3RrWFRuZXR3YTNYTlJmWmotZm9jZWlkaHdwUGdRWF9KNlBSdUhYcl9lTFJ0aFVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6415db6fb2c55', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6415db6fb2c55', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6415db6fb2c55', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6415db6fb2c55', 'paypal', 'buynow', 'rect', 'gold');
});
}