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/8xdcvvn9kakf/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaarLwNUyLfukrysQdUXlUKQknIodOtyZ4HdcQ9-1qME1V2b7GXcZdvSCbaL16XuAvktjKMtUw9KTo99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGYyOWI0OTdhZGFkM2VjYzY3ZDFjMjM4ZDEzZTBmMmFmODlmMjA0MGY5YWMzYmQ4ZmRmNDNjNDRmNGMwNTQ0NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDNUMTE6MzE6MDAuMDg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9QQzZpcG5MQ1lGVEFzNGhPd18yQk05c0dCTmF4LUZxbkZwZ2szZU9KMEtUeWs5bVpXTTl4Q0d5RmZmMC1LNXpTVUdzbEljbnFheGpEem80YUtCVHNkalIydTNBIn19");
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", "AaarLwNUyLfukrysQdUXlUKQknIodOtyZ4HdcQ9-1qME1V2b7GXcZdvSCbaL16XuAvktjKMtUw9KTo99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGYyOWI0OTdhZGFkM2VjYzY3ZDFjMjM4ZDEzZTBmMmFmODlmMjA0MGY5YWMzYmQ4ZmRmNDNjNDRmNGMwNTQ0NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDNUMTE6MzE6MDAuMDg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9QQzZpcG5MQ1lGVEFzNGhPd18yQk05c0dCTmF4LUZxbkZwZ2szZU9KMEtUeWs5bVpXTTl4Q0d5RmZmMC1LNXpTVUdzbEljbnFheGpEem80YUtCVHNkalIydTNBIn19");
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('674eeec6bab78', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('674eeec6bab78', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('674eeec6bab78', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('674eeec6bab78', 'paypal', 'buynow', 'rect', 'gold');
}