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/8tradr7m1c08/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfO-_uRDKjHtL0L9h44VC-zJMWurCFIs4ZQZO11e1B2tZt9HdmguvBS0RjTUECfVhVBo0InM_fSMaqPV");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmE4NTk4M2I4NTgzMzM3NjNhYTM1ZjExZGMxZmFlNmU2NzNkMWFhOTE5MGI1ZGU4NGM5MjVlYTFiYzQwNTdjMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzBUMDc6NDA6MzAuOTcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAxQkg4VnNMV1VRNk1MbDZoM2ZfZF9Kd1pUV2lOY1c3djYxZHFzSFJWNTJ1VVgxeU1TN0N3dFh6aTlxX3h0SVhMdEpta2RtNU9PakttRFR2SlV3YXk1ZUtNa1JRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d7746e81f09', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d7746e81f09', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d7746e81f09', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d7746e81f09', 'paypal', 'buynow', 'rect', 'gold');
});
}