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/ly0ujdstrb4m/plugin/49/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfH65-RpRpXLwWtslHHl8Va7lNR18P93KWG_EX3B0GvulxHUHqZyuTD5a1ggovS9GHRGvRRmhX7Fc7fu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjU5NWJmN2FkYjlmMzk4NWEwZWNjZjBjMjAwZDBjOTBhODEyYTViNTM1M2FmNGM3M2Q0NDljOGNhOGM5MTBjNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6Mzk6NDYuODQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU16R1NJZGd6bnk4OFVkZmdsc3NrbGlFbjdsb2xTS3lKVGFUZ2RrRDc5NURxQnRJU2U3YjRMSnlyVmUwVGFsUE1uaUhyVjU1R20yXzJSMU0yUFpXOEJuV2Y0UEN3In19");
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", "AfH65-RpRpXLwWtslHHl8Va7lNR18P93KWG_EX3B0GvulxHUHqZyuTD5a1ggovS9GHRGvRRmhX7Fc7fu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjU5NWJmN2FkYjlmMzk4NWEwZWNjZjBjMjAwZDBjOTBhODEyYTViNTM1M2FmNGM3M2Q0NDljOGNhOGM5MTBjNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6Mzk6NDYuODQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU16R1NJZGd6bnk4OFVkZmdsc3NrbGlFbjdsb2xTS3lKVGFUZ2RrRDc5NURxQnRJU2U3YjRMSnlyVmUwVGFsUE1uaUhyVjU1R20yXzJSMU0yUFpXOEJuV2Y0UEN3In19");
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('66dcfedf2148a', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dcfedf2148a', 'paypal', 'buynow', 'rect', 'gold');
}