Skip to content

Commit

Permalink
Update MpesaHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyout authored Apr 10, 2024
1 parent 130ba6e commit f072f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/MpesaHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function MpesaRequest($url, $body)
->acceptJson()
->post($url, $body);

return $response;
return $response->json();
}

// Generate a base64 password using the Safaricom PassKey and the Business ShortCode to be used in the Mpesa Transaction
Expand Down

0 comments on commit f072f32

Please sign in to comment.