Kasse
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/mhvzwmmn0n2b/plugin/60/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW1MxMmRiPGfQ1nWIz0O7BGHjoMcRoUb8IOidTAqhi7dkPuodrD0ONxkoBhe5HVfgSJNN0NaOMO1VeY-");
script.setAttribute("data-currency", "BGN");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjEwZmUxY2Y1NjM1NGU1OTI1ZjQ2MGIwN2ExYTBlMTQ4ZmUzYTk0YjJhOGFjNGVhNThmNDMxNGYxNDg3ZGViYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTdUMDU6MjI6NDIuNDk4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0wajV5VW9idllQTlFaSTdlbkM0TjFpX1ZzNkloSkw5MDQ5cUxWdldhU2RhR0d5SDJ1ZTlnRXFnNkFQY3dtYm14d2h4RWZqd2lZdVVYdXYyMjNZZGhxTjQ0OURRIn19");
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", "AW1MxMmRiPGfQ1nWIz0O7BGHjoMcRoUb8IOidTAqhi7dkPuodrD0ONxkoBhe5HVfgSJNN0NaOMO1VeY-");
script.setAttribute("data-currency", "BGN");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjEwZmUxY2Y1NjM1NGU1OTI1ZjQ2MGIwN2ExYTBlMTQ4ZmUzYTk0YjJhOGFjNGVhNThmNDMxNGYxNDg3ZGViYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTdUMDU6MjI6NDIuNDk4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0wajV5VW9idllQTlFaSTdlbkM0TjFpX1ZzNkloSkw5MDQ5cUxWdldhU2RhR0d5SDJ1ZTlnRXFnNkFQY3dtYm14d2h4RWZqd2lZdVVYdXYyMjNZZGhxTjQ0OURRIn19");
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('6646f412adc03', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6646f412adc03', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6646f412adc03', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6646f412adc03', 'paypal', 'buynow', 'rect', 'gold');
}