fix
This commit is contained in:
@@ -403,8 +403,8 @@ long WrenchBoardCompleteBalanceTopup(CVars in, CVars &out){
|
||||
in["trx_id"] = rec["trx_id"]; in["trx_id"].set_valid( true );
|
||||
|
||||
pgsql_exec("UPDATE flutterwave_payments SET transaction_id = '%s', " \
|
||||
"status=%lu,updated=now() WHERE id = %lu AND status=0 AND " \
|
||||
"tx_ref='%s'", in["transaction_id"].c_str(),in["status"].Long(),rec["trx_id"].Long(), in["tx_ref"].c_str());
|
||||
"status=%lu,updated=now(),return_status='%s' WHERE id = %lu AND status=0 AND " \
|
||||
"tx_ref='%s' ", in["transaction_id"].c_str(),in["status"].Long(),in["return_status"].c_str(),rec["trx_id"].Long(), in["tx_ref"].c_str());
|
||||
|
||||
if ( in["status"].Long() == 5){
|
||||
return WrenchMemberTopupPayment( in, out ); // This start the actual crediting
|
||||
|
||||
Reference in New Issue
Block a user