pluspeople / pesaPi

PesaPI is an API for mobile money systems across Africa. Using PesaPI you can save considerable time and effort when integrating mobile money systems into your application, making it easy for your application to detect when a payment has been received. Full details on http://www.pesapi.com
382 stars 240 forks source link

Change default datetime in query from '0000-00-00' to '1970-01-01' #23

Open 0x8801 opened 7 years ago

0x8801 commented 7 years ago

Recent versions of MySQL do not allow 0000-00-00 so the default Transaction database query keeps failing causing a null value on the setReceipt() function. Change to epoch which is allowed

Fixes #22