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/uukk8x76wqix/plugin/29/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbBpTgRPGvX83bMCLqaqnCJutkLy4D1qTFuTg8iT1ht3iY_tlez3DburtStKkGS3PR6UqTzr87t9n-E_");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDVkNzNjNTI5NDk0NDQ2NWFlM2U5YjIwMzExM2Y2YmM4NDAwNmJjYTVkMjY4MDE4NWMzOTBlZDU0YzAzMjRjZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMDZUMDY6MDg6MzIuNTAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU14bFhsVGhhRXpTRW0tVVFqY3lrM2NaRTh1c0h2OF9VeVMtcjZiaC1QdUNSTEE4U1J3eGtYNExVN2kzei1GWEkxOEh2WjNJNHRNaFAxU0J0X2kyaDB6Z2YxaFlBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('672b140daa200', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('672b140daa200', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('672b140daa200', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('672b140daa200', 'paypal', 'buynow', 'rect', 'gold');
});
}