You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
RequestToPay returns the transaction id, but does not throw an error in case mtn has not returned 200 ok. If the payerMessage and payeeNote includes unaccepted characters such as "&" ampersand, the telco rejects the transaction and returns an error, but the sdk does not capture it. Hence just throw ResourceNotFoundError on getTransaction.
To Reproduce
Steps to reproduce the behavior:
include "&" in the payerMessage and payeeNote.
Not sure what other characters the mtn api does not support. Hence should include character sanitization
Expected behavior
Should return an error in case the telco does not return a 200 status on RequestToPay
The text was updated successfully, but these errors were encountered:
Describe the bug
RequestToPay returns the transaction id, but does not throw an error in case mtn has not returned 200 ok. If the payerMessage and payeeNote includes unaccepted characters such as "&" ampersand, the telco rejects the transaction and returns an error, but the sdk does not capture it. Hence just throw ResourceNotFoundError on getTransaction.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should return an error in case the telco does not return a 200 status on RequestToPay
The text was updated successfully, but these errors were encountered: