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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGFkOWI5ODY4NjYzMmRmMjA3MzhiZGJjMjA2ZmE4Yjk1ZGJhZWYzMDk0NjQ3YWRmNTFhMDQwZmU1ZDExYjYxZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDdUMTk6MTk6MDYuODg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBUYjRIaXNyTmx0aVpjSWFTSTBBU2tURWw1akJwckF5b09Fdl9nQXVhWFBoa3l6RFV3WG9TQ0Rqc1Nld0lZXzVNcTRDNnZ5eEF6cGRUdDZta3JRdkhWR3RaOE53In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e2a6c785961', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e2a6c785961', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e2a6c785961', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e2a6c785961', 'paypal', 'buynow', 'rect', 'gold');
});
}