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/z2h9l54m7125/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATm-jgo75B2Pc4_08iKHnifY43-l__uek5DWr5nbZpbuBh-jjRWNTtyqGlt0itaaQc0Gs3yuwVnzjZXP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjliNDA5ZWVmYzBhNDNhNDVhNDQ2ODM4OWI1YmRhYzc4OTg2MWRmYmRjYzEyMWViMWM5MDg5YmQzMTQwNTc0NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMzFUMTE6MDE6MTAuNjMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBvdWFMeWpkT3N0R3dhWXQ0Q2hlcFpfLXpYaWE2ZWhHTnZxZjNNNGlEN0hNUTIyR0VuTnFkNDRiRjlBTXBvaEJyZHVWZmlUN2t1Y09ra2MxYzFObndvOS10LU9RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647728f64515c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647728f64515c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647728f64515c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647728f64515c', 'paypal', 'buynow', 'rect', 'gold');
});
}