Skip to content

Commit a1d8b85

Browse files
committed
update http method
1 parent 87658ff commit a1d8b85

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "lokielse/omnipay-alipay",
2+
"name": "laraveler/omnipay-alipay",
33
"type": "library",
44
"description": "Alipay gateway for Omnipay payment processing library",
55
"keywords": [
@@ -11,12 +11,12 @@
1111
"payment",
1212
"purchase"
1313
],
14-
"homepage": "https://github.com/lokielse/omnipay-alipay",
14+
"homepage": "https://github.com/laraveler/omnipay-alipay",
1515
"license": "MIT",
1616
"authors": [
1717
{
18-
"name": "Loki Else",
19-
"email": "lokielse@gmail.com"
18+
"name": "Mr.Awei",
19+
"email": "515242609@qq.com"
2020
}
2121
],
2222
"autoload": {

src/Requests/LegacyRefundNoPwdRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function sendData($data)
237237
{
238238
$url = sprintf('%s?%s', $this->getEndpoint(), http_build_query($this->getData()));
239239

240-
$result = $this->httpClient->get($url)->send()->getBody();
240+
$result = $this->httpClient->request('get',$url)->getBody();
241241

242242
$xml = simplexml_load_string($result);
243243
$json = json_encode($xml);

0 commit comments

Comments
 (0)