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