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/m3fhck7y5k4k/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AXezbouZPE43typGH5KQ-kKKPWJUIfIigrDNVqnwke_o9YA4JBy1iyjGoOlxwWKKtNU5XVWpFujpm2SX");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmQ5ZDRkYTAxODc4YzYyN2RjNDFiYTJjNzFmZWRiN2IzY2I3YWI3ZjkxOWQ5Y2JjNGQ2ZTY4OGU0OTliOTM5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMTA6NDg6MTYuOTAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBQamhWc2tmc204a0VZTm9LZDRTOE1hSUl5amlrV2hiVVd1ZGlVZ1dSZ1l5UDF1RUppRlNMbVlSMWQ1eDc5djFHRnRwdThONXZBOFQ1dVhXcEpKYXh0OHJ0VkhBIn19");
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", "AXezbouZPE43typGH5KQ-kKKPWJUIfIigrDNVqnwke_o9YA4JBy1iyjGoOlxwWKKtNU5XVWpFujpm2SX");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmQ5ZDRkYTAxODc4YzYyN2RjNDFiYTJjNzFmZWRiN2IzY2I3YWI3ZjkxOWQ5Y2JjNGQ2ZTY4OGU0OTliOTM5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMTA6NDg6MTYuOTAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBQamhWc2tmc204a0VZTm9LZDRTOE1hSUl5amlrV2hiVVd1ZGlVZ1dSZ1l5UDF1RUppRlNMbVlSMWQ1eDc5djFHRnRwdThONXZBOFQ1dVhXcEpKYXh0OHJ0VkhBIn19");
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('65f972cc54b2f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('65f972cc54b2f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f972cc54b2f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65f972cc54b2f', 'paypal', 'buynow', 'rect', 'gold');
}