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/08vul3e5kd13/plugin/61/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUH6i5QImL6mC4VOfJeg97FzrQzZ3vcRZpMUp_fASo_mqxiMeiCntYG1jKamk1A2klxu_IIMbvcxsEj-");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGQ1MzQwMGQ3M2ZhODk0MmY2NzJmMTY3YmY2MGM1NDNmOGQ3NDc1MzM3ODRjMjBmOTNiMzZjYTQ1OGM0YTAyY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTc6MTI6MDEuNTg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zaWg3ZW1NUmpEZHRSVW1MWHYzbVVOUnBtcUR5VkM2WGlFZjBhN3c2N2J5dDRkclZIaUZFdlBWd0F1RGplMzRncThPUFl6NXNKeml3c1RIcEZ2NmtxV2FEVkN3In19");
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", "AUH6i5QImL6mC4VOfJeg97FzrQzZ3vcRZpMUp_fASo_mqxiMeiCntYG1jKamk1A2klxu_IIMbvcxsEj-");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGQ1MzQwMGQ3M2ZhODk0MmY2NzJmMTY3YmY2MGM1NDNmOGQ3NDc1MzM3ODRjMjBmOTNiMzZjYTQ1OGM0YTAyY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTc6MTI6MDEuNTg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zaWg3ZW1NUmpEZHRSVW1MWHYzbVVOUnBtcUR5VkM2WGlFZjBhN3c2N2J5dDRkclZIaUZFdlBWd0F1RGplMzRncThPUFl6NXNKeml3c1RIcEZ2NmtxV2FEVkN3In19");
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('6605a74c96c98', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('6605a74c96c98', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605a74c96c98', 'paypal', 'buynow', 'pill', 'gold');
});
} else {
renderPayPalButtons('6605a74c96c98', 'paypal', 'buynow', 'pill', 'gold');
}