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/ifbrv1ca3jmw/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYQTvVFy8ys-dhEztyxl-Xsgt3Ik-ZwD4UNdbYgg4jTeYiCMjSfMKMJSZrkbpZ5zKHXzPdRHXMX5UGPJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTU1OTVjYzlkMmMwM2RmMjUzZGIwZGVmZGQyOGVmMDQ5OTdmNjgzMTFiNThkNzliYTMzZDg5ZGQ5NDNjM2IwY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDJUMDA6MDM6MDMuNTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9Db2g2VnY2ZktiRHhUTDJUdUpuVDhpeUVjSFlsZ25BN3o4bnU1RHVfeGZ0N0xJVXd3eWphZ1N4OG5lRlA4RHFqZS1HRUtwOW01WENoRGtiaDA2dU1pT01WdjZ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651a14287e135', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651a14287e135', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651a14287e135', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651a14287e135', 'paypal', 'buynow', 'rect', 'gold');
});
}