The current registration event handler in ussd assumes that an event from the REGISTER stream will always be successful this is wrong.
Add a check for the transaction status before marking it as activated on the chain and proceeding with activation on ussd.
The current registration event handler in ussd assumes that an event from the
REGISTER
stream will always be successful this is wrong. Add a check for the transaction status before marking it as activated on the chain and proceeding with activation on ussd.