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/zuxwjvd28smq/plugin/6/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aa6aA5zGPWxZ78NB83DaPNQSlyo3gZrOdK9SRJApz2px0tp0c0a12Mqf41IS0bJJpOQFFEnLNH3wa-MV");
script.setAttribute("data-currency", "QAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWJiMzYyMzA0ZTJkZTM4OGVjYTg0YTk5NDU5YTk4OTc4ZTVmNWI5NjhmYjFhNTkxNThlMjY0MTM5MjIzY2I5NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTNUMDU6Mjg6MzkuMDU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU93cWoxU2dhT1dnaXZub3AxYnhpVl8wSHZmaUR5Y29wV1JheVZ1dWMxU2hrZ2gyQlBzY29RZTFydzBDcjR5T0JEdnh1eXpfNmE3Ujk2WnA0ZE4xR0JaYWRnZm9RIn19");
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", "Aa6aA5zGPWxZ78NB83DaPNQSlyo3gZrOdK9SRJApz2px0tp0c0a12Mqf41IS0bJJpOQFFEnLNH3wa-MV");
script.setAttribute("data-currency", "QAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWJiMzYyMzA0ZTJkZTM4OGVjYTg0YTk5NDU5YTk4OTc4ZTVmNWI5NjhmYjFhNTkxNThlMjY0MTM5MjIzY2I5NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTNUMDU6Mjg6MzkuMDU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU93cWoxU2dhT1dnaXZub3AxYnhpVl8wSHZmaUR5Y29wV1JheVZ1dWMxU2hrZ2gyQlBzY29RZTFydzBDcjR5T0JEdnh1eXpfNmE3Ujk2WnA0ZE4xR0JaYWRnZm9RIn19");
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('661a24d7d0485', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('661a24d7d0485', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('661a24d7d0485', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('661a24d7d0485', 'paypal', 'buynow', 'rect', 'gold');
}