| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…fiedOrderV3GlobalRequest Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
…umentation Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
|
GlobalTradeTypeEnum的链接地址有误, 不是 /global/v3/transactions/native 而且应该是 https://apihk.mch.weixin.qq.com/v3/global/transactions/mweb |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR adds comprehensive support for overseas WeChat Pay (境外微信支付) to address the limitations mentioned in the issue where new overseas merchant accounts can only use the new global API endpoints.
Problem
The existing createOrderV3 method only supports domestic WeChat Pay endpoints and is missing required parameters for overseas payments:
Solution
Added new classes and methods specifically for overseas WeChat Pay while maintaining full backward compatibility:
New Classes
GlobalTradeTypeEnum - Enum for overseas payment types with global endpoints:
WxPayUnifiedOrderV3GlobalRequest - Extended request class with overseas-specific fields:
New API Methods
Usage Example
Key Features
Testing
Fixes #3618.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.