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/ldc4r9zrwn2w/plugin/17/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdogL8cskMutvLcC4oWpRNwTTzat9odI9aaStljabRU4lNCOys3p5Y2K0vZgc1ZA-kN2blJ_FENPSXaJ");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWFmYjFkOWRiZmNkM2JkOGRlYTg0M2JlY2QxZDRjOGYxZWUzM2ZiNTM4MjgzMTQ1YjYxOTA5MmI5YTkwOTc2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTVUMDU6NTg6NDQuNzIxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9nZnNnVG8yc3pwUUw2Y2d3bWJ5RlZNSjRHOG05Q0JiTm9MT19Vc0J0aEpEX3laSjRiQXh0MVlFbzRHQURNNGpjSlBVeXItb3FReERYME42N1l6aWpYWk4xVi1BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f9eb1b879c7', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f9eb1b879c7', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f9eb1b879c7', 'paypal', 'buynow', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f9eb1b879c7', 'paypal', 'buynow', 'rect', 'silver');
});
}