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/utxb9kbvmgk3/plugin/26/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Adj-iNeHwSXq-sCNqMMW6lWDYqwb5R2kqgg-EKyZv23j-p2bGooYRFfIRCuX6oHgaF4GAeeYuqZOQbfQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzE4NDQ2NjFmNzk5NjFiNzNlYjNiODQ2ZjA3YTcxYjc3NjM1ZTY0ZWEzZjhkN2VjY2M3YzM0ZjJkMDg1YjQ1N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMTA6MTU6MDEuNjI4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9xekk3S3EwWEFwdVV4TE5RNmh0Nnh6dG1PUG1jZmdUMnpQeDJGb05rT1Y0VmlDenluT3BEY2Y4Y19XbmJITmM0U3ZTa3Vfdk5vV1l2QVdUV3VockRJX2ZXaktRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66376808d3fe9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66376808d3fe9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66376808d3fe9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66376808d3fe9', 'paypal', 'buynow', 'rect', 'gold');
});
}