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/32itjw7xltx8/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZusJUegaXkadg6Dgzx9To6OBM2-r07I0ct2OkqLLifAKa0Vnx8krZayCTPUcWdl_gwyPSisa55zCbvy");
script.setAttribute("data-currency", "INR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGI0NjViYzczZmUzMGU1OTk4YzVlYjhkMTM3NWY5YjhmMmI3MWMxNzZkYjQwOTY0OGY1YmZkYmQ2OGM1MGRkMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTE6NTc6MzguMDY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5UdzY0UW81aUFvclJDd0sweFZlNnZEbVpnOWxsNHBqV0JhZERmc3VBdG9XUzNlY28tdzdQTklTczZPOS1TbXRRcTNPd1lXdEhIYlM0X1U0aDU5TWhMQy13YmFRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66055cd00fd9b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66055cd00fd9b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66055cd00fd9b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66055cd00fd9b', 'paypal', 'buynow', 'rect', 'gold');
});
}