abdulmueid / mpesa-php-api

PHP library for M-Pesa API (Mozambique)
MIT License
44 stars 26 forks source link

I'M sorry for bothering you Sir, Am getting INS-1 error after a C2B operation and I don't know if it is me or the m-pesa API problem, on m-pesa developers site the documentation is short and all i know about this error is that is an internal error #9

Closed aleixo-fx closed 4 years ago

abdulmueid commented 4 years ago

Hi @aleixo-fx,

Can you share the code you've written for me to see where the problem could be? I just ran the phpunit test suite and it worked as expected. I doubt the issue is on M-Pesa side. Happy to help but you need to share more details, not just the error code.

Abdul

aleixo-fx commented 4 years ago

venda

(Removed config with keys)

aleixo-fx commented 4 years ago

Thank you for you time Sir. my code:

[image: config.PNG] [image: venda.PNG]

Em sex., 21 de ago. de 2020 às 18:43, Abdul Mueid Akhtar < notifications@github.com> escreveu:

Hi @aleixo-fx https://github.com/aleixo-fx,

Can you share the code you've written for me to see where the problem could be? I just ran the phpunit test suite and it worked as expected. Happy to help but you need to share more details, not just the error code.

Abdul

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abdulmueid/mpesa-php-api/issues/9#issuecomment-678385264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESSCZWK5NGTHTFZYYSJFNLSB2P4PANCNFSM4QGTMMFA .

abdulmueid commented 4 years ago

Check your reference. Remove the whitespace before T12344C. M-Pesa API is specific about References.

aleixo-fx commented 4 years ago

compra2 I tried, still getting the same error

aleixo-fx commented 4 years ago

still getting the same error

Em sex., 21 de ago. de 2020 às 21:10, Abdul Mueid Akhtar < notifications@github.com> escreveu:

Check your reference. Remove the space before T12344C. M-Pesa API is specific about References.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abdulmueid/mpesa-php-api/issues/9#issuecomment-678447119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESSCZXATJVMPKOTTZP3B6TSB3BBTANCNFSM4QGTMMFA .

aleixo-fx commented 4 years ago

Its Working now! Might have been packages conflict! I Restarted the project and cleaned the composer json!