Setting up M-PESA developer account
Objective: Learn how to create an M-Pesa developer account and obtain the necessary credentials.
- Visit the M-Pesa Developer Portal.
- Create an account or log in.
- Register an application to obtain:
Consumer Key
Consumer Secret
- Test Environment:
- Use the sandbox URLs provided by Safaricom for testing:
Base URL: https://sandbox.safaricom.co.ke/
Production Base URL: https://api.safaricom.co.ke/
- Use the sandbox URLs provided by Safaricom for testing:
- 1 . Setting up M-PESA developer account 345 words
- 2 . Setting Up Laravel for M-Pesa Integration 345 words
- 3 . Generating an Access Token 345 words
- 4 . Initiating a Payment Request (STK Push) 345 words
- 5 . Handling Callbacks and Storing Transactions 345 words