if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/823apjhbftvy/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzFjOWM3YTE0MjExYzZiN2FlZTRiOTBiYmQ3NjZjY2IxMDlkZDNlNTgwOTQ1YzZjNzgyMDM2MDQwMDkyMzg1MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDVUMDI6MTU6MzUuNDI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1wSFZ4YXVmRGRLeFRZUlJqZ2hkRjhfdW9DYk9Bc0tUcnRMbTFkM0dacGxWY0E4RnJqbThjeHNPclR2V0JIdWo3WFpsYW5lMDhfdDNtWFBqd1N5SG4zVDcxR1lBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63df1e5b0709b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63df1e5b0709b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63df1e5b0709b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63df1e5b0709b', 'paypal', 'buynow', 'rect', 'gold');
});
}