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/nmir1gwulx45/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVB8egWlFiFVGVFk_i6GacIT-9c1pJAhonl6PMx7j9eXErOAiBp_EP6vZ87NUCu7y74eA6k058cwdTYg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGQ1YzhhNDMzMTUyNjI3ZTkyZjdhMzVlYTY2MjRkMGI1N2Q2MjQwZjJmNmIxOThhMzViMjQ2OThiZWNlMDgzNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzFUMTQ6MzE6MjMuODAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU41SXcydmkxNWEwNlJJVEVOR0JsV29vMHRXR3JFbS13R0trdWpsd1NnTmYxZjJ6cDB2c1hFRWl0RlVxRHh1dXNRb0FxZHVJdjEwbXJvQWo1b21oeW42MzM2QTVBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d9278bdaa08', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d9278bdaa08', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d9278bdaa08', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d9278bdaa08', 'paypal', 'buynow', 'rect', 'gold');
});
}