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/2mhbx6xtr0e0/plugin/11/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ab-FgkAIaGM7sK2DLy-oY3hoqrUmHrqofU6WLID5vQPeHU3-dQBYxQcjUUJAydsDd36shoTvAuuUzpj-");
script.setAttribute("data-currency", "ARS");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjIyNGU5OGFiYzkyODViYzAzNzZiYTAwMmI2N2FlZDFhZWRjOTNlODY5Yjc5ZGY1NDA0ZDkxM2NlODRiYTdkMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDY6MTA6MDQuMDY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9mbEFJTGhPeGlLUUdlQ0F2Z0VCa1JLVmdNc1B3YmRnVVQ2eGxiNktJRTVUR0tCRm05MVFmQUpGdzBZWGpiV0VHT1E2TW1pVnNQTVBibVhENGlIdk9zWm4zNlNBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "Ab-FgkAIaGM7sK2DLy-oY3hoqrUmHrqofU6WLID5vQPeHU3-dQBYxQcjUUJAydsDd36shoTvAuuUzpj-");
script.setAttribute("data-currency", "ARS");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjIyNGU5OGFiYzkyODViYzAzNzZiYTAwMmI2N2FlZDFhZWRjOTNlODY5Yjc5ZGY1NDA0ZDkxM2NlODRiYTdkMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDY6MTA6MDQuMDY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9mbEFJTGhPeGlLUUdlQ0F2Z0VCa1JLVmdNc1B3YmRnVVQ2eGxiNktJRTVUR0tCRm05MVFmQUpGdzBZWGpiV0VHT1E2TW1pVnNQTVBibVhENGlIdk9zWm4zNlNBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6644562a7edae', 'paylater', 'paypal', 'pill', 'gold');
});
} else {
renderPayPalButtons('6644562a7edae', 'paylater', 'paypal', 'pill', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6644562a7edae', 'paypal', 'paypal', 'pill', 'gold');
});
} else {
renderPayPalButtons('6644562a7edae', 'paypal', 'paypal', 'pill', 'gold');
}