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/00ujw9mp4euc/plugin/7/paypal/js/smartPaymentScript.js"; script.setAttribute("data-client-id", "AXfVQ94VwqRoe7qfvCOi_P6JHgsb2B9bJlupwL_UJWGUHSmZLFDB4XuJvVt4g3Ouwk04WHJpT5EGTdO9"); script.setAttribute("data-currency", "EUR"); script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGUyZmE2OThiODNlMjQxNWExNTZjODQzYzJmY2UxN2M3ODc3MGE4MWE2YWJjNzRlNzAyM2Q4ZjAwMGNlOTA3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMTAtMDdUMDk6MzA6MzkuNTg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9Mb1RUUG1zM3lwN2lGT0RDbmxTazdHZzk3bkJsemtSZVZ0N3ZYbXdvYjRyXzhvOFBIWHBpSUxPVGtBQWE0bTZaQlJJQW85Mm1oYWN2Z24xYUcxRG9EVzlyMVJ3In19"); script.setAttribute("data-append-trailing-slash", ""); script.setAttribute("data-locale", "de_DE"); document.body.appendChild(script); }
if(typeof renderPayPalButtons === 'function') { renderPayPalButtons( '129904807', 'paypal', 'pay', 'rect' , 'gold' ) } else { document.addEventListener('payPalScriptInitialized', () => { renderPayPalButtons( '129904807', 'paypal', 'pay', 'rect' , 'gold' ) }); }