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/thw61dp2dvyx/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXUgk2KDoduIM1s3KewcqIjiHXdg3HVUhrosGfQHsdtKHT9bx_WoPjVfhyPFDiitUUz-LCfG1bZpwuYT");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTQ4MzRhZGNkMjc0YjY3YWJmODUwYzY2OWYzY2U3NTJiYzVmNTdlN2QzYjU1ZjViYjBjNzE2NDU0ZTE1YjA2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDRUMjM6MTQ6MTMuMzk1NTM5NjkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xM3NYQmdpSVh4VE1SbmQ3aE5ZUjA5U09IOE1BZTNiTy1GM0ZwWW1PVGpwUl9NSURVYXRHZzdSX20zRHdhR2JUMzl6VmxTQm5KYm5RXzF1RmVzR0VFaDVaRk1BIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67f06b8acbd43', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67f06b8acbd43', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67f06b8acbd43', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67f06b8acbd43', 'paypal', 'buynow', 'rect', 'gold');
});
}