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/cj55hindoc9t/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUtx5bvr_gPS_kMeTkCAIiCkH1GqJfCL5alafKSfhrm69cUjNLPnGdjAEiDBGe9-TXkxw9yWOR-QMPmC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTJjYTA4ZGFhN2FiOWMyNTMwZmQ0NjIyMWYxNTg4NjU4ZjliM2JkMjUwZTdhOTQzZjhiYzVhNWUxN2U2N2Q0ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDhUMTU6NTc6MTkuNDQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90djF3Mm9MYk9NYzhYbXhlZjU5cGVQVE9Ba0hIMksyUWQtUE1VYURZY3NKZmItVFhDV0pvOWRjc19HZmJzWDB0SVBELUp0QWJYcUhkZmxaTlJOb0N4Ri1jSEpBIn19");
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", "AUtx5bvr_gPS_kMeTkCAIiCkH1GqJfCL5alafKSfhrm69cUjNLPnGdjAEiDBGe9-TXkxw9yWOR-QMPmC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTJjYTA4ZGFhN2FiOWMyNTMwZmQ0NjIyMWYxNTg4NjU4ZjliM2JkMjUwZTdhOTQzZjhiYzVhNWUxN2U2N2Q0ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDhUMTU6NTc6MTkuNDQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90djF3Mm9MYk9NYzhYbXhlZjU5cGVQVE9Ba0hIMksyUWQtUE1VYURZY3NKZmItVFhDV0pvOWRjc19HZmJzWDB0SVBELUp0QWJYcUhkZmxaTlJOb0N4Ri1jSEpBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6481fafb71d08', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6481fafb71d08', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6481fafb71d08', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6481fafb71d08', 'paypal', 'buynow', 'rect', 'gold');
});
}