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/6xbvnvireua1/plugin/36/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYxOjUg3T9n_EWx08A0lhmCDF5Uc-3vle6LFfkhLAkcYvMrmbuBb01Pab6-A5tF6rV1uMqHCUW6gpwoH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjQ1OTBmODZjOTMxY2NlZDVlZjM4NDIwZTYzZWM3YWJjNWY2YzE2MDI5OWM0M2YyMmZkZDRlZjQ3OGExODc5ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjdUMDY6Mzg6MjEuNzYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4yR1MtUmstWjZVMXJxcDBDTXQtTWNNcThhMTZZNklyNk15aDlRS3BiRlZqTUhjd0pfSUZwUWtudmJSM3V4UlBOU0hWY2hoZFZGRXNFMHlpOXRITHFQOFFtYlVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629071dcf255e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629071dcf255e', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629071dcf255e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629071dcf255e', 'paylater', 'paypal', 'rect', 'gold');
});
}