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/m7ng4yu6ljs1/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZO7vnIydEKy_XCrIEjq21sGOEwfCunnPa3ElaaA_rqkabMZ4GEXw1IThrJElkh0Z0cIZCIihNaM_zFx");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTZiNmYxZTczNTExMzJhOWJhYjQ5ZWEzMjMzZmVlYjY5YzNiNGJkNGMzYjVmNDRlNGM0NjgwODNhNmY5NzQ4MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMjI6Mzc6NTkuOTE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1OTnhxUmlWU1h6WEstakRMYWZabzltaXppTzBQTzdRemk4ZDJEQS1VVWttN1dZekI3NjN4a1hwTDZkSEZLTU0wUE9Ud1NTOGU0NXlvVWcwSk5KaWc1TWduRzFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65fa13c77fd8d', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65fa13c77fd8d', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65fa13c77fd8d', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65fa13c77fd8d', 'paypal', 'buynow', 'rect', 'gold');
});
}