aksalj / pesajs

MPESA G2 API client
MIT License
38 stars 27 forks source link

Bug - XML body from SAG is not parsed in example #13

Open NateNjuguna opened 7 years ago

NateNjuguna commented 7 years ago

After a transaction is complete, The SAG sends a notification to the callback. However the xml body which is what the example app is configured to receive is never parsed and the middleware for the payment notification receives an empty body. I seems bodyparser can do this parse but is not configured to do so