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

Amount entered in database is wrong. #8

Closed muas19 closed 9 years ago

muas19 commented 9 years ago

Tested a payment of ksh. 10 to my till number but the amount entered in the database was 1000. Also if the amount in the till is 35, the db read 3500.

pluspeople commented 9 years ago

All amounts in PesaPi is entered as the mimimum currency unit. in Kenya this means cents, so 3500 cents is 35 shilling. In other words - this is intentional and how the system is supposed to work.

muas19 commented 9 years ago

Good. Will mark it as closed. But it would be wiser to disclose that info beforehand.