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/kz24s2gfphm4/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYoH9rh4tfY0mXU1zQmJwXrQh__KScnA-19Y-9iRW9souPIBHT3rOVoaIyGnzJvJLhE_6bnpnPHN1-Z8");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTI1MDM3N2U4YjQxM2NjMTUzNWY5MzJiZjcwOTcwM2JmNzg3ZGNjNGNlYTdlNWE2M2VkZDQ2MDMxODA2M2MxMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTNUMDU6NDI6MjIuOTUyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4wT3R6M2otcFJKUWZEUHRobFRva1Y5cnJPV0plVm1scW4tcmlzWm9idTdzVjJBXzVpSW1sTFRSUlQ5ZXNsM2lIUEx2Zkg3V1JKQkdJM2NkQndFZHlVUU1jbXF3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f73bf2a5f01', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f73bf2a5f01', 'paypal', 'buynow', 'rect', 'gold');
});
}