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/7cjkspboqiwb/plugin/41/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "BAAm1o76iJF4GgQVSiFIzdgLiSrcmbjp6HQUgPO-7Zafkf1LvdBBkfZBAryDROD_EsW2Co_j5cNmqHoqyI");
script.setAttribute("data-currency", "SEK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTdiNDEyMzUwOTQwODg5NDFlZDRiNjA2ODA5ZDk3ZjIwY2JhMzk3NWEzOWVmYzc3MDkzMmQ4YThjZWNjMzg2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMzFUMjI6MjM6MDAuOTYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5XLXNVWHBtN2J3OV9PdkNYNkdRMFE3ZzdrOV81MzdjNDJrSl9wSkN6RGNWLXo1S0MwRnNnQ1BNdVAwTzNMQlM5bl83UEZBQ3c1RW5scS0wcDNCSW9rUDZjT3hnIn19");
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", "BAAm1o76iJF4GgQVSiFIzdgLiSrcmbjp6HQUgPO-7Zafkf1LvdBBkfZBAryDROD_EsW2Co_j5cNmqHoqyI");
script.setAttribute("data-currency", "SEK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTdiNDEyMzUwOTQwODg5NDFlZDRiNjA2ODA5ZDk3ZjIwY2JhMzk3NWEzOWVmYzc3MDkzMmQ4YThjZWNjMzg2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMzFUMjI6MjM6MDAuOTYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5XLXNVWHBtN2J3OV9PdkNYNkdRMFE3ZzdrOV81MzdjNDJrSl9wSkN6RGNWLXo1S0MwRnNnQ1BNdVAwTzNMQlM5bl83UEZBQ3c1RW5scS0wcDNCSW9rUDZjT3hnIn19");
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('67240b6ac56df', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('67240b6ac56df', 'paypal', 'buynow', 'rect', 'gold');
}