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/txceuds2fakb/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeMp3w5iOD6SqnPN-OPAsWU-v1YBTKHhRRaYiPjxdGEtHEj4i49HCXt6abejyKme6Dpv7iustqWp8Dce");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzU4MGZlNzkzNjQ1YTM2MWNkMjJiMTk2NmE5OGNkNGNlZTJmY2I3OWVjYzg2NTRlYTUzOTNiYTZiOTk2MWUzMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTM6NDE6NDYuMzI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU44V29abWxmQnBka2dYMnRUVlJYS0ZiRW1ZUFZoTVpaM3B1Zjk0eHFneko5RFZMbmNHSEIzRjZqT1RLMDltTE15WWxEZldGa1VCTi1rLWVISUJxcHpvcVFjdjNnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66290fbe63a85', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66290fbe63a85', 'paypal', 'buynow', 'pill', 'gold');
});
}