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/dqaqtvmxowl5/plugin/65/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ab32pqitaM2PPd790nBs-C5lae6y8L0zmdErnUdCDCgdgdyBMa0nq7dvYPCkp8EGAIoZxnNYvbaDi5ju");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2IwZWNlNzVmNjIzYmI5NWI2NzU0ODVkZDQ4MjQ4MjQzNjk2YWQzNTE1ZDVhMDdiODg3ZTVhMjY1NWNiN2FhNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjlUMjI6Mjc6MjkuOTAwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4yNzdnVnY3THJDb0JKRUl3SWIyZzNqcmZEZFBxY0tLQ01vbkRwamFHVFF3RTc1M1BNUWFrRlBmVXc2R3k3ZW9LZ0FhaHUxY2xFWUNkUHRBa0NsSVQ0Z1dQQ3hnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "Ab32pqitaM2PPd790nBs-C5lae6y8L0zmdErnUdCDCgdgdyBMa0nq7dvYPCkp8EGAIoZxnNYvbaDi5ju");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2IwZWNlNzVmNjIzYmI5NWI2NzU0ODVkZDQ4MjQ4MjQzNjk2YWQzNTE1ZDVhMDdiODg3ZTVhMjY1NWNiN2FhNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjlUMjI6Mjc6MjkuOTAwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4yNzdnVnY3THJDb0JKRUl3SWIyZzNqcmZEZFBxY0tLQ01vbkRwamFHVFF3RTc1M1BNUWFrRlBmVXc2R3k3ZW9LZ0FhaHUxY2xFWUNkUHRBa0NsSVQ0Z1dQQ3hnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65175b73ed8c3', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65175b73ed8c3', 'paypal', 'buynow', 'rect', 'gold');
}