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/2eer20ly5e5k/plugin/29/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Afwxj59KG1Uy0lo4yLB-5YaCyxjAsatsHJepTczYaAJPh-6ql4B2if39aDTrbVD5spCg-a-7-h8sJWEM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmQwYzI1MTgwOGU0M2Q3ZDc3NTNkYjk4NjMwODU0ZDBiOGJjN2IyZTQ0NGM1M2RkMjM3YjA3Yjc3OWZlY2EzNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDlUMTA6MDE6NDEuNDkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nUDFud29jWVNnZFY1LWd2VEpDSTU1eU5IejF5QnM3MFB2dE4tUmlxZDZzWmR5Wl9xMHlBZWNEeE1HRm9yZ29LSmwtdGZUMi1xWE44d2Z2eDVqMmpWX1EtQ293In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6482fe56a3b3f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6482fe56a3b3f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6482fe56a3b3f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6482fe56a3b3f', 'paypal', 'buynow', 'rect', 'gold');
});
}