Payments status updated to paid in db

I am failing to pass the hash strings. If a user pays my Api is not communicating with my phpMyAdmin data base to update payments as status paid. When a person clicks subscribe payment transaction is created in payments table as pending then eco cash is processed and verification email is received from Paynow through email as paid. My challenge if you can help . Ipn is hitting the server but failing at hash strings. In my Log the error attached is showing. Lessons are not unlocking automatically. Help me fix. I have different packages for payments 1 for $3, and the other payments are for family package discounts $5,$7,$9. Help me. Thank you