missing params
This commit is contained in:
@@ -52,13 +52,14 @@ class WrenchHooks extends BaseController
|
||||
log_message('critical', "WrenchHooks flutter Kafka fail => ".$e->getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ( isset( $in["event"]) & isset($in["data"]) ){
|
||||
$inx = $in["data"];
|
||||
$inx["txRef"] = $inx["tx_ref"];
|
||||
$inx["orderRef"] = $inx["flw_ref"];
|
||||
$inx["flwRef"] = $inx["flw_ref"];
|
||||
$inx["appfee"] = $inx["app_fee"];
|
||||
$inx["customer"]["AccountId"] =$inx["customer"]["id"];
|
||||
$inx["customer"]["fullName"] = $inx["customer"]["name"];
|
||||
}
|
||||
else{
|
||||
$inx =$in;
|
||||
@@ -82,7 +83,6 @@ class WrenchHooks extends BaseController
|
||||
log_message('critical', "WrenchHooks flutter fail => ".$e->getMessage());
|
||||
}
|
||||
|
||||
|
||||
$data = [
|
||||
"event_type" => $inx["event.type"],
|
||||
"status" => $inx["status"],
|
||||
|
||||
Reference in New Issue
Block a user