lokielse / omnipay-alipay

Alipay driver for the Omnipay PHP payment processing library
MIT License
565 stars 155 forks source link

v3.x Upgrade Guide #127

Open lokielse opened 6 years ago

lokielse commented 6 years ago

Upgrade apps from 2.x to 3.x

Upgrade Gateways from 2.x to 3.x

The primary difference is the HTTP Client. We are now using HTTPlug (http://httplug.io/) but rely on our own interface.

Breaking

Note: Prior to stable release, the goal is to migrate to PSR-18, once completed. This will not change the gateway implementations.


总结:

lokielse commented 6 years ago

相关问题尽量在此反馈。

farmercode commented 6 years ago

ok,已经使用最新版本的master了"lokielse/omnipay-alipay" : "dev-master",问题已经完美解决!

php-cpm commented 6 years ago

可以可以,点个赞,就是omnipay/common v3 需要php 7.1以上版本坑了,我只能继续用v3.0-alpha.1的omnipay/common 了

farmercode commented 6 years ago

如果需要固定库的版本,可以将dev-master修改为3.0-alpha.1,这是今天作者的努力成果。点个👍

yangjiecao commented 6 years ago

https://github.com/lokielse/omnipay-alipay/blob/c6aaab21170cd959290fe79d9011b6b4e3789e72/src/Requests/LegacyVerifyNotifyIdRequest.php#L49

需要修改成

$response = $this->httpClient->request('GET', $url, [])->getBody();
lokielse commented 6 years ago

@farmercode 感谢反馈,已修复!

Jackfinal commented 6 years ago

php7.1.17 composer 安装出现如下报错 laravel5.6 `Your requirements could not be resolved to an installable set of packages.

Problem 1

xiaokus commented 6 years ago

pc 网站支付 回调 $response = $request->send(); 出错

laraveler commented 6 years ago

@xiaokus 有没有安装guzzle/guzzle包

xiaokus commented 6 years ago

安装了 支付成功了 就回调到这里就报错

successgo commented 6 years ago

@xiaokus 报错内容贴一下

maxsky commented 5 years ago

发邮件给你了,瞧一瞧呀...PR 麻烦看看呢。