if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/h220yvteutim/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWB5IMvaphjNZyIh_Sli7ow8o3DtkHCHuIolu0aEtu8ks3l9G60Vn20Wl_hZJ0PJU5HxBpfz-lN2ElpB");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Q3ZDQzOThiNWNiNDQ1YmFmYjg0N2Q4NTM4NzM4M2U3NjY2ODlmOWNmNGMxOTFjYzk3OTZiMjkzODRjNmM2NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDdUMjE6NDI6NTEuNzc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1WREttaGhYQVZqbnA2cEI4S21yZWNwMG1wenViRDExSW9WeElVZWtLVlpZZ0tManFlbFZtNE1wSEJ1dFN2N2o5S1FxckdIU09hQVRUNTlTR3ViNHVDajJ4eXJ3In19");
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", "AWB5IMvaphjNZyIh_Sli7ow8o3DtkHCHuIolu0aEtu8ks3l9G60Vn20Wl_hZJ0PJU5HxBpfz-lN2ElpB");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Q3ZDQzOThiNWNiNDQ1YmFmYjg0N2Q4NTM4NzM4M2U3NjY2ODlmOWNmNGMxOTFjYzk3OTZiMjkzODRjNmM2NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDdUMjE6NDI6NTEuNzc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1WREttaGhYQVZqbnA2cEI4S21yZWNwMG1wenViRDExSW9WeElVZWtLVlpZZ0tManFlbFZtNE1wSEJ1dFN2N2o5S1FxckdIU09hQVRUNTlTR3ViNHVDajJ4eXJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6480fc2f1ec34', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6480fc2f1ec34', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6480fc2f1ec34', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6480fc2f1ec34', 'paypal', 'buynow', 'rect', 'gold');
});
}