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/b05cayinxl1f/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AT-6L6At5zYnV8TFl0-68-o3Sjq4GLdj6ZFSrxc7sZ_Goyg6Yik9bsvRIg68Y73bYnB3O5pHyHbiRgHq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDdmYjRlZTM2MmE4YzM5NDVlNmE3ZjcxMzJlNjJlNDE4NWEwOGUzOTJjZTJjYmNlYzNlNmQwNWRlNDAwYWRlMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMTZUMjI6MjQ6MzIuNTQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9ZS2c3N3FJUFVSS0w0ZWVtT0hKNjc5RDMxWGhRS1BoMXFOdnJYRlpnLUJPTDE1aU80cmtVdlBiVzQ1R2YzSHhUUjhkMUtxc3I4eTRtbjBGdjI1c3M5Ulg0SGZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c5cea030f7c', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c5cea030f7c', 'paypal', 'buynow', 'rect', 'blue');
});
}