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/pvdtyofq45f2/plugin/48/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGQ4Y2UxZWUzMjA4ODU1ZjBkYTc1YWU1YzEzOWRiYTVjNmFlNzY0MzNhN2YwMTgzNmUxYzc3NjdiMmM0ZTU4OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTJUMTY6MzQ6NDIuNzY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA2Ujh4cG9ieDJaT2pQYldKaGFsSFpXNW02djdrVnlvZUdqaUxleVdxR281N2ZPY29TLXpUY1dQeGl2dFpiamtSYlRzaGhTcGNfSGFRN0ZaMVdycVMtZFdKVDl3In19");
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", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGQ4Y2UxZWUzMjA4ODU1ZjBkYTc1YWU1YzEzOWRiYTVjNmFlNzY0MzNhN2YwMTgzNmUxYzc3NjdiMmM0ZTU4OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTJUMTY6MzQ6NDIuNzY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA2Ujh4cG9ieDJaT2pQYldKaGFsSFpXNW02djdrVnlvZUdqaUxleVdxR281N2ZPY29TLXpUY1dQeGl2dFpiamtSYlRzaGhTcGNfSGFRN0ZaMVdycVMtZFdKVDl3In19");
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('6640efe9af9e6', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6640efe9af9e6', 'paypal', 'buynow', 'rect', 'gold');
}