Comments (17)
感谢您的支持!
请问香港那边的微信开发文档在哪里可以看到?
from pay.
現在來說,都沒有公開的,都是微信內部發 doc 過來。而且現在只出了刷卡支付,掃碼和公眾號的也沒那麼快可以有。
WeChat Pay HK 刷卡支付商户开发者文档.doc.zip
你看看吧,我項目已經把這塊接入了。但可以吐糟的是 response data 跟國內錢包有點不一樣.
from pay.
@yansongda 對於這個有想法嗎?寫我是寫好了,就是看您對 namespace convention 要怎麼處理,然後我再發 PR
from pay.
刚刚初步看了下文档,发现其实应该就只有 endpoint 不一样,其它应该都差不多的吧?不知您怎么看。
如果真是这样,其实就很好处理了,给多一个 HKEndpoint,调用的时候默认是大陆的,只有参数中有 hk 标识时才选用 HKEndpoint。
不知您怎么看?
from pay.
您說的是類似這樣嗎?
$config = [
'wechat' => [
'wallet_region' => 'hk', // default cn.
'app_id' => '',
'mch_id' => '',
// 'sub_mch_id' => '',
'key' => '',
'cert_client' => '',
'cert_key' => '',
'notify_url' => '',
],
];
$pay = new Pay($config);
from pay.
Yes, something like that~
不过建议 wallet_region 参数可选,如果不设置,默认为 cn。
from pay.
行,我還得想一下 hk wallet 的 endpoints 要怎麼處理比較好。
from pay.
merged!
测试一段儿时间后将发布新版本。
感谢您的支持!
from pay.
剛剛那個PR沒香港錢包,過一兩天我會把香港錢包的支持再發 PR
from pay.
v2.0.0 版本已经增加了 香港 region。目前已经开发完成,版本号为 v2.0.0-beta
,您可以试用。
感谢您的支持!
from pay.
如果我沒看錯的話,那應該只是大陸錢包在東南亞的endpoint吧。
香港錢包的 endpoint 是 https://mchapi.wechatpay.com.hk/cgi-bin
。
而 pos
的 path 是 ia_mch_qr_auth.cgi
from pay.
额,我看您提交的 PR 并未包含这些,您3楼给的那个文档也未包含。请问有具体的文档吗?
from pay.
我未使用过您说的 香港钱包,不过现在从APPStore下载的应该都是一个微信吧,只是语言不同而已。请问您说的 香港钱包 具体使用在哪里?
wechatpay.com.hk 也是访问不了的。
from pay.
三樓文檔有寫
而香港錢包可以在微信這裡設置,
至於 wechatpay.com.hk
只能用子域名訪問
from pay.
请问目前使用 香港钱包 的业务场景多吗?使用频率多吗?
from pay.
暫時只有 pos
模式,基本場景跟大陸錢包差不多
from pay.
I'm closing it coz wechat HK wallet have combined into CN wallet's API.
from pay.
Related Issues (20)
- v3版本报错Config Error HOT 1
- 微信下载账单问题 HOT 3
- change: shortcut 完整标明各个插件,不使用 commonPlugin
- change(internal): 按 场景/api 对各个插件进行分类
- change(breaking): 统一查询为 query
- release: v3.6.0
- 新增需求:银联条码支付 HOT 2
- change(internal): error constant 命名规则统一
- feat: 新增 InvalidSignException
- change(internal): DirectionInterface 方法由 `parse` 改为 `guide`
- change: 查询API方法由 `find` 改为 `query`,同时参数只支持 array
- change(internal): shortcut 从 plugin 文件夹独立出来
- change: close 的 API 参数只支持 array,不再支持 string
- change: cancel 的 API 参数只支持 array,不再支持 string
- change: 手机网站支付快捷方式由 `wap` 改为 `h5`
- 唤起支付和下载验签都会报同样的问题decrypt_wechat_resource_aes_256_gcm HOT 4
- feat: 增加小程序虚拟支付签名、用户签名方法
- 希望添加通联支付的支持
- v3版本没有\Psr\EventDispatcher\EventDispatcherInterface这个类,后提示config error HOT 3
- feat: 增加 http factory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pay.