Skip to content

FlowDelivery v0.5.0

Choose a tag to compare

@leomoraesitu leomoraesitu released this 08 Jul 12:52

Payments Foundation (Sprint 11)

Every confirmed order now persists a payment record atomically with the order and its items, and the checkout renders the localized payment method and status.

Highlights

  • Supabase payments table with explicit grants and RLS scoped to the order owner via auth.uid().
  • Atomic create_order evolution: order + items + payment in a single transaction (SECURITY INVOKER).
  • Payment domain types wired into checkout contracts: PaymentMethod, PaymentStatus, PaymentSummary.
  • Checkout data layer forwards the payment method to the RPC and maps the payment summary back to the domain.
  • CheckoutViewModel sends PaymentMethod.cashOnDelivery explicitly; checkout UI renders localized payment method and status.
  • Localized payment copy in pt_BR, pt, and en; obsolete cartCheckoutPlaceholder key removed.

Validation

  • Focused regression suite: 72 tests. Consolidated flutter test matrix: 206 tests.
  • Localization, Theme, and Trello guards green.

Live demo

https://leomoraesitu.github.io/flowdelivery-app/

Artifact checksums

SHA-1:   aa096451cf8ea2ffd1957f8fd93267b67653fe91
SHA-256: 8819064d64177eef477df6aa2ffaf89fd1b3664fc114e3aa410ab37fa917c7e6

Full notes: docs/releases/v0.5.0.md · Changelog: CHANGELOG.md