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/823apjhbftvy/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzgyYzA4Y2RlNjBhMmY2OGEyMDQ5M2NhMzMxMjQ2MGEwYzE3OGVhOGRkMWMzNGY2OTBhYjg5ZjBkNzVlMzJkMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMjA6NTg6MjQuNDMwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1lT1FvbnM1TWo3VE5tUlNfZWdHZk1RamlnbEVSZC1aOFVlT1hlcmtvMWoyaFlnbExURE0yMzlnMEJqTUpDN1pGT0FvN3hESWwxZHEwckZBMzBYZE1pT3Fpd0JRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d6e6efe4aea', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d6e6efe4aea', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d6e6efe4aea', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d6e6efe4aea', 'paypal', 'buynow', 'rect', 'gold');
});
}