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/xj8d4sahw33f/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbhxneadOsjfi2vov5MZvcbQpQ-Qv3hQnnLtfszi5jrEjw5Sm4BiNdVqhmlyYiLe567FxTNMUabKRh09");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDhhYzkzZDQzZDY3NDk2YjZiM2IyNDdlZDJlMWFlZTUxMzkwNDU2YjY5MWFhMWE3MTQ0ZmYxZTI1MjFjMDQ3M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjdUMTU6MTE6NDYuOTAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU41MlhkZmxzY0NIa2lPYXR0a1RJY1pjTUdIbkFocE9oZTdSQ3NlWUV3bnNQaG1kSWV4UER5MTA1R19TSFNiVzVCTDdYTllzc0IxU0JCWHVfZUJBa2M5WkMtbU5nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b9c8b28d2cb', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b9c8b28d2cb', 'paypal', 'buynow', 'rect', 'gold');
});
}