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