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/x0464bydh7qz/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZZrQV1MfwytCNdEt7Y3NLABZtcZqdPnouacEx2DIOs7k6hNqjhyhfkULM6QSxynJOZaqWlXbaPATvI3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjhkODVmYmVlNDE4MWE5MTIwMWVjY2IxN2MyMGRiMWM5ODgwZTVhYzU0NWY2ZTAyYTk5NWQzM2NlMGE2ZTM1ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMDZUMDY6MjI6MTguNDQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5zb2h6aW10dWJSX1h0b1RETS0yTnpOYWVDYmhCeE0wRVRoYmp6MDlYeWQwZU9vSGdIVGdHbGpfY1lrT3hJSzc3S3JjU0xJV1FKekVkUjQ2ZXR1NDM1QlBrNlp3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZZrQV1MfwytCNdEt7Y3NLABZtcZqdPnouacEx2DIOs7k6hNqjhyhfkULM6QSxynJOZaqWlXbaPATvI3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjhkODVmYmVlNDE4MWE5MTIwMWVjY2IxN2MyMGRiMWM5ODgwZTVhYzU0NWY2ZTAyYTk5NWQzM2NlMGE2ZTM1ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMDZUMDY6MjI6MTguNDQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5zb2h6aW10dWJSX1h0b1RETS0yTnpOYWVDYmhCeE0wRVRoYmp6MDlYeWQwZU9vSGdIVGdHbGpfY1lrT3hJSzc3S3JjU0xJV1FKekVkUjQ2ZXR1NDM1QlBrNlp3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6610f612c924a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6610f612c924a', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6610f612c924a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6610f612c924a', 'paypal', 'buynow', 'rect', 'gold');
});
}