This repo is meant to simplify Safaricom's mpesa API integration in simple steps.
BSD 2-Clause "Simplified" License
37
stars
26
forks
source link
LipaNaMpesaOnline.py uses models.filter() to get a single instance of PaymentTransaction #16
Open
Ekirapapaul opened 3 years ago
Potential errors where a single instance is not found or multiple object instances are found.
Proposed solution
Use models.get(pk=id) to get a single model instance