mpesa-php-api icon indicating copy to clipboard operation
mpesa-php-api copied to clipboard

Adding response error

Open herquiloidehele opened this issue 5 years ago • 1 comments

Estas modificações irão permitir que erros também sejam mostrados no TransactionResponse em caso de alguma falha na requisição do Curl. Actualmente em caso de erro com a requisição , o TransactionResponse fica vazio.

herquiloidehele avatar Aug 20 '19 09:08 herquiloidehele

~~Good catch. Please add parentheses around the if statements as per PSR-2 style guidelines. Will merge thereafter.~~

The master branch has moved on to support v1x Api. Still a good suggestion. Can you fix this on the current master and create a PR?

Thanks

abdulmueid avatar Aug 02 '20 15:08 abdulmueid