|
|
@@ -47,7 +47,7 @@ const Index = () => { |
|
|
|
const navigate = useNavigate() |
|
|
|
const location = useLocation(); |
|
|
|
|
|
|
|
const local = {en:"en_us", zh:"zh_hk", cn:"zh_cn"}; |
|
|
|
// const local = {en:"en_us", zh:"zh_hk", cn:"zh_cn"}; |
|
|
|
const preferpaymentmethods = ['visa', 'mastercard', 'pps', 'creditcard', 'fps']; |
|
|
|
const [totalAmount, setTotalAmount] = useState(0); |
|
|
|
const [appIds, setAppIds] = useState([]); |
|
|
@@ -158,7 +158,7 @@ const Index = () => { |
|
|
|
HttpUtils.post({ |
|
|
|
url: paymentPath + getAvailablePaymentUrl, |
|
|
|
params: { |
|
|
|
"locale": local.zh, |
|
|
|
// "locale": local.zh, |
|
|
|
"amount": totalAmount, |
|
|
|
// "eserviceids": [ |
|
|
|
// "<eserviceid>", "<eserviceid>" |
|
|
|