laravel-mtn-momo
laravel-mtn-momo copied to clipboard
PayerMessage and PayeeNote are required.
From a user in production.
If either PayerMessage or PayeeNote is empty, you will get an Internal Server Error.
TODO:
Improve Collection::requestToPay to require these two
Hi. I am trying to figure out what is appropriate to put in payerMessage
and payerNote
. In the API docs its says that it will be in the transaction history. But I also see something in PreApproval
for payerMessage
- The mesage that is shown to the approver
. So this is throwing me a bit.
When I use your requestToPay
function will the requestToPay
show a message to the user on their device using payerMessage
or will is go into transaction history?
Thanks for the great package by the way!
@warmwhisky the PayerMessage and PayeeNote will only be part of the transaction history.
MTN will render a different message to the user prompting them to enter their PIN to approve a debit of AMOUNT from initiator (your company) at a FEE and TAX
@mtvbrianking Thank you for clearing that up for me.