Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error Caused by Decimal Value #15

Open
PaulKish opened this issue Mar 29, 2016 · 1 comment
Open

Fatal Error Caused by Decimal Value #15

PaulKish opened this issue Mar 29, 2016 · 1 comment

Comments

@PaulKish
Copy link

See the response below

Fatal error</b>: Call to a member function setReceipt() on null in <b>/../pesapi/include/PLUSPEOPLE/PesaPi/MpesaPrivate/MpesaPrivate.php</b> on line <b>67</b><br />

The message that triggered this error is XXXXXXXX Confirmed.You have received Ksh1,030.00 from XXXX XXXXX 0712345678 on 10/3/16 at 9:26 PM New M-PESA balance is Ksh1,079.65. Pay bills via M-PESA.

I noticed that the smsyc works well if the decimal value is zero e.g Ksh1,079.00 and not Ksh1,079.65

@PaulKish
Copy link
Author

Added a possible fix with the following pull request #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant