Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
H
haiyen-payment
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Giang Tran
  • haiyen-payment
  • Repository

Switch branch/tag
  • haiyen-payment
  • docs
  • description.md
Find file
BlameHistoryPermalink
  • tdgiang's avatar
    Fix Sổ Bán Lẻ sale_status mapping: 1=success, 4=failed (was hardcoded to 4) · 37289e81
    Correction to the earlier assumption (based on an ad-hoc test during
    brainstorming) that sale_status=4 meant "paid". The actual mapping is
    1=giao dịch thành công, 4=giao dịch thất bại - confirmed directly by the
    user with real curl examples for both outcomes.
    
    SobanleClient.changeSaleStatus now takes the status as an explicit
    parameter instead of hardcoding 4. epayIPN now calls it for BOTH payment
    outcomes (previously only on success), sending 1 or 4 to match the real
    result - so a failed/refunded transaction's Sổ Bán Lẻ order also gets
    marked accordingly instead of being silently left at "chờ xử lý" forever.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_017KPzWwuTEeX2vXGXvyGn4q
    tdgiang authored Sep 03, 2026
    37289e81
description.md 9.87 KB
EditWeb IDE
×

Replace description.md

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.