fix: Harden PayGate v4 authority and relay flows - #83
Merged
Merged
Conversation
Phloraxx
force-pushed
the
fix/v4-focused-integration-20260906
branch
from
September 7, 2026 20:24
83b455b to
b8aaf5b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Focused PayGate v4 hardening, exact-amount payment matching, and final parser/code-quality cleanup.
Payment matching
trdependency; PayGate does not rely on merchant transaction-reference supportNotification trust / parsing
₹12.3-> 1230 paise,₹12.30-> 1230 paise).00amounts remain excluded from PayGate randomized-amount matching₹12.345,₹12.34.56, and₹12.34fooare rejected without prefix truncationRelay security
Storage / rollback
schema_migrationsremains at v4 so the previous v4 binary can reopen the database during rollbackstorage.Open()was exercised directly against an upgraded database and succeededVerification
Exact head:
28d44c331a887c083ffb54af92c55ba65eea949f34392894869)go vet, static analysis and Go vulnerability scan: PASSstorage.Open()rollback probe: PASS, schema remains 4.00reviewer finding independently adjudicated PASS 1.00No merge or production deployment is included in this PR verification.