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/1sa4votya23v/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZm1GNUnujzE1rMUPvWgoXt3kfHcyNMu8nTCfYFHfp_heyvTTaSmcVRUioISWn-7ttBn0VOx1sA9SvIS");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzZmNmI4ODA5Y2RlYzRmOGI0Yzg2NTRiOTNkMzE4NTY0OTE1YjZjYmE5YzkyMDhmMDQ5Mjg1MGI1NmY4NGNkNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMTFUMTk6MjE6NTEuMDI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBsVTFqRnR6Ri1zd19ZWXBmOTFWQy1Icm9lbzE4cS1OQV95OXE4X0ZMVXZaYzZVc3Z1Ql9qV1NaSjJZeFF5S3NJclBNYVotaFVKS1NvajI1cEdER2lvNEdFVmpnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6732663a6fd67', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6732663a6fd67', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6732663a6fd67', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6732663a6fd67', 'paylater', 'paypal', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6732663a6fd67', 'paypal', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6732663a6fd67', 'paypal', 'paypal', 'rect', 'blue');
});
}