Convert naira to kobo
sodmond opened this issue · comments
Sodik Owolabi commented
How do I convert user input in naira to kobo? I can't tell users to type amount in kobo
Segun Ibidokun commented
@sodmond You have to handle this yourself. Say for instance someone intends to pay 500 naira, you will have to multiply the input amount (in this case 500) by 100 before sending to Paystack for processing.
Sodik Owolabi commented
@segun931 thanks I was looking for a suitable way to handle it with this package but an update has merged from one the pull request which solves the problem for me.