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/f4vqow9g5sio/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUzSf2PCw_pWkTZCxtWFOqs6bJ60FtiIUomYfm38OstjsSp3T2DsKHVyR3XoPQwztg57Nj38LtRsCRlk");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzg4YWQ1ZmE0NzNhOGE5YWM4NDIwYzFkY2RkMjIzMzY0YTk2N2NhMmQ5ZjY0NWQwOTBlYTBlZTgyMzEyNGFhOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDZUMDk6MDM6MTAuMzc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1STlBENXFhRld0OFV0QW4zMy1FR0FHS0RkTklCVk5kNXkzdWQyMXNYMDl5aVRhTlhiNDRmU2NETUVpMXF4VjRSUENwSndBd1JaT2hIT3hNQ2tCX2VmcEo5TjJRIn19");
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", "AUzSf2PCw_pWkTZCxtWFOqs6bJ60FtiIUomYfm38OstjsSp3T2DsKHVyR3XoPQwztg57Nj38LtRsCRlk");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzg4YWQ1ZmE0NzNhOGE5YWM4NDIwYzFkY2RkMjIzMzY0YTk2N2NhMmQ5ZjY0NWQwOTBlYTBlZTgyMzEyNGFhOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDZUMDk6MDM6MTAuMzc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1STlBENXFhRld0OFV0QW4zMy1FR0FHS0RkTklCVk5kNXkzdWQyMXNYMDl5aVRhTlhiNDRmU2NETUVpMXF4VjRSUENwSndBd1JaT2hIT3hNQ2tCX2VmcEo5TjJRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6752c63f420ab', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6752c63f420ab', 'paypal', 'buynow', 'rect', 'gold');
});
}