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/7yyvmb6aozh6/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdUAjrYQCb4HEVUkiEmzUQwKquOMGVycU3xd1R7cscoy4ySTo0DawMWOp8Me3EHSZH7Pv0wPM5nQKNwv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTExMjFkOGVhZGQwM2Y3YzBmZjY4ZDA5ODM3NGVmMWJiMWViYjhhMmRhMDM2YTFhYmJiODdhOWMxMmM2YTc3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDJUMjM6NDM6NDcuNTY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5PcXQ5TGdGTmFMRXJYZHR1bjBPMDRfd3B1MWR0cjA3LUQ4SFE5RzQ3bXBnN2FRYklqbVllUnAzd2lKM2cxMWRlN1NvUFNDTTNHYVdLOW53RXdMb1UwR3RZT1RnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dc57b5a764d', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dc57b5a764d', 'paylater', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dc57b5a764d', 'paypal', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dc57b5a764d', 'paypal', 'paypal', 'pill', 'gold');
});
}