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