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