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/zfwp2u2jrnkq/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVvlb7VNWBMOw8kf4U6KK8VecFvPW2nKtv6sskYppJmendOcv3Z3dtf15g_FL7AhUMDp-qXgKfcdVK4d");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGZkNjhjNDE4MThlYzRlYTFlMmI2ZDgzZGZiZjczOTQzZDg3YjFjYjQzN2Q5NzFiMWZmOTZkMDMwMjg1OTI4M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTY6NDk6MjMuNDI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1tc0NEX2xaaHBuTjZiczJiZUstaDVrcEpnVGhNdGhvNVBjZk9xU0pxN19vWE9xZmRtcEQ4NWFsZlZOX0lwNjVDTExJc2VJMHRLQnh2UHJNZlNWZUpTcWNWTm5RIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6629381398082', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629381398082', 'paypal', 'buynow', 'rect', 'gold');
});
}