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/agj6azwzjkcd/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARKgZAgeMQSZP0WfKIGbX1zmrdhMWe9z1Dck-2SGV1Gt2cr9XaQoHNixZD85ya8dxOZ6HuAIBe9IoxE3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTg5MTg4YjYxODZiYWY3ZGQzYWQwY2MyOTcwY2VjNDJlY2I4NzJlN2ZkYzY1OTU3YzAwNDRhMzdmMTZmMDg2ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDhUMDE6MTQ6MjQuMzExWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5MczVwYmxGU21yX05yb3A1Sjgzbm4wZ093dVpPYU80MTFGZTFpNjJFd3c2R3pFeDRKdFNvTXo0V0FDTjlSQ3V3TW9fUHlzX204ckU4T2dYbGg4b0ltNFdMV2tRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e2fb9116588', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e2fb9116588', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e2fb9116588', 'paypal', 'paypal', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e2fb9116588', 'paypal', 'paypal', 'rect', 'black');
});
}