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/yds6snu0cmne/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Ab_VBFU1-Y-UAAtcDPpCKVNW_CDgFR37snkTcNgkB7m2kVc2Stsr_xTaghw0_xceM-0VuVHFawVChzC7");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDY0OWNlYmQwNTE2NWY1YmU4ZDM1ZDY4Y2U2YjE4MTE2MmYwY2ZmZmU5NWQ0NmVhNmE0OTU1NjYyYTE5MWY0YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjZUMTY6NDQ6NTEuNDU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU03WkkyTnF0Z2g5VF9XY2lmd0VMUHVEN25HVjVFWmtTQ2pTYzc1YnlXaU80Z2xvUWh6WWdKZGZiNUVTX2dPZWEtdDRJN0w2SDFMUS12VExuOXRlTlowYzl3aWdBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b88d02ccf12', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b88d02ccf12', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b88d02ccf12', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b88d02ccf12', 'paylater', 'paypal', 'rect', 'gold');
});
}