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/82ymz0mbvnpi/plugin/16/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Abms0dCF1bKy9VHsTC-zzjqguL8c27KsBFjOzGz_C4L9iu9NJBp0YSlwETpPRUuE-tYV4VMJLxWiu-74");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzcwYjM5MDFlYWUxMTBmN2M4MDhkNDg5NWI5Yzc2ZDYzMDI2MTkyMWI1ZTk3ZjlkMDdmNTNmYjBmYTRhYWMyMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMTlUMTQ6NTI6NTAuOTg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BbG1MR25OVEt0VWFSTEw1SnFWSzVyS0tuc05zVWdtSTVqcTVtcndxak5zTl94VFIzMnN1azVXZjBOZGpMMmhLR2J4dXd0S0ViWUpoZTN3WlQwSWVDUnJIMnFBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "Abms0dCF1bKy9VHsTC-zzjqguL8c27KsBFjOzGz_C4L9iu9NJBp0YSlwETpPRUuE-tYV4VMJLxWiu-74");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzcwYjM5MDFlYWUxMTBmN2M4MDhkNDg5NWI5Yzc2ZDYzMDI2MTkyMWI1ZTk3ZjlkMDdmNTNmYjBmYTRhYWMyMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMTlUMTQ6NTI6NTAuOTg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BbG1MR25OVEt0VWFSTEw1SnFWSzVyS0tuc05zVWdtSTVqcTVtcndxak5zTl94VFIzMnN1azVXZjBOZGpMMmhLR2J4dXd0S0ViWUpoZTN3WlQwSWVDUnJIMnFBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6509bdd9593fe', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6509bdd9593fe', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6509bdd9593fe', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6509bdd9593fe', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6509bdd9593fe', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6509bdd9593fe', 'paypal', 'buynow', 'rect', 'gold');
});
}