@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace PayumTW\Allpay\Action\Api; |
4 | 4 | |
5 | 5 | use PayumTW\Allpay\Api; |
6 | -use Payum\Core\ApiAwareInterface; |
|
7 | 6 | use Payum\Core\Action\ActionInterface; |
7 | +use Payum\Core\ApiAwareInterface; |
|
8 | 8 | use Payum\Core\Exception\UnsupportedApiException; |
9 | 9 | |
10 | 10 | abstract class BaseApiAwareAction implements ActionInterface, ApiAwareInterface |
@@ -90,7 +90,6 @@ |
||
90 | 90 | * createTransaction. |
91 | 91 | * |
92 | 92 | * @param array $params |
93 | - * @param mixed $request |
|
94 | 93 | * |
95 | 94 | * @return array |
96 | 95 | */ |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace PayumTW\Allpay; |
4 | 4 | |
5 | -use Exception; |
|
6 | 5 | use Detection\MobileDetect; |
6 | +use Exception; |
|
7 | 7 | use Http\Message\MessageFactory; |
8 | -use Payum\Core\HttpClientInterface; |
|
9 | 8 | use PayumTW\Allpay\Bridge\Allpay\AllInOne; |
10 | 9 | use PayumTW\Allpay\Bridge\Allpay\DeviceType; |
11 | 10 | use PayumTW\Allpay\Bridge\Allpay\InvoiceState; |
11 | +use Payum\Core\HttpClientInterface; |
|
12 | 12 | |
13 | 13 | class Api |
14 | 14 | { |
@@ -550,6 +550,9 @@ |
||
550 | 550 | */ |
551 | 551 | abstract class Aio |
552 | 552 | { |
553 | + /** |
|
554 | + * @param string $ServiceURL |
|
555 | + */ |
|
553 | 556 | protected static function ServerPost($parameters, $ServiceURL) |
554 | 557 | { |
555 | 558 | $ch = curl_init(); |