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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDIyYjM2ZGYzYjNjN2E1MGI1ZmUyM2M2NzAyNzM1ZTgxZGE5MjNjYmVlZGY4ZDdkZGUxZWQ4NTFhOGMzZTdkZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTlUMTA6MzU6NDAuNzUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5rcndQbGtVeUxGeHM2MmN0QzBGYUJ0VFFPb1Bpb3hZejVxcGhxdm1fOHowaHlrNzNYc2d3bU5RR0pvRzZnRnB6dGtIWXkwTGZDdlVsbDNxSVVOSkVZV2JoZ3NnIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDIyYjM2ZGYzYjNjN2E1MGI1ZmUyM2M2NzAyNzM1ZTgxZGE5MjNjYmVlZGY4ZDdkZGUxZWQ4NTFhOGMzZTdkZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTlUMTA6MzU6NDAuNzUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5rcndQbGtVeUxGeHM2MmN0QzBGYUJ0VFFPb1Bpb3hZejVxcGhxdm1fOHowaHlrNzNYc2d3bU5RR0pvRzZnRnB6dGtIWXkwTGZDdlVsbDNxSVVOSkVZV2JoZ3NnIn19");
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('6622569070ef4', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6622569070ef4', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6622569070ef4', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6622569070ef4', 'paypal', 'buynow', 'rect', 'gold');
}