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/dqaqtvmxowl5/plugin/65/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ab32pqitaM2PPd790nBs-C5lae6y8L0zmdErnUdCDCgdgdyBMa0nq7dvYPCkp8EGAIoZxnNYvbaDi5ju");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWE3MTJmMTVhYWE5N2YxMjYwOGQ1OTM0YjYzMjY1MTQ4N2M3NGE3OGI5MDc3MWE4MTJiNTYzM2Y2ZDk2NDNhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjlUMTA6MTA6MzEuNzMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlbHNBRmhhU1VKNkx5SlVFeVRVREpheXFOS0lvelZhZ1lkTlRkT1FtalJLZWwxbzNXMWdXOTJ0eG1fTkFOQ3ljZlNWZmUtRTlrN1hPb3A3MzQwdlZkWVl1bHVBIn19");
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", "Ab32pqitaM2PPd790nBs-C5lae6y8L0zmdErnUdCDCgdgdyBMa0nq7dvYPCkp8EGAIoZxnNYvbaDi5ju");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWE3MTJmMTVhYWE5N2YxMjYwOGQ1OTM0YjYzMjY1MTQ4N2M3NGE3OGI5MDc3MWE4MTJiNTYzM2Y2ZDk2NDNhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjlUMTA6MTA6MzEuNzMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlbHNBRmhhU1VKNkx5SlVFeVRVREpheXFOS0lvelZhZ1lkTlRkT1FtalJLZWwxbzNXMWdXOTJ0eG1fTkFOQ3ljZlNWZmUtRTlrN1hPb3A3MzQwdlZkWVl1bHVBIn19");
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('65671a6015a56', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65671a6015a56', 'paypal', 'buynow', 'rect', 'gold');
}