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/5248o0ngljrd/plugin/32/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWo9EvJb5DLS6WOOoE_QXzn-AycIX2gZfgnjPauw8rLn7PlEdP6Q69OPUSm5a82DPq1EOsoUZ6E1bk-_");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTkxODJiMmZlN2M1ZDg3YWFhMGNlYTc4NGNlOTdiNzI3NDJhZDYyZjg0MjY5OTM0ZTE3NWRkNzZmYmRiYTk1OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzFUMTU6MTc6MzYuMjk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9Db2NUQ2pBQ2xkSGlvQkhxTkhYbmJyRXM2ZVJkNmc5bkNyak5hU3doSERSSnR5dWpSMHdGQ25xWWhPRkMzUVNsVnFIaUQ4Z0dlQ0xJSE0wbW5uQS00QmVGbXB3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "vi_VN");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6426fb24deff3', 'paypal', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6426fb24deff3', 'paypal', 'paypal', 'rect', 'gold');
});
}