Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
Iankumu committed May 10, 2024
1 parent e7daa0a commit f82fc42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Http/Controllers/MpesaSTKPUSHController.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public function query(Request $request)
$response = Mpesa::stkquery($checkoutRequestId);
$result = json_decode((string)$response);

return $result;
return Inertia::render('Payments/Partials/Stkpush', [
'response' => $result,
]);
}
}

0 comments on commit f82fc42

Please sign in to comment.