Fatal error: Declaration of MN\Invoicing\API\ZarinpalGateway::request() must be compatible with MN\Invoicing\API\PaymentGateway::request(array $data) in /home/vcp2395/public_html/src/MN/Invoicing/API/ZarinpalGateway.php on line 14
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Declaration of MN\Invoicing\API\ZarinpalGateway::request() must be compatible with MN\Invoicing\API\PaymentGateway::request(array $data) Whoops\Exception\ErrorException thrown with message "Declaration of MN\Invoicing\API\ZarinpalGateway::request() must be compatible with MN\Invoicing\API\PaymentGateway::request(array $data)" Stacktrace: #0 Whoops\Exception\ErrorException in /home/vcp2395/public_html/src/MN/Invoicing/API/ZarinpalGateway.php:14
Stack frames (1):
0 Whoops\Exception\ErrorException
…/­src/­MN/­Invoicing/­API/­ZarinpalGateway.php14
/home/vcp2395/public_html/src/MN/Invoicing/API/ZarinpalGateway.php
use Exception;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\RequestException;
use SoapClient;

/**
 * Class ZarinpalGateway
 */
class ZarinpalGateway extends PaymentGateway
{
    const SOAP_DRIVER = 'SOAP';

    const REST_DRIVER = 'REST';

    const WSDL_URL = 'https://www.zarinpal.com/pg/services/WebGate/wsdl';

    const REST_REQUEST_URL = 'https://www.zarinpal.com/pg/rest/WebGate/PaymentRequest.json';

    const REST_VERIFY_URL = 'https://www.zarinpal.com/pg/rest/WebGate/PaymentVerification.json';

Arguments
  1. "Declaration of MN\Invoicing\API\ZarinpalGateway::request() must be compatible with MN\Invoicing\API\PaymentGateway::request(array $data)"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"x-gzip, gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"en-us,en-gb,en;q=0.7,*;q=0.3"
HTTP_HOST
"24web.ir"
HTTP_USER_AGENT
"CCBot/2.0 (http://commoncrawl.org/faq/)"
DOCUMENT_ROOT
"/home/vcp2395/public_html"
REMOTE_ADDR
"54.198.62.217"
REMOTE_PORT
"38274"
SERVER_ADDR
"148.251.178.135"
SERVER_NAME
"24web.ir"
SERVER_ADMIN
"webmaster@24web.ir"
SERVER_PORT
"80"
REQUEST_URI
"/"
SCRIPT_FILENAME
"/home/vcp2395/public_html/index.php"
QUERY_STRING
""
SCRIPT_URI
"http://24web.ir/"
SCRIPT_URL
"/"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1472013890.7
REQUEST_TIME
1472013890
argv
[]
argc
0
DATABASE
"vcp2395_invoicing"
DB_USER
"vcp2395_mohamad"
DB_PASS
"!Twq18RZNm!z"
Key Value
DATABASE
"vcp2395_invoicing"
DB_USER
"vcp2395_mohamad"
DB_PASS
"!Twq18RZNm!z"
0. Whoops\Handler\PrettyPageHandler