jkulubya / mtn-momo-dotnet

MTN Momo API in .NET
MIT License
2 stars 1 forks source link

Callbacks #5

Closed cindro closed 4 years ago

cindro commented 4 years ago

Please make the callbacks optional as intended by MTN's API, this would greatly help with the productivity.

jkulubya commented 4 years ago

Hi, Please try https://www.nuget.org/packages/MtnMomo.NET/1.0.0-alpha-28 and let me know if that's good.

cindro commented 4 years ago

I have only tested collections.RequestToPay and the new library still doesn't work.

jkulubya commented 4 years ago

Hi, I've rigged up a quick example here. https://github.com/jkulubya/momotest

You can get credentials using the info here: https://github.com/sparkplug/momoapi-node#sandbox-credentials

cindro commented 4 years ago

I upgraded to 1.0.0-alpha-37 just now and made a tiny change in my code and everything works now, at least RequestToPay which I tested does.

Thank you for this beautiful library.

jkulubya commented 4 years ago

Alright...that’s great to hear. Thanks.