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/toigc4j4jjh2/plugin/73/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfEV_lxBhvN8dsCFE42cCYKEGu0hzOAu30vRw9eHO4Sz-ZK2Ba0LfGjHwW-JdrpHPRDEU4VCVTpSNGN5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWY0ZGRmODdiYzg1NzIyOTQ1ZTUyZDFkYjVhMzM3NmYzYzljYzQxMDM1YWM2OGRkZGUwYzg3ZTAxYjczYWFmNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMjJUMjA6MDE6NTUuNjcyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4xTWhmRWh1Z0VsR0VsdXEtUG9fS2NYckJmSS1nazE1dy15OFRhd0NfVGZMNDl5QUtZLXRGUG5WWmlrZ1BlWVFWS2Y3NmdIeG14WVV1NzA0NmRSdE5pamZ5Y0xRIn19");
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", "AfEV_lxBhvN8dsCFE42cCYKEGu0hzOAu30vRw9eHO4Sz-ZK2Ba0LfGjHwW-JdrpHPRDEU4VCVTpSNGN5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWY0ZGRmODdiYzg1NzIyOTQ1ZTUyZDFkYjVhMzM3NmYzYzljYzQxMDM1YWM2OGRkZGUwYzg3ZTAxYjczYWFmNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMjJUMjA6MDE6NTUuNjcyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4xTWhmRWh1Z0VsR0VsdXEtUG9fS2NYckJmSS1nazE1dy15OFRhd0NfVGZMNDl5QUtZLXRGUG5WWmlrZ1BlWVFWS2Y3NmdIeG14WVV1NzA0NmRSdE5pamZ5Y0xRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67687403531d9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67687403531d9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67687403531d9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67687403531d9', 'paypal', 'buynow', 'rect', 'gold');
});
}