if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/n3rw4oqw4qai/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaH09K93eFcIz2BE1IsGJqundbPNYUuqJnGK0CghaWaCvKjiYWiBWKnj7EUv52-GkXehKXjbbE247ARo");
script.setAttribute("data-currency", "INR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTJjMWY2ZjhlYjIxZjBhZDQ3ZWNjMzA1ZWQ3NDJkN2FhMmFiNzNjNzA0YTdkZGZmMTE0NTc1NjE5YmY4NWIwMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMTA6MzU6NTAuMzgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBmX2sxV2dFSUt5bmFjOWxXWWZpRGVrbng1c3BaRkxXaFlGZUJYbXduQ01TR25fdm5WVVRqNGpGOW5CSXRMVlpJSFdjb0R4b2pia2hsbFpORGtDRWtUNlJlckNnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662f7c2a2c3a1', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662f7c2a2c3a1', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662f7c2a2c3a1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662f7c2a2c3a1', 'paypal', 'buynow', 'rect', 'gold');
});
}