|
|
@@ -13,7 +13,7 @@ import * as UrlUtils from "utils/ApiPathConst"; |
|
|
|
// import { useNavigate } from "react-router-dom"; |
|
|
|
// import FpsIcon from "assets/images/icons/fps.svg"; |
|
|
|
// import { useLocation } from 'react-router-dom'; |
|
|
|
import {paymentPath} from "auth/utils"; |
|
|
|
// import {paymentPath} from "auth/utils"; |
|
|
|
// import {poll} from "utils/Utils"; |
|
|
|
import * as DateUtils from "utils/DateUtils" |
|
|
|
|
|
|
@@ -50,7 +50,7 @@ const AckPage = () => { |
|
|
|
// const [transactionDate, setTransactionDate] = React.useState(""); |
|
|
|
// const [transactionTime, setTransactionTime] = React.useState(""); |
|
|
|
const [onReady, setOnReady] = React.useState(false); |
|
|
|
const paymentStatusApi = "/api/payment/status/"; |
|
|
|
// const paymentStatusApi = "/api/payment/status/"; |
|
|
|
const [onDownload, setOnDownload] = React.useState(false); |
|
|
|
const intl = useIntl(); |
|
|
|
const { locale } = intl; |
|
|
@@ -85,7 +85,7 @@ const AckPage = () => { |
|
|
|
let webtoken = localStorage.getItem("webtoken") |
|
|
|
|
|
|
|
HttpUtils.post({ |
|
|
|
url: paymentPath+paymentStatusApi+transactionid, |
|
|
|
url: UrlUtils.PAYMENT_STATUS_API+transactionid, |
|
|
|
params:{ |
|
|
|
"apprefid": transactionid, |
|
|
|
"webtoken": webtoken, |
|
|
|