Commit 821415bf authored by iWallet Dev's avatar iWallet Dev

Payment API Status Checker Enhancement

parent e19682ff
......@@ -251,8 +251,7 @@ class SettlementModelClass extends ModelClassEx {
$senderObject = $this -> getRowData($this -> getAccountCommon($senderAccount));
if(!$this -> checkAccountStatus($senderAccount, VAR_TRANSACTION_TRANSFER_WITHDRAW)) {
if($this -> getColumnData($senderObject, PARAM_STATUS) != 7)
$invalid["SUSP01"] = $this -> getMessage(ERROR, 'E_ERROR_UNABLE_TO_PROCESS_REQUEST', array());
$invalid["SUSP01"] = $this -> getMessage(ERROR, 'E_ERROR_UNABLE_TO_PROCESS_REQUEST', array());
}
if($this -> getColumnData($apiSignature, PARAM_USER_ACCOUNT) != $senderAccount){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment