Skip to content

Arch Forum 2023-03-23

Notes

2 topics were discussed:

Refund/Reverse in Hydra:
Thani brought up the question why each area should implement custom Refund logic for the Refund button functionality in Hydra, couldn't Transaction service handle this generically. A long discussion followed, with the main conclusion that the different areas that can refund might have different logic. I.e. refunding calling or remittance can have different logic when it can be done, and how it can be done.

Web / Backend communication:
The second topic discussed were how to best let the website (majority.com) access backend services, i.e. when it needs to assign a referral link in fees&promotions area. There is an old project, majoritycom-web-api, but that was built a long time ago not following our common backend service patterns or using any shared platform code.

After discussion we agreed that creating a new webapi area, similar to salestool and hydra areas, are the best way. Then we can have exact control over what APIs are used for the web, their security etc, and have something that we can maintain going forward. (The related question, how web handles its other backends needs today fulfilled by majoritycom-web-api is a discussion for the web team and not something we discussed..)