if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/rgsrfv3g1jg1/plugin/27/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "PLN");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGI5ZDUwNThhYTNkMWNlMzEwYjg2MGMyZTUwNTlkZGQ4NWExMjVjOWNmOTA0NzhiZmVhNGYyYTI0MTZkYjg1MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMjVUMTg6MDc6NDUuMTM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5JekFDZ2hrRDhQQWNOSG56LXFjT19Xek5pRktrSnF5Y1gxZzd6Y0gxbHVPSUtxSjJOWi01aWFxVzZ1LTFoQlE1T3JCRzdDSUdrMk54cl9hXzJLZ01jbHdLRmdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "PLN");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGI5ZDUwNThhYTNkMWNlMzEwYjg2MGMyZTUwNTlkZGQ4NWExMjVjOWNmOTA0NzhiZmVhNGYyYTI0MTZkYjg1MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMjVUMTg6MDc6NDUuMTM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5JekFDZ2hrRDhQQWNOSG56LXFjT19Xek5pRktrSnF5Y1gxZzd6Y0gxbHVPSUtxSjJOWi01aWFxVzZ1LTFoQlE1T3JCRzdDSUdrMk54cl9hXzJLZ01jbHdLRmdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65b2a96fa31aa', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65b2a96fa31aa', 'paypal', 'buynow', 'rect', 'gold');
}