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/wxb1205wm6e0/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa6MbjulOWu_fK-JI7YM6Pyfpoi6fBhUwWmnZRmWiqWE5OZ6088nWll5sx4a8OCElTn6eAEzhc3WDe9D");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODkxZWNkNmQzYTI2ZWE2OTM5NDI2OGUxZTBhZDFlNmRmYjgxOTc2MzM3ZjM5ZmM5NWIwNjUzZjA0ODExOWNmOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTZUMTc6Mjg6NDUuODYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5NZFo1MGtEZjAtcUNGNERsQndyanFOd19hV2NMVVo4MGQ0UFFPUkFyb2JNWjg4Nzh5MFNGaDBEOTNPSm1sOTJmTEZoTF94cXFROF9kdDhybE9ocGN2OE1LSzZnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6696b5b209064', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6696b5b209064', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6696b5b209064', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6696b5b209064', 'paypal', 'buynow', 'rect', 'gold');
});
}