Skip to content

Commit

Permalink
IPN fixes
Browse files Browse the repository at this point in the history
Signed-off-by: drh <jmnabangi@gmail.com>
  • Loading branch information
DrH97 committed Jan 11, 2022
1 parent 45856b4 commit b7b29ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ public function instantPaymentNotification(Request $request)
$tandaRequest = TandaRequest::updateOrCreate(['request_id' => $request->input('transactionId')], [
'status' => $request->input('status'),
'message' => $request->input('message'),
'receiptNumber' => $request->input('receiptNumber'),
'last_modified' => Carbon::parse($request->input('timestamp'))->utc(),
'result' => $request->input('resultParameters'),
]);

Tanda::fireTandaEvent($tandaRequest);
Expand Down

0 comments on commit b7b29ab

Please sign in to comment.