Commit Graph

57 Commits

Author SHA1 Message Date
Marshal
b7dcc1bf0a feat(billing): add PAYMENT_PROCESSING invoice status on payment success redirect (all except CBE bill) 2026-08-05 12:59:37 +00:00
Nathnael
da1da7befb fix: cbe freight base url 2026-08-02 20:10:42 +00:00
ghost2023
16baa1dd1d fix: cbe callback 2026-08-02 23:01:29 +03:00
Nathnael Wondisha
616269a988 Merge branch 'staging' into dev-to-staging 2026-08-01 10:27:47 +03:00
Abubeker Yasin
aa4ce7fd23 feat: ( payment ) specific CBE query descriptions + Payment_Reason 2026-07-31 16:03:28 +03:00
Nathnael
a975aa7547 fix(payment-providers): stop halving every non-DJF CAC Bank amount
Both callers already hand the provider a major-currency amount before this
call — freight sends invoice.balanceAmount (e.g. 700 for $700), passenger
sends CurrencyService's converted charge amount — with the target currency's
own decimal precision already applied (0dp DJF, 2dp USD/ETB). CAC's
toMajorAmount then divided anything that wasn't DJF by 100 on top of that,
so a USD 700 charge reached the bank as 7.00. This never surfaced because
CAC has only ever been wired for DJF (passenger) until now.

Also scoped the bank's documented 10-100,000 bound to DJF — it's the only
currency the spec states bounds for, so a USD amount outside that DJF-shaped
range is no longer rejected locally; an amount genuinely out of range still
comes back as a bank rejection.

Passenger is unaffected: its CAC currency has always been DJF, and the DJF
branch's behavior (amount unchanged, bounds enforced) is untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-31 10:33:46 +00:00
Abubeker
37855b0a83 feat: ( payment ) implement cbe payment 2026-07-31 07:50:10 +00:00
Abubeker Yasin
d7168a8d77 feat: ( payment ): verify-before-cancel never cancel a paid booking 2026-07-29 17:29:59 +03:00
Abubeker Yasin
e76ff5e159 feat: ( payment ) free method changes, register every payment, confirm booking once 2026-07-29 09:55:45 +03:00
Abubeker Yasin
afcae037fc refactor: ( bookings ) unify authenticated booking flow with guest service 2026-07-27 11:07:33 +03:00
Abubeker Yasin
dfef97a718 Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha 2026-07-24 13:59:21 +03:00
Abubeker Yasin
3d1b06b7ee fix: ( payment ) prevent duplicate booking charges and fix D-Money queryOrder 2026-07-24 13:51:53 +03:00
Muluhabt
e31a2d64e5 Fixing isssues usins AI 2026-07-22 17:29:40 +03:00
Abubeker Yasin
f48a4735c8 fix: ( telebirr ) read transId from webhook for provider_txn_id 2026-07-19 22:16:20 +03:00
Abubeker Yasin
4806768cea Merge branch 'alpha' of github.com:Tria-plc/edr-platform into alpha 2026-07-18 09:55:31 +03:00
Abubeker Yasin
85de05cb40 feat: ( payments ) add merchant-order and booking/PNR payment status lookups 2026-07-18 09:55:09 +03:00
Stephanos A
2e37bd7b4e Supplementary payments issue resolution 2026-07-17 18:41:59 +03:00
Marshal
35c53e3f36 changes 2026-07-16 20:03:35 +00:00
Abubeker Yasin
c6ca5ed8e8 add provider detail on the 2026-07-16 12:05:47 +03:00
Abubeker Yasin
9cf71e7e7a feat: ( payment ) add waafi webhook log 2026-07-15 21:23:10 +03:00
Abubeker Yasin
d39bf43e45 refactor: ( payment ) increase timeout 2026-07-13 15:20:56 +03:00
Abubeker Yasin
bc3973cf0d fix:( payment ): make CAC Bank confirm work end-to-end and callback-safe 2026-07-13 12:11:47 +03:00
Abubeker Yasin
cd4df2f810 Update webhooks.controller.ts 2026-07-09 10:32:19 +03:00
Abubeker Yasin
01e24e1aae feat: ( payment ) add changing payment for booking 2026-07-08 23:05:42 +03:00
Abubeker Yasin
8705b98407 Update dmoney-webhook.service.ts 2026-07-01 12:08:05 +03:00
Abubeker Yasin
100fe2f083 Merge pull request #382 from Tria-plc/alpha
add test payment event
2026-06-30 15:53:32 +03:00
Abubeker Yasin
a667f5b2df add test payment event 2026-06-30 15:51:47 +03:00
SennayT
3c5f5b5861 fix: add docker cache for pnpm installations 2026-06-30 09:54:59 +00:00
Abubeker Yasin
8d7ded1726 Update webhooks.controller.ts 2026-06-30 09:12:45 +03:00
Eyob T.
580b484882 Merge pull request #329 from Tria-plc/alpha
Migration fix
2026-06-29 13:37:21 +03:00
Abubeker Yasin
b70e9ea2cd feat: ( payments ) convert ETB to method currency before charging 2026-06-29 11:55:31 +03:00
Yonas Tewabe
0f33076b4c Update Dockerfile 2026-06-29 10:35:28 +03:00
Abubeker Yasin
29fd5cec34 refactor: ( d-money ) update trade_type and business_type 2026-06-25 14:46:07 +03:00
Abubeker Yasin
77ab3cf632 fix: ( payment ) change the amount to number 2026-06-20 09:27:46 +03:00
Abubeker Yasin
a6fb5e1b74 Merge pull request #204 from Tria-plc/feat/payment-microservice
refactor: ( waafi ) use USD for demo
2026-06-17 20:15:06 +03:00
Abubeker Yasin
be64352bf1 refactor: ( waafi ) use USD for demo 2026-06-17 20:12:44 +03:00
Abubeker Yasin
4ba91400d6 Merge pull request #196 from Tria-plc/feat/payment-microservice
fix: ( telebirr ) fix webhook return types
2026-06-17 12:12:34 +03:00
Abubeker Yasin
1b6bc47026 fix: ( telebirr ) fix webhook return types 2026-06-17 12:04:00 +03:00
Stephanos A.
7a00955588 Revert "fix: add lockfile corruption handling to CI/CD and Dockerfiles" 2026-06-16 21:58:26 +03:00
Eyob T.
eb7db6db21 Merge pull request #187 from Tria-plc/alpha
fix: add lockfile corruption handling to CI/CD and Dockerfiles
2026-06-16 21:48:40 +03:00
Stephanos A
560aff222b fix: add lockfile corruption handling to CI/CD and Dockerfiles 2026-06-16 21:40:01 +03:00
marshal
dc5929e7ae changes 2026-06-16 11:11:32 +03:00
Abubeker Yasin
ca9a67837c feat: ( payment ) implement d-money payment 2026-06-16 08:49:41 +03:00
marshal
0aed9824ae cac payemnt integration and cbe rate exchange webscrabing 2026-06-15 14:54:20 +03:00
Abubeker Yasin
c35b5089ce refactor: ( payment ) use rabbitmq for webhooks event 2026-06-13 20:19:23 +03:00
Yonas Tewabe
5c535f8f8a Update Dockerfile 2026-06-12 04:29:32 -07:00
Yonas Tewabe
8ce8a80a51 Update Dockerfile 2026-06-12 14:19:56 +03:00
Yonas Tewabe
3b0025e7e7 Update docker-entrypoint.sh 2026-06-12 14:11:19 +03:00
Yonas Tewabe
a2eb9a8c73 Update package.json 2026-06-12 14:00:14 +03:00
Yonas Tewabe
3e4ea65184 Update Dockerfile 2026-06-12 13:56:36 +03:00