站点工具

New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners". upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners". upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners". upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort". upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort". upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort". upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort". upgrade now! [48.2] (what's this?)
Hotfix release available fixing authad issues: 2016-06-26a "Elenor of Tsort". upgrade now! [48.1] (what's this?)
New release available: 2016-06-26 "Elenor of Tsort". upgrade now! [48] (what's this?)
Hotfix release available: 2015-08-10a "Detritus". upgrade now! [47.1] (what's this?)
New release available: 2015-08-10 "Detritus". upgrade now! [47] (what's this?)
Hotfix release available: 2014-09-29d "Hrun". upgrade now! [46.4] (what's this?)
Hotfix release available: 2014-09-29c "Hrun". upgrade now! [46.3] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-09-29b "Hrun". upgrade now! [46.2] (what's this?)
Hotfix release available: 2014-09-29a "Hrun". upgrade now! [46.1] (what's this?)
New release available: 2014-09-29 "Hrun". upgrade now! [46] (what's this?)
Hotfix release available: 2014-05-05e "Ponder Stibbons". upgrade now! [44.5] (what's this?)
Hotfix release available: 2014-05-05d "Ponder Stibbons". upgrade now! [44.4] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-05-05c "Ponder Stibbons". upgrade now! [44.3] (what's this?)
Security Hotfix 2014-05-05b to prevent zero byte attacks on external auth systems is available. upgrade now! [44.2] (what's this?)
Security Hotfix 2014-05-05a for Issue 765 available. upgrade now! [44.1] (what's this?)

weixin_pay

热拍买家订单支付接口(微信支付)

1、Webview中的网页通过协议调用原生APP微信支付

repai://weixin_pay/orderid/15位订单号

2、原生APP根据订单号后台请求服务器获取预支付订单

输入参数说明:

  • orderid 【热拍订单号,由热拍购物车生成】
  • pay_gateway 【支付网关,微信支付为4,其他网关为:1为热币支付,2为支付宝WAP网页支付,3为支付宝客户端支付,4为微信支付,5为微博支付,6为中信银行异度支付】
  • appkey 【热拍买家版HTML5为100001,iOS为100002,Android为100003】

输出参数说明:

{
"appid": "wxcf6480a0538488af",
"noncestr": "33a5f850895e4cacb7cfb3b04f99b7cb",
"package": "Sign=WXPay",
"partnerid": "1219969101",
"prepayid": "110100000014082383e8b48e8de7df32",
"retcode": 0,
"retmsg": "ok",
"sign": "054f9c9f92d7ae055223b793014d51c9ee1174c3",
"timestamp": 1408723962
}
  • retcode 【值为0时表示预支付订单信息生成成功,其他值表示生成失败】

3、原生APP调起微信支付

《微信支付接口上手指南》中的“一、获取 access_token”、“二、生成预支付订单”两个步骤由服务器完成,即上面第2条中返回的内容。客户端从“三、调起微信支付”开始开发。

微信支付文档及SDK下载:

https://open.weixin.qq.com/cgi-bin/frame?t=resource/res_main_tmpl&target=res/app_wx_pay_ios&lang=zh_CN&token=c866272817b181a4e9157bc6cee9cea74976675c

http://wxpay.weixin.qq.com/doc/index.html

备注:开发阶段,无论购买的商品价格是多少,服务器端写死了价格为1分钱,便于调试。调用没问题后,改回正常价。

返回首页

weixin_pay.txt · 最后更改: 2014/09/02 18:35 由 106.2.171.114