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/bk92apz5op2u/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVeKGiJqNR10U6AQjqXz68NuF6jzXtFllDB6P308-KP78HBYQQ0wM6ln-2IDUbSgvhEmY5vmdObGJTuG");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWY2NmQyN2IwZDBjYjExYmIzM2E0MWYzMmY5MTViYWQ2YTVhYTBkMmFiN2Y0YjBlNjA5MDQ4ZDZjOWVmODI2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzBUMDY6MTk6MDIuNjY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80ZUxWa3BZQW5aT2lFcDk3cTZKNHRoSUdxX3ljaUM1ZUx6U21XYnRicEctM0EwOEF0bExkTDNLckVHTjNmYmZHV25QV1I3NkQ2amxyUDBVZlppTTNoUE5jRUpBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d76e23e75ea', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d76e23e75ea', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d76e23e75ea', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d76e23e75ea', 'paypal', 'buynow', 'rect', 'gold');
});
}