interledger / testnet

An open-source test application that aims to utilize Rafiki's functionalities and demonstrate its advantages in real-world scenarios.

Home Page:https://rafiki.money

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove websocket notification for Exchange currency

Tymmmy opened this issue · comments

The user is able to exchange currencies between their own accounts with the Exchnage button.
image

In the background the same outgoing-payments and incomin-paymnet is created as for Sending money.
While we can't influence for now the fees for this, we would like the user to NOT receive notification that they received money.
This means we need to add to metadata a flag maybe, that the outcoming and incoming payments are from exchange button, and then when we fire the MONEY_RECEIVED for incoming payments, in this case we DON'T fire the event.