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/qvbwczb6g8pa/plugin/20/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATsxYQ0cI5Utiymjyy7x5oA5LO6-z9Oq033gbnSl0v89ZrjXMqZHK-eaQcIo8cPZd4KBP6c-fDoRB1-U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjAxMDdlNDlhNmE0NDYzODMwNTU0ZWQwYzY1MmE0Y2I2NzJmODFlNTkyZGRlYjNmZTU2ODVlNTZhNmQzZWEwOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzFUMDg6NTI6MDUuMjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9yVUNxNHJPd0RhalEzUXRESG4yVm53UWZYQ1Q0b3h6dnhWRHBwem9QVG5maGZEV2N0VldYTDN5azEydklvRk80YUlVMFM1bnJvWksyY0I2VzlpNFlFMHZueG5RIn19");
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", "ATsxYQ0cI5Utiymjyy7x5oA5LO6-z9Oq033gbnSl0v89ZrjXMqZHK-eaQcIo8cPZd4KBP6c-fDoRB1-U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjAxMDdlNDlhNmE0NDYzODMwNTU0ZWQwYzY1MmE0Y2I2NzJmODFlNTkyZGRlYjNmZTU2ODVlNTZhNmQzZWEwOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzFUMDg6NTI6MDUuMjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9yVUNxNHJPd0RhalEzUXRESG4yVm53UWZYQ1Q0b3h6dnhWRHBwem9QVG5maGZEV2N0VldYTDN5azEydklvRk80YUlVMFM1bnJvWksyY0I2VzlpNFlFMHZueG5RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6426ab8386e76', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6426ab8386e76', 'paypal', 'buynow', 'rect', 'gold');
});
}