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/oszxabgmsnh5/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeCy3abXFpzTjlBpsIIo1GXCWTNBYDf8E9IPN56s_cYX7UwmgOKQSnWxeJkoJM3axpw8Fr1H8uCLzrKa");
script.setAttribute("data-currency", "INR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTgyNjY0YjdhNjM1YTI2NTQwYWI5YzE4ODE5OWY2NmIyYTViMzY3NjMzOTk2NWZhYmNkMmY4MmE5NzY1NzQzZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDgtMTdUMjI6MjU6MjkuMjI1ODA3MjMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBVbkhCUWpKZXhVR21BQW1ha2pZd3ZsR1Nhb3VqRHJ2aXhuNE44SnAyYm8xTmxiSFBIOE1fRTRiblVaMW9BbF9pTlBaY1VUSGkzd1hmaGpLY04tdmYyeklKbXdBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('68a256d8b8f26', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('68a256d8b8f26', 'paylater', 'paypal', 'rect', 'gold');
});
}