diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index 5b3c1ef..a9991af 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -1113,7 +1113,7 @@ Plans: 4. A host test proves the order-create, Stripe-pay and order-paid flow that Horoskopia relies on. 5. The new code has unit tests, delivered in the phase's last plan. -**Plans:** 2/7 plans executed +**Plans:** 3/7 plans executed Plans: **Wave 1** @@ -1123,7 +1123,7 @@ Plans: - [x] 18-02-PLAN.md — sm-paymentgateway-plugin domain core: v2 row-shape gate, exact money, migrations, models, FSMs, Order/Payment services, operators (cash, manual, disabled) and registry, cart with legacy reader and extension registry, hashids, events and bridge, notification route, currencies (NBP, Fixer), `pg:*` commands, `paymentgateway:import-winter` **Wave 3** *(blocked on 18-02)* -- [ ] 18-03-PLAN.md — sm-paymentgateway-plugin admin: Orders, Payments, Quotes, Quote items and Shippings in cabana YAML with partials, record and admin actions, the quote cart element, permissions, navigation and the full EN/PL phrasebook +- [x] 18-03-PLAN.md — sm-paymentgateway-plugin admin: Orders, Payments, Quotes, Quote items and Shippings in cabana YAML with partials, record and admin actions, the quote cart element, permissions, navigation and the full EN/PL phrasebook **Wave 4** *(blocked on 18-03)* - [ ] 18-04-PLAN.md — sm-paymentgateway-plugin settings and mail: PG and Mailer settings pages (D-08), 27 postcard templates PL/EN under the PHP codes, the four mailer groups after commit, mailer keys in the Winter import @@ -1340,7 +1340,7 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → | 15. Journal plugin | 4/4 | Complete | 2026-10-06 | | 16. grzybyfunkcjonalne.pl on reusable blog views | 5/5 | In Progress| | | 17. Blog companions | 6/6 | In Progress| | -| 18. Payment Gateway | 2/7 | In Progress| | +| 18. Payment Gateway | 3/7 | In Progress| | | 18.1. Payment Gateway Subscriptions | 0/TBD | Not started | - | | 19. Chat and ChatChannels | 0/TBD | Not started | - | | 19.1. Chat satellites | 0/TBD | Not started | - | diff --git a/.planning/STATE.md b/.planning/STATE.md index 642f0cc..616d9f6 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -4,16 +4,16 @@ milestone: v1.0 current_phase: 18 current_phase_name: Payment Gateway status: executing -stopped_at: Completed 18-02-PLAN.md -last_updated: "2026-10-13T11:20:09.050Z" +stopped_at: Completed 18-03-PLAN.md +last_updated: "2026-10-13T12:01:32.730Z" last_activity: 2026-10-13 last_activity_desc: Phase 18 execution started -state_head: a22bd8a934f9b91820e75a95ce0b8a71a2c460b1 +state_head: 9b193c1c4ca13710b55901df39ca2467a4f0199c progress: total_phases: 40 completed_phases: 14 total_plans: 175 - completed_plans: 170 + completed_plans: 171 gsd_state_version: "1.0" milestone_name: milestone --- @@ -30,7 +30,7 @@ See: .planning/PROJECT.md (updated 2026-10-12) ## Current Position Phase: 18 (Payment Gateway) — EXECUTING -Plan: 3 of 7 +Plan: 4 of 7 Status: Ready to execute Last activity: 2026-10-13 — Phase 18 execution started @@ -227,6 +227,7 @@ Progress: [████░░░░░░] 44% | Phase 17 P06 | 53 min | 4 tasks | 50 files | | Phase 18 P01 | 43min | 4 tasks | 59 files | | Phase 18 P02 | 75min | 4 tasks | 84 files | +| Phase 18 P03 | 45min | 3 tasks | 75 files | ## Accumulated Context @@ -751,6 +752,9 @@ Recent decisions affecting current work: - [Phase 18]: 18-02: cart/details v2 row format is v2-research (long keys, top-level v:2); legacy JMS rows decoded in place, never rewritten - [Phase 18]: 18-02: notification route verifies (VerifyNotification on the capped raw body) before any database lookup; operators.PaymentContext carries Tx for in-transaction transitions - [Phase 18]: 18-02: NBP uses Table A of the day before with a 5-day fallback (PHP semantics); Fixer keeps the PHP endpoint with optional fixer_access_key +- [Phase 18]: Admin amounts use money.Stored (struct around Amount4) because cabana money fields/columns accept only string or struct Scanner/Valuer columns +- [Phase 18]: Quote cart widget runs one cabana action (quote_cart) with payload operations; refusals answer 403 ForbiddenError so the admin toasts the localized reason +- [Phase 18]: Paymentgateway admin copy is complete in lang/{en,pl}; plan 04 settings/mailer keys listed in 18-03-SUMMARY ### Pending Todos @@ -829,6 +833,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-10-13T11:20:08.174Z -Stopped at: Completed 18-02-PLAN.md +Last session: 2026-10-13T12:01:31.874Z +Stopped at: Completed 18-03-PLAN.md Resume file: None