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/kwz8nf3to08n/plugin/124/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUpXPoLyK_t8wenG1OfqIWwbiFgzpVMPy5zoo31g-OD2ZZjyvaEn_LCk_4uUAxELlYs1QL56P4eIrglZ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjNkMjhjMjUyNzQ5MzU0ZGYyYTAyYjU4OThlNmNmOWE3MzgzZjNjOTk5Y2E5NTk2ZDQ0ZGUwYTJjNThkNWUzMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMTVUMDM6NDg6NDMuODY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4tZzNzOGtDdVlseUN4bTNnT2hEbTdkQ29aeDBwY2JTck9nc21YY1F5bnc3c01idm5BLW1LZmQ4TlFmbVNoQXVzc0xNcUZLM0gzUFRjVDl4ZzZ4NHI1RmpEdmR3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66bd8011d46e3', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66bd8011d46e3', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66bd8011d46e3', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66bd8011d46e3', 'paypal', 'buynow', 'rect', 'gold');
});
}