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/zp7ofx9k7xw8/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVOiGqJ-fzgDPDKRjNVMtgT-gpIhM5tCX8TEiItWn0zEGjm79VZACVGA5XGVgfeafj4MYh6IMbXAwQh5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTU3Yzg2YjMxOGY0YTBlMGZhMWEyOTc1YTA3NmRhYzcxZjA1NGFjMzBkNmQwNWVhYzhhN2JiYjczYmQ5NTFhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDgtMjZUMTE6NDQ6MjAuODQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1lNFpXVm1zWkJMWldHelM0UWNMSmRzU2lEWWZiOEVXaW9nV0hJajJHSWMwVHFDYVZ3Yy01QWVIYUo1ak1UNVZnRzlXb21SdU5JLVZQalBpdmtqS2JLMl9KN3VRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64e9ea050955e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64e9ea050955e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64e9ea050955e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64e9ea050955e', 'paypal', 'buynow', 'rect', 'gold');
});
}