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