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/vdmrhyxgbgcn/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "ARS");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTZhZmY1MzI5Mjk5YjZmNjY2ZmVjNWZlODlmZWQxMDU1Y2ZhYzFiNjYwNzMwZmU3Y2JhYzBiZTAxYzlkMzlkNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTdUMDU6NTM6MTcuMzE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10ZmMzWnBiN1FuSWFRNEk4V1hQdVg5V1ltSS1tM19oTHNlZ2VtbEplVmk5ZVQ5S25fNjg2X3hTSkc2Sl8zckZCQ0NmZXJ4dlUtZmFOV2JxN1hQbGMtZGpWcWxBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "ARS");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTZhZmY1MzI5Mjk5YjZmNjY2ZmVjNWZlODlmZWQxMDU1Y2ZhYzFiNjYwNzMwZmU3Y2JhYzBiZTAxYzlkMzlkNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTdUMDU6NTM6MTcuMzE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10ZmMzWnBiN1FuSWFRNEk4V1hQdVg5V1ltSS1tM19oTHNlZ2VtbEplVmk5ZVQ5S25fNjg2X3hTSkc2Sl8zckZCQ0NmZXJ4dlUtZmFOV2JxN1hQbGMtZGpWcWxBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('661f6c795dfe1', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('661f6c795dfe1', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('661f6c795dfe1', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('661f6c795dfe1', 'paypal', 'buynow', 'rect', 'gold');
}