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/6sqyjas90wqo/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AclHc5nva419haVJDXXshZl39HGNEBfCb6jYwIVkrMPf1DyBdaAoUaFQN1Ew8jNKxme-k6YzzSqJbIET");
script.setAttribute("data-currency", "QAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGM3N2FkNzg1OTkzYjlkYWU2YWFjZmRlN2FjZWQwYTg2YmU0ZWM1NTIyMWE0YjA5ZDQ0NDc4ODM2NDNmOGQ0N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMThUMTk6MjA6MzMuNzU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1aVVJ5V2pjTXZrbTdkdUM4bEpoRnpjMEtsY0c3ZFVWSEt1WkNKQ0FIVmtPMTNOR2RtOTBmT1FWWnBYMzYyeTh1SUhjQlVBUDFpZlZ4cUNwdkJ1ZGhxVkpNdWtRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AclHc5nva419haVJDXXshZl39HGNEBfCb6jYwIVkrMPf1DyBdaAoUaFQN1Ew8jNKxme-k6YzzSqJbIET");
script.setAttribute("data-currency", "QAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGM3N2FkNzg1OTkzYjlkYWU2YWFjZmRlN2FjZWQwYTg2YmU0ZWM1NTIyMWE0YjA5ZDQ0NDc4ODM2NDNmOGQ0N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMThUMTk6MjA6MzMuNzU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1aVVJ5V2pjTXZrbTdkdUM4bEpoRnpjMEtsY0c3ZFVWSEt1WkNKQ0FIVmtPMTNOR2RtOTBmT1FWWnBYMzYyeTh1SUhjQlVBUDFpZlZ4cUNwdkJ1ZGhxVkpNdWtRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65a987d7430bf', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('65a987d7430bf', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65a987d7430bf', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65a987d7430bf', 'paypal', 'buynow', 'rect', 'gold');
}