Skip to content

[WIP] Add support for China Telecom Yipay in PHP - #1134

Draft
yansongda with Copilot wants to merge 2 commits into
masterfrom
copilot/add-yipay-support
Draft

[WIP] Add support for China Telecom Yipay in PHP#1134
yansongda with Copilot wants to merge 2 commits into
masterfrom
copilot/add-yipay-support

Conversation

Copilot AI commented Mar 25, 2026

Copy link
Copy Markdown
Contributor
  • Add exception constants for BestPay in src/Exception/Exception.php
  • Add get_bestpay_url() and verify_bestpay_sign() helper functions in src/Functions.php
  • Create src/Provider/Bestpay.php provider class
  • Create src/Service/BestpayServiceProvider.php
  • Create src/Plugin/Bestpay/V1/StartPlugin.php
  • Create src/Plugin/Bestpay/V1/AddPayloadSignPlugin.php
  • Create src/Plugin/Bestpay/V1/AddRadarPlugin.php
  • Create src/Plugin/Bestpay/V1/ResponsePlugin.php
  • Create src/Plugin/Bestpay/V1/CallbackPlugin.php
  • Create src/Plugin/Bestpay/V1/Pay/Web/PayPlugin.php
  • Create src/Plugin/Bestpay/V1/Pay/Scan/PayPlugin.php
  • Create src/Plugin/Bestpay/V1/Pay/QueryPlugin.php
  • Create src/Plugin/Bestpay/V1/Pay/RefundPlugin.php
  • Create src/Shortcut/Bestpay/WebShortcut.php
  • Create src/Shortcut/Bestpay/ScanShortcut.php
  • Create src/Shortcut/Bestpay/QueryShortcut.php
  • Create src/Shortcut/Bestpay/RefundShortcut.php
  • Register BestpayServiceProvider in src/Pay.php
  • Add BestPay config to tests/TestCase.php
  • Add tests for all plugins, provider, and shortcuts
  • Run composer test, composer cs-fix, composer analyse and fix any issues
Original prompt

This section details on the original issue you should resolve

<issue_title>大佬能不能增加中国电信的翼支付</issue_title>
<issue_description>电信的翼支付文档太少了,找不到对应的PHP的SDK,官网只提供了Java的demo根本看不懂
https://render.bestpay.cn/open-developers/index.html#/documentCenterLayout/accessProcess</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 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.

@netlify

netlify Bot commented Mar 25, 2026

Copy link
Copy Markdown

Deploy Preview for pay-yansongda canceled.

Name Link
🔨 Latest commit 56069d6
🔍 Latest deploy log https://app.netlify.com/projects/pay-yansongda/deploys/69c35292b6f9580008e971ec

Co-authored-by: yansongda <11869114+yansongda@users.noreply.github.com>
Agent-Logs-Url: https://github.com/yansongda/pay/sessions/483f836e-14bc-497b-aef2-11d948454251
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.

大佬能不能增加中国电信的翼支付

2 participants