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