Skip to content

Comments

feat: closed-loop Square payment validation#10

Merged
gudnuf merged 1 commit intodevfrom
square-closed-loop
Feb 20, 2026
Merged

feat: closed-loop Square payment validation#10
gudnuf merged 1 commit intodevfrom
square-closed-loop

Conversation

@gudnuf
Copy link

@gudnuf gudnuf commented Feb 11, 2026

Summary

  • Adds cdk-agicash crate that wraps the Strike backend to restrict melts to invoices from a configured Square merchant
  • Adds PaymentNotAllowed error code (20739) to cdk-common so rejected invoices return a user-facing message: "This ecash can only be spent at {store_name}"
  • Integrates into cdk-mintd behind the agicash feature flag
  • Updates Dockerfiles to build with --features agicash

@gudnuf gudnuf force-pushed the square-closed-loop branch 2 times, most recently from 6236d49 to 6a5a4ab Compare February 19, 2026 02:08
@gudnuf gudnuf changed the base branch from strike-backend to dev February 19, 2026 22:51
@gudnuf gudnuf force-pushed the square-closed-loop branch from 6a5a4ab to 3e17daa Compare February 20, 2026 00:34
@gudnuf gudnuf merged commit 15fb50d into dev Feb 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant