.1502411993651747:a4b9c88ce0b0990e10e251d1fa9d5087_69f76878dc48703ced6d2d21.69f7687edc48703ced6d2d23.69f7687db10cda707e2c8728:Trae CN.T(2026/5/3 23:23:42)#19
Open
lovely90133 wants to merge 3 commits into
Conversation
添加支付状态和订单状态的优先级检查,确保状态更新符合业务规则 扩展支付状态枚举类型,支持更多支付状态 添加webhook事件表,实现事件处理幂等性 更新测试用例,覆盖状态转换和幂等处理场景
修复订单状态优先级中'cancelled'状态的顺序问题 优化支付事件处理流程,避免并发处理同一事件
添加对并发处理、已处理事件和订单状态保护的测试 完善支付状态转换和未处理事件类型的测试覆盖
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.
test(webhooks): 添加Stripe webhook处理逻辑的测试用例
添加对并发处理、已处理事件和订单状态保护的测试
完善支付状态转换和未处理事件类型的测试覆盖