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/rh6xum1lhyf7/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUZAarK-1H0ATGcL74N9KpAEQBINWfMKA5I5q0CGQNOMz9vE0BXDESYBYohGqmopeowRWNjB2EWuiDSy");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzcwNGQ2YTViNzBjNGQ1MjZhODUwZDFjN2VmOGQzN2I4MTU0NDNlYjM3Y2U5MWUxNDFmOTFkZGRmNmJjM2M2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDg6Mzg6MDEuMDc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9ZRnluMG82TW5RWnRpZnFLNk9fMXJidTd3LWxqNzU4c3Q4WUZSVTJtMlY4T3Q1bF91UFR4RTA3dTN3RnVEY1MyTFpUYjJsUFlQTGtHdzluWFpjOHI4S3lKM1p3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66447634a764e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66447634a764e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66447634a764e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66447634a764e', 'paypal', 'buynow', 'rect', 'gold');
});
}