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/n3rw4oqw4qai/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaH09K93eFcIz2BE1IsGJqundbPNYUuqJnGK0CghaWaCvKjiYWiBWKnj7EUv52-GkXehKXjbbE247ARo");
script.setAttribute("data-currency", "XCD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWRmZGEyY2NkZDA4NWNjNDM4NzRhMWM2NTg0NzI5NzY4ZjdiYjM2ZmVhNWU2YTE2MWFkNzExN2Y4ODBmNzk5NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjlUMDI6MDY6NTMuMDYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5WOVJmLW9KYWJBREhFZ2EyYmF2ZEhfTkczU091a1JCcXhaMTBXN1hXSG16anUxakJhVFVMdzlmcllkSEk0WDg2VF85Mno2NFY3RE4zWlFNdnY0ZW03UlQzSkdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65669e9e53d90', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65669e9e53d90', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65669e9e53d90', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65669e9e53d90', 'paypal', 'buynow', 'rect', 'gold');
});
}