@@ -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 |
@@ -572,6 +572,9 @@ |
||
| 572 | 572 | abstract class Aio |
| 573 | 573 | { |
| 574 | 574 | |
| 575 | + /** |
|
| 576 | + * @param string $ServiceURL |
|
| 577 | + */ |
|
| 575 | 578 | protected static function ServerPost($parameters ,$ServiceURL) { |
| 576 | 579 | $ch = curl_init(); |
| 577 | 580 | |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace PayumTW\Allpay; |
| 4 | 4 | |
| 5 | -use Exception; |
|
| 6 | -use Detection\MobileDetect; |
|
| 7 | -use Http\Message\MessageFactory; |
|
| 8 | -use Payum\Core\HttpClientInterface; |
|
| 9 | 5 | use AllInOne; |
| 6 | +use Detection\MobileDetect; |
|
| 10 | 7 | use DeviceType; |
| 8 | +use Exception; |
|
| 9 | +use Http\Message\MessageFactory; |
|
| 11 | 10 | use InvoiceState; |
| 11 | +use Payum\Core\HttpClientInterface; |
|
| 12 | 12 | |
| 13 | 13 | class Api |
| 14 | 14 | { |