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/llqs9o7bcs7z/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUH4vs7aZ3pYsqAsJ-l7TmxAt8jvckagy3G9AetqPfMjlrcU0MpAw500chTVPEcp47kcQNDz_BTM-PHI");
script.setAttribute("data-currency", "XCD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjExMGUzMWRiZDIxM2M3ODgzOWU1OWNhZjcyMWQwN2IxZWIwZWI4NDBiMjQyMzIyMGI5ZmEwNDZiZDk0NTRiNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMDVUMDU6MDM6MDYuMTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2Q0J1NmxBMi0xSFhlSWhnZE54cE45a1lrMWxaU29VY3F0M2YyMk42QXV2M2luRlJfeW96dERlX2VJUW85OGRVOFNQb0lGclVsQzFkM25uLUFsLWtiMEhUS3h3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AUH4vs7aZ3pYsqAsJ-l7TmxAt8jvckagy3G9AetqPfMjlrcU0MpAw500chTVPEcp47kcQNDz_BTM-PHI");
script.setAttribute("data-currency", "XCD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjExMGUzMWRiZDIxM2M3ODgzOWU1OWNhZjcyMWQwN2IxZWIwZWI4NDBiMjQyMzIyMGI5ZmEwNDZiZDk0NTRiNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMDVUMDU6MDM6MDYuMTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2Q0J1NmxBMi0xSFhlSWhnZE54cE45a1lrMWxaU29VY3F0M2YyMk42QXV2M2luRlJfeW96dERlX2VJUW85OGRVOFNQb0lGclVsQzFkM25uLUFsLWtiMEhUS3h3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65e6a7ee63834', 'paypal', 'pay', 'rect', 'gold');
});
} else {
renderPayPalButtons('65e6a7ee63834', 'paypal', 'pay', 'rect', 'gold');
}