Skip to content

fix: improve EasyPay QueryOrder payment status detection (fixes #2958)#2981

Open
mshzy wants to merge 1 commit into
Wei-Shaw:mainfrom
mshzy:fix/easypay-query-trade-status
Open

fix: improve EasyPay QueryOrder payment status detection (fixes #2958)#2981
mshzy wants to merge 1 commit into
Wei-Shaw:mainfrom
mshzy:fix/easypay-query-trade-status

Conversation

@mshzy
Copy link
Copy Markdown

@mshzy mshzy commented Jun 2, 2026

fix: improve EasyPay QueryOrder payment status detection (fixes #2958)

  • Add trade_status field parsing with TRADE_SUCCESS priority
  • Support EasyPay implementations that wrap response in 'data' field
  • Fall back to status==1 only when trade_status is not present
  • Prevents incorrectly marking unpaid/failed orders as paid

…haw#2958)

- Add trade_status field parsing with TRADE_SUCCESS priority
- Support EasyPay implementations that wrap response in 'data' field  
- Fall back to status==1 only when trade_status is not present
- Prevents incorrectly marking unpaid/failed orders as paid
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@mshzy
Copy link
Copy Markdown
Author

mshzy commented Jun 2, 2026

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jun 2, 2026
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.

[Bug] EasyPay 查询订单时可能把未支付/查询失败订单误判为已支付

1 participant