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/32itjw7xltx8/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZusJUegaXkadg6Dgzx9To6OBM2-r07I0ct2OkqLLifAKa0Vnx8krZayCTPUcWdl_gwyPSisa55zCbvy");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjI2MjdiMmI1OWEzODc2Nzg1NGFkNjk1Y2E4NDBlMTliYjRkMzJiMzM0MTE2MTEwOTA3Mjc2ZjhiOGE1ZWFlNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMTlUMTQ6NTk6NDQuNTU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBtU3JsT3I3Q3ItMWhLNk5sQ2wxMktPVmFoR0MydXZzU0lzTlpoR004RjJiM3czUWtRM1QyX184SGFRVVVnWG50Y1FXbERJVWV3QlhvYVp5cTFoVGk4ZWZPa0h3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6531505d18a28', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6531505d18a28', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6531505d18a28', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6531505d18a28', 'paypal', 'buynow', 'rect', 'gold');
});
}