| @@ -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 | 
| @@ -2,11 +2,11 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace PayumTW\Allpay; | 
| 4 | 4 | |
| 5 | -use Exception; | |
| 6 | -use DeviceType; | |
| 7 | -use InvoiceState; | |
| 8 | 5 | use Detection\MobileDetect; | 
| 6 | +use DeviceType; | |
| 7 | +use Exception; | |
| 9 | 8 | use Http\Message\MessageFactory; | 
| 9 | +use InvoiceState; | |
| 10 | 10 | use PayumTW\Allpay\Sdk\AllInOne; | 
| 11 | 11 | use Payum\Core\HttpClientInterface; | 
| 12 | 12 | |
| @@ -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(); |