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/gyfz4ixaz3xg/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AWLWMgxR8tR71lwFEayThPDUO09Y77avdH5UEeyCTHAgSg_2e0N-B2o6gLc4Bh5D2ehTFwl25GW8PXb0");
script.setAttribute("data-currency", "INR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWRjODRlZWVkZTJkNTViYTMwZGY2MDVhYTU5NDZiYjQzNTdhM2I1NWM4MjM4N2ZjYzcyYTMxNTliY2NiZWU5NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTk6MDE6NTEuNTUwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9JNG9GVXJTSno4OUQ5TUlHVlZjZ2dmajdyN0hQbGxvT0VBOGU3SzNubDM2eGkyXzJhZDV6NEN4Wk1IY1VIUjJIODVaN2dOaDhDTTA2TzV6bnNWX1R5cko3YnR3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AWLWMgxR8tR71lwFEayThPDUO09Y77avdH5UEeyCTHAgSg_2e0N-B2o6gLc4Bh5D2ehTFwl25GW8PXb0");
script.setAttribute("data-currency", "INR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWRjODRlZWVkZTJkNTViYTMwZGY2MDVhYTU5NDZiYjQzNTdhM2I1NWM4MjM4N2ZjYzcyYTMxNTliY2NiZWU5NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTk6MDE6NTEuNTUwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9JNG9GVXJTSno4OUQ5TUlHVlZjZ2dmajdyN0hQbGxvT0VBOGU3SzNubDM2eGkyXzJhZDV6NEN4Wk1IY1VIUjJIODVaN2dOaDhDTTA2TzV6bnNWX1R5cko3YnR3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66217af6d8bcf', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66217af6d8bcf', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66217af6d8bcf', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66217af6d8bcf', 'paypal', 'buynow', 'rect', 'gold');
}