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