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/3fg918det71l/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdMajk9uKVDav1pOUaPtodu4pDck33oka5mpKwYY5cfhvMCYJzpn3S9LGBO4aiA6mIhmYf7VdKR_qqKN");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTg0OGVmOTQzNTlmZjQ2NzI5NDI5YzExNWJlYWZlMDY2ZmZlMzY0Mzg3OGQyZmUzOWUwMjViNzM0OTk3OGE0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMDdUMDE6MTM6NDYuOTM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU84X2NrcGp2M25JVkNONXp2VzNDcjItck5OaW8xTmY5NGFfd3JqNkRNNnU2eTRVV1JNRUtjZGNTVkx1SW9mLWgwSG9oWFJWQi1FelBhT25NSnhxWm1vMnNsQW1BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('640695bda9d62', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('640695bda9d62', 'paypal', 'buynow', 'rect', 'gold');
});
}