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/hhf5y4a1b7cg/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARTrqcBk_fZNwYMd_KyyP3vCYUQpCnj8qPXuAdCnpq7HBtMrUKEDuqmJpFKY9d3RmVAsXNfz774NwiIT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGU5MTk5NGRkYjA2MDViOTg1ZTI2NzU5NGFjYjE4MDRlNjk3OTI4ZWI4MTNlN2U3NWNmNjg4MzUwOTcxMTEwOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDFUMDE6Mjc6MzMuMjAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU01REh0RnFhRFA5Q01IZmFub1hQdGJZdlBYV01kRG0wX09IeXRhT3hGWXo4UDlJdkJvV3dsN1pDY3V6RF9xT2ZqeXE0QVo1LWxNM3NJVFl0M2M4TVlJY210VWVnIn19");
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", "ARTrqcBk_fZNwYMd_KyyP3vCYUQpCnj8qPXuAdCnpq7HBtMrUKEDuqmJpFKY9d3RmVAsXNfz774NwiIT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGU5MTk5NGRkYjA2MDViOTg1ZTI2NzU5NGFjYjE4MDRlNjk3OTI4ZWI4MTNlN2U3NWNmNjg4MzUwOTcxMTEwOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDFUMDE6Mjc6MzMuMjAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU01REh0RnFhRFA5Q01IZmFub1hQdGJZdlBYV01kRG0wX09IeXRhT3hGWXo4UDlJdkJvV3dsN1pDY3V6RF9xT2ZqeXE0QVo1LWxNM3NJVFl0M2M4TVlJY210VWVnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6427922a6d185', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6427922a6d185', 'paylater', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6427922a6d185', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6427922a6d185', 'paypal', 'buynow', 'pill', 'gold');
});
}