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/ianvvf5f23l2/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXi7vyDt6E9R3SJxBdy4N5xWR6ayeQAOXdEy1JKqh23vieaUN88lNK1XCNmLaUtuciWuKtaNYKzgykzq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTA3Mzc5YjQyN2Q4OWFlNWY3OWQ3OTI3Yjk0Y2QxMGFjNGVhM2M4N2QwZWEwZDQ0ZjVkMWVlZDNhNjAzNDJiNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDZUMTA6NDQ6MjAuNzkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jQWFCY3F3RWNyVk0xZUdwazhlcFQ3VnVHMzVZX2lLc0xwbDg4MTN5RG9Eck43VUlLSndBUDB0N3dxOXJEcjFScEdCcnNRWTA5ZWdaRkpSNjlTeE5wV2FxcmpBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c567845f11b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c567845f11b', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c567845f11b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c567845f11b', 'paylater', 'paypal', 'rect', 'gold');
});
}