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/tbnf8bi5e8k7/plugin/7/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQWJV1Nou6aYa2V6id9YwTY0AMCSDkwt2C0xCxrKUaYX7avQTLxxCmn9L724RcJvJOYI7_Z7UUeWz4F2");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjY5NDU4MWQzZjhhNzFlZjFjYjgxZDk3ZTFjMGYyZjllY2JhZmQyOWQxMDkzM2VjNTQwNDA4ZmM1YmNhY2ZkMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjdUMDg6MzQ6NDcuMTM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9xSkZxUHM5WjV6M0FvTXI4YnRUb2Nfdy1WVXBpNVpSS21RRm51MXF0Y0ljU0xhclk1b0RlSlVHbVJGaU1jOUFBUEx6dW9lQ2dobU1oS0tSbVd5a1ZxVUd4ZFFRIn19");
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", "AQWJV1Nou6aYa2V6id9YwTY0AMCSDkwt2C0xCxrKUaYX7avQTLxxCmn9L724RcJvJOYI7_Z7UUeWz4F2");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjY5NDU4MWQzZjhhNzFlZjFjYjgxZDk3ZTFjMGYyZjllY2JhZmQyOWQxMDkzM2VjNTQwNDA4ZmM1YmNhY2ZkMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjdUMDg6MzQ6NDcuMTM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9xSkZxUHM5WjV6M0FvTXI4YnRUb2Nfdy1WVXBpNVpSS21RRm51MXF0Y0ljU0xhclk1b0RlSlVHbVJGaU1jOUFBUEx6dW9lQ2dobU1oS0tSbVd5a1ZxVUd4ZFFRIn19");
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('66a4bd4f3a26e', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a4bd4f3a26e', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a4bd4f3a26e', 'paypal', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a4bd4f3a26e', 'paypal', 'paypal', 'rect', 'gold');
}