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/823apjhbftvy/plugin/6/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "SEK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODk2OGQwMWY0NjA4M2NiYjFhMzAyMmM1Mzg2M2MxNDY0OTM3YjlhNDM2NjdlZDZkNjhmNTkyMGFiZDJmYjc1NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTJUMTA6MDk6MzcuMjU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBZdFFPSHY3V1BPNWY2dmtiUG5TTjl0M0FtX0NNbEJaWVg1T1JOeTVJSHk5b19VT1JWQV8xNGpQZDk1dEpWMXU4YVRodGhWaTVGZ3JYMmZ3ZFNJV29QV1l4RUtnIn19");
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", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "SEK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODk2OGQwMWY0NjA4M2NiYjFhMzAyMmM1Mzg2M2MxNDY0OTM3YjlhNDM2NjdlZDZkNjhmNTkyMGFiZDJmYjc1NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTJUMTA6MDk6MzcuMjU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBZdFFPSHY3V1BPNWY2dmtiUG5TTjl0M0FtX0NNbEJaWVg1T1JOeTVJSHk5b19VT1JWQV8xNGpQZDk1dEpWMXU4YVRodGhWaTVGZ3JYMmZ3ZFNJV29QV1l4RUtnIn19");
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('66191125968e8', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66191125968e8', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66191125968e8', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66191125968e8', 'paypal', 'buynow', 'rect', 'gold');
}