Comments (15)
这样应该是没有对的。复制Cookie:后面所有的字符。你是复制的哪个截图看看。
from chenpay.
from chenpay.
from chenpay.
test.php就以下這點內容
0.01, 'time' => time() + 3 * 60]]; try { $run = (new ChenPay\WxPay($WxCookie))->getData('wx2.qq.com', $GLOBALS['syncKey'])->DataHandle(); $GLOBALS['syncKey'] = $run->syncKey; foreach ($data as $item) { $order = $run->DataContrast($item['fee'], $item['time']); if ($order) echo $order . "订单有效!\n"; unset($order, $item);// 摧毁变量防止内存溢出 } echo $GLOBALS['WxSum'] . "次运行\n"; $GLOBALS['WxSum']++; } catch (\ChenPay\PayException\PayException $e) { echo $e->getMessage() . "\n"; unset($e);// 摧毁变量防止内存溢出 } unset($run, $data);// 摧毁变量防止内存溢出 });from chenpay.
from chenpay.
怎麼複製的內容粘貼上不全
from chenpay.
截图看看 test.php
from chenpay.
from chenpay.
空格怎么这么多。感觉是这个问题 你用什么编辑器的
from chenpay.
其實沒那麼多空格,我有點多此一舉了,粘貼到文本再截圖的。現在放另一組圖。
from chenpay.
wx2.qq.com 改成wx.qq.com
from chenpay.
謝謝老大,這樣就解決了。
[root@host test]# php test.php
1次运行
2次运行
3次运行
4次运行
5次运行
6次运行
7次运行
不過現在點網頁上的充值顯示這個狀態。
from chenpay.
这个没配置对吧 仔细看readme
from chenpay.
好的,我先自己研究下,有困難在來麻煩你。
from chenpay.
@vggh66 运行之后本地如何访问啊 谢谢可以告知下么
from chenpay.
Related Issues (20)
- 已本地运行成功,如何访问程序呢? HOT 6
- 不支持设置金额 HOT 1
- 似乎,个人版的支付宝不能用,要申请商家才行... HOT 1
- getData一直获取不到新的消息 HOT 2
- 支付后订单没有自动完成,用户金额没有增加
- 试用了一下,发现微信支付和支付宝都没有检测到付款 HOT 3
- 支付宝订单接口返回乱码 HOT 3
- 可否提供GuzzleHttp文件? HOT 1
- how can i install it? HOT 1
- PHP 5.6版本可以用吗? HOT 1
- dalao 可以适配whmcs吗 HOT 1
- 联系方式留个
- 你好,联系方式给一下
- 能请教一下,测试DEMO的支付宝唤起是怎么弄的么?
- 为什么提交多了,就不返回数据了!
- 缺少API文件
- 微信支付失效了?
- 个人免签支付,小微商户(比payjs便宜)
- 云免签 - 真正的个人免签约支付接口,不用挂机也是即时到帐,只需个人微信或者支付宝账号即可自动化收款! HOT 2
- 这个项目好长时间不维护了,推荐一个真正的个人支付接口 HOT 1
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 chenpay.