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/ldc4r9zrwn2w/plugin/17/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdogL8cskMutvLcC4oWpRNwTTzat9odI9aaStljabRU4lNCOys3p5Y2K0vZgc1ZA-kN2blJ_FENPSXaJ");
script.setAttribute("data-currency", "SGD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjliNjY3ZmJmYTY0NWUwOTczZjNmMDFhNDg4NjhiZWRiMmJiNmFhMGVkZGQ0MjZjMzU4ZjJiZWVkYjg0MmM3NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDFUMTk6MDc6MDEuMTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0wSVBURHVoMWJsWDRfNFNsRXNoQXZ3TVBVRmJFVWR0Nl9OZkNJenh2WkFoVEU2OTVpTGh2T04yU0w3Y0lKZTlFbFhCR3BHaVdBSnR5dVNGTUVEckhDWG1TWW13In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('663295d45ade2', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663295d45ade2', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('663295d45ade2', 'paypal', 'buynow', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663295d45ade2', 'paypal', 'buynow', 'rect', 'silver');
});
}