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/qpod3xbz504k/plugin/15/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AU6dbeamHG3ZSkEjdiZSRri2EEfL6Ty6IFuGGU7R6gygd4gjM6HZfeIPF9wEXMFzDyB6T4Qgo8G5jvjh");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjA4YzRmMzk5OGY3YzhhYzIyMTY3NjZiNjFiMTE4MjdjZmE5ZDY5ZWVmYTZhZGQ3NDBmOTM2MGI1N2VmMmQ0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjFUMTc6MjI6NTUuMTkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5sODVkU2hpVUZmTHZNMGRrZ3Z4aVNwUzZ1dWlvZVhCclI3T1k3SUpjejlWYUlnNTg3allYRWxKRVFGcU43ZFdEQml4aGloQS1VSEM2M0Y5YWs3VVdnSE1KQjZRIn19");
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", "AU6dbeamHG3ZSkEjdiZSRri2EEfL6Ty6IFuGGU7R6gygd4gjM6HZfeIPF9wEXMFzDyB6T4Qgo8G5jvjh");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjA4YzRmMzk5OGY3YzhhYzIyMTY3NjZiNjFiMTE4MjdjZmE5ZDY5ZWVmYTZhZGQ3NDBmOTM2MGI1N2VmMmQ0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjFUMTc6MjI6NTUuMTkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5sODVkU2hpVUZmTHZNMGRrZ3Z4aVNwUzZ1dWlvZVhCclI3T1k3SUpjejlWYUlnNTg3allYRWxKRVFGcU43ZFdEQml4aGloQS1VSEM2M0Y5YWs3VVdnSE1KQjZRIn19");
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('669d45bb0243d', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('669d45bb0243d', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('669d45bb0243d', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('669d45bb0243d', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('669d45bb0243d', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('669d45bb0243d', 'paypal', 'buynow', 'rect', 'gold');
}