Skip to content

Fatal Error Caused by Decimal Value #15

@PaulKish

Description

@PaulKish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions