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/wxb1205wm6e0/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa6MbjulOWu_fK-JI7YM6Pyfpoi6fBhUwWmnZRmWiqWE5OZ6088nWll5sx4a8OCElTn6eAEzhc3WDe9D");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGIyMjkxOTk1Mzk4NTE5YmRkZjg4OGYyYWNlY2IxZDdjMmE1YmIzZjQ2ZjZhMDE0NWFiNDMzY2QwZDUxZmNjNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTZUMDk6MjM6MDEuMTcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1TbUNWRXBDeGR0ZV9zelZWcW5Vdk9lOGNJcENmNHF4dERBUUg3cW14T2p2aURhSG9aMXNOTi1EV3FpQnhTaTZHcFNXRmg0LW1GWG95eWFNeWJGblduT1hRUzdRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6696493c43f64', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6696493c43f64', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6696493c43f64', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6696493c43f64', 'paypal', 'buynow', 'rect', 'gold');
});
}