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/kju8397jro9u/plugin/12/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "BAAjuhZ6HIWtH--L0cfwc1jQkai5RPkK9-9YaXpyfAwBNZ9vVdbYC0zW0mF-tWcnRAgDsqqP6nLHc90ZAs");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjMxM2EwMjg0YThmMTUxMjkzYzY1MGVlNmNkYWEyNTJlZDZiMWFiYmU3YzA2NjRiMDY1MDExMjYwMmM0NDg3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6NTU6MjEuNDY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9IUmpzaGt2cHpRMzBxdlA0R3ZkRHQ2d3puZURqOUJsMVRBTk8ySXJfMUdrdVZVX1VfbGx6dkxGMEo1UV9FbEwwSVlpYXpjRlVHcm5od1UwdGhZeUtRTHlzQmpBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "BAAjuhZ6HIWtH--L0cfwc1jQkai5RPkK9-9YaXpyfAwBNZ9vVdbYC0zW0mF-tWcnRAgDsqqP6nLHc90ZAs");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjMxM2EwMjg0YThmMTUxMjkzYzY1MGVlNmNkYWEyNTJlZDZiMWFiYmU3YzA2NjRiMDY1MDExMjYwMmM0NDg3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6NTU6MjEuNDY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9IUmpzaGt2cHpRMzBxdlA0R3ZkRHQ2d3puZURqOUJsMVRBTk8ySXJfMUdrdVZVX1VfbGx6dkxGMEo1UV9FbEwwSVlpYXpjRlVHcm5od1UwdGhZeUtRTHlzQmpBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcff74bafe1', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dcff74bafe1', 'paypal', 'buynow', 'rect', 'gold');
}