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/faoh9halel50/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWxdMGSVNoizpZFUkRN8xeQdHuitTdVQW1MJGBSzChkufdWg10gZB0LuAXzreyiFNPOj_drBARnGIHbF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDAzZjI5MjcyNDU2ZjNiMjhkNDIzOTg0YjJlNzY1MzM3MTRhMWRkMjQ3YzU5NzI4ZTdmOTk0YTdjMzQzMjFjZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjNUMjM6NTM6MTAuNzg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5fVjE3a3Vqc0I4XzlLQUl5dm9jNG5UWUJXTHFxaFFQRW85SzFsMFA2ZE53UW9ka1Y1cnFqQzhKMzVzUld1dmtwdDd6dUEycUhwa29JS1JfZHpfWlNtM1BtbEN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628c1e665b391', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628c1e665b391', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628c1e665b391', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628c1e665b391', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628c1e665b391', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628c1e665b391', 'card', 'buynow', 'rect', 'black');
});
}