fixed: disabled asiapay
This commit is contained in:
parent
a2c94abf20
commit
cc67e44dc7
@ -35,7 +35,7 @@ const ExternalCreate = () => {
|
||||
const navigate = useNavigate()
|
||||
const createBill = (params: ExternalCreateParamsType) => {
|
||||
setState({loading: true})
|
||||
const pay_channel = searchParams.get('pay_channel') || 'asia_pay'
|
||||
const pay_channel = searchParams.get('pay_channel') || 'flywire'
|
||||
createExternalBill(params).then((ret) => {
|
||||
setState({loading: false})
|
||||
navigate(`/pay?bill=${ret.id}&pay_channel=${pay_channel}`, {replace: true})
|
||||
|
@ -24,8 +24,8 @@ const PayIndex = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
const payChannel = search.get('pay_channel') || 'flywire'
|
||||
setPayChannel(payChannel)
|
||||
// const payChannel = search.get('pay_channel') || 'flywire'
|
||||
setPayChannel('flywire')
|
||||
getBillDetail(Number(billId)).then((bill) => {
|
||||
// 判断bill状态
|
||||
if (bill.status != BillStatus.PENDING) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user