cosmetics
This commit is contained in:
parent
1a66e232a5
commit
83674bd7a9
@ -466,9 +466,9 @@ export interface PayReq {
|
|||||||
order_id: string;
|
order_id: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mode for /pay (pay or refund)
|
* Mode for /pay.
|
||||||
*/
|
*/
|
||||||
mode: string;
|
mode: "pay" | "abort-refund";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -257,7 +257,6 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt
|
|||||||
this.setState({ confirmPayError: e.detail });
|
this.setState({ confirmPayError: e.detail });
|
||||||
return;
|
return;
|
||||||
} finally {
|
} finally {
|
||||||
this.setState({ working: false });
|
|
||||||
}
|
}
|
||||||
console.log("payResult", payResult);
|
console.log("payResult", payResult);
|
||||||
document.location.href = payResult.nextUrl;
|
document.location.href = payResult.nextUrl;
|
||||||
|
Loading…
Reference in New Issue
Block a user