1 post / 0 new
C2B Using PHP Important Notes
Dear all, If anyone developes for C2B API using PHP and public domains ensure the following to avoid problems: 1. Your production URLs for validation and confirmation are all HTTPS. 2. Include the CURL option URLOPT_RETURNTRANSFER set to true so as to get the output in the variable of your choice. (This is ommited in the API docs for OAuth PHP). 3. You have an active account for the MPESA org portal for the paybill you intend to work with.   Cheers!