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/6c82tk9xjern/plugin/41/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARx6mjt0llpEbrNTNBbelS_JR9EcAmei-69wuLyGg5Scew6Pn66WOv8kzcF94EuTdZgcNMudc2Xv84hg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Q3ZjZjNThlOTQyY2ZiODM1ODQ1YTIyZDE1YWE1NWExOWZmZmNhZjcxZDE2N2ExYWEyYmY3ZWZkYjI4NmYyOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzFUMDY6MzY6NTguNzIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU13VkY3aXJ2MDd6VVNxSFNuNFZuekd1OGhFYWtINlBWRHRLVmRJSU1IV3NSM0FPRFNuNEczUnM0SFZSUVFlMXR1aVRtN0ZMXzVMYk1RR3lPOWRTRThqN1I4VmtRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d8bbb1a5d97', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d8bbb1a5d97', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d8bbb1a5d97', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d8bbb1a5d97', 'paypal', 'pay', 'rect', 'gold');
});
}