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/hhf5y4a1b7cg/plugin/10/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ARTrqcBk_fZNwYMd_KyyP3vCYUQpCnj8qPXuAdCnpq7HBtMrUKEDuqmJpFKY9d3RmVAsXNfz774NwiIT");
script.setAttribute("data-currency", "BHD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTFhYTlhNzc3MzY0N2IyZDRmODg5ODQ3NjcxODhkYWM4MmVhMWQyYzA0YWE1MzM0NTQ1YTU0ZTk3N2JmYmVmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTA6Mzc6NDQuMzk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xaW5rRHFUS1pleDFCd0hoVUh3OFZCQWQzRTJzdEFUb1MxSktpXzhadmRHQ0NyS18tM3pGb19SVVhaOU1vS1VBN1ZJRHBmVE14LUw1a1JmdGdSLU84Y3kzODN3In19");
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", "ARTrqcBk_fZNwYMd_KyyP3vCYUQpCnj8qPXuAdCnpq7HBtMrUKEDuqmJpFKY9d3RmVAsXNfz774NwiIT");
script.setAttribute("data-currency", "BHD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTFhYTlhNzc3MzY0N2IyZDRmODg5ODQ3NjcxODhkYWM4MmVhMWQyYzA0YWE1MzM0NTQ1YTU0ZTk3N2JmYmVmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTA6Mzc6NDQuMzk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xaW5rRHFUS1pleDFCd0hoVUh3OFZCQWQzRTJzdEFUb1MxSktpXzhadmRHQ0NyS18tM3pGb19SVVhaOU1vS1VBN1ZJRHBmVE14LUw1a1JmdGdSLU84Y3kzODN3In19");
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('6605554619fef', 'paylater', 'paypal', 'pill', 'gold');
});
} else {
renderPayPalButtons('6605554619fef', 'paylater', 'paypal', 'pill', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605554619fef', 'paypal', 'buynow', 'pill', 'gold');
});
} else {
renderPayPalButtons('6605554619fef', 'paypal', 'buynow', 'pill', 'gold');
}