Fluterwave key

This commit is contained in:
CHIEFSOFT\ameye
2023-08-01 11:54:21 -04:00
parent e41ea9019c
commit 08c2323b7d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -296,6 +296,7 @@ long WrenchStartPayment( CVars in, CVars &out ){
load_db_record( out, "SELECT uid AS credit_reference, fee, currency "
" FROM members_credit WHERE member_id = %lu AND id=%lu ", member_id, out["credit_ref_no"].Long());
out["status"] = "OK";
out["flutterwave_key"] = CfgReadChar("flutterwave.public_key");
ret = PHP_API_OK;
}
+1 -1
View File
@@ -677,7 +677,7 @@ class ResultFormatter extends Model
$total = $out["total_record"];
$res = array(
"status" => $out["status"],
"total_record" => ($total - 1),
"total_record" => ($total - 0),
"internal_return" => $out["internal_return"],
"result_list" => array(),
);