if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/7woa4tw7wso0/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZ-melK30t3uzJmH0Y8vZLMGTNhAKYm2YduDRRFvOIONjiBsznN89gbG2x-VLaIG__Qy0G3jhAVLql8O");
script.setAttribute("data-currency", "SGD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmJjYjFmMTM2YjViYjFmZTZiMGRlNGI5YzZhYWUzYTE0NDlkMTJhYzg3MzQ3NjMyMmM2YWQ2MWNkODY4NjU5ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMjJUMDU6MTk6NTYuMjMyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5rU1phU2kxeDdJR0FwcnlVVzBMeTZxenRXTUptdHl4aUtnX2x6S1dKYWNpQXlnVTlDNjA0SVZKVTZwazZoVkYtamJ3bnZBMTY0S2pkSWhLMnhZYWNrMUNneVlRIn19");
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", "AZ-melK30t3uzJmH0Y8vZLMGTNhAKYm2YduDRRFvOIONjiBsznN89gbG2x-VLaIG__Qy0G3jhAVLql8O");
script.setAttribute("data-currency", "SGD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmJjYjFmMTM2YjViYjFmZTZiMGRlNGI5YzZhYWUzYTE0NDlkMTJhYzg3MzQ3NjMyMmM2YWQ2MWNkODY4NjU5ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMjJUMDU6MTk6NTYuMjMyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5rU1phU2kxeDdJR0FwcnlVVzBMeTZxenRXTUptdHl4aUtnX2x6S1dKYWNpQXlnVTlDNjA0SVZKVTZwazZoVkYtamJ3bnZBMTY0S2pkSWhLMnhZYWNrMUNneVlRIn19");
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('65ae02c43da25', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('65ae02c43da25', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65ae02c43da25', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65ae02c43da25', 'paypal', 'buynow', 'rect', 'gold');
}