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/jbcqc10aq12l/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQNKXMnanjZojDQwavgzB8U95K81e3DtEMVbAEMM1MY9tYP0FONXVeTdHUBC7fVDEBVPwhAJ_IRvzcSG");
script.setAttribute("data-currency", "IDR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTRmNjIyOGY1OTgzNzc0NGEwMzFlM2E2MmUwNTAyMDRiYzUwNmE0MGI5MmU0YTZmZGExNjEyNTQ2NjM3ZTNlNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMTlUMTQ6MTM6MjIuMjkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9xcWVQWHM5NUZLZTFNRk50a2JleDBzemlHYUE4ZWhJSE05OWcydHhMakVITTRzWXBWQndSWFZubXd5ZTU3bl83clo2eWNHbDVUcFdtVnRna3h5eDVoSnRjRmlnIn19");
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", "AQNKXMnanjZojDQwavgzB8U95K81e3DtEMVbAEMM1MY9tYP0FONXVeTdHUBC7fVDEBVPwhAJ_IRvzcSG");
script.setAttribute("data-currency", "IDR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTRmNjIyOGY1OTgzNzc0NGEwMzFlM2E2MmUwNTAyMDRiYzUwNmE0MGI5MmU0YTZmZGExNjEyNTQ2NjM3ZTNlNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMTlUMTQ6MTM6MjIuMjkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9xcWVQWHM5NUZLZTFNRk50a2JleDBzemlHYUE4ZWhJSE05OWcydHhMakVITTRzWXBWQndSWFZubXd5ZTU3bl83clo2eWNHbDVUcFdtVnRna3h5eDVoSnRjRmlnIn19");
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('65aa868035360', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('65aa868035360', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65aa868035360', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65aa868035360', 'paypal', 'buynow', 'rect', 'gold');
}