|
| | initAuthTokentRequest (int $merchantId, int $productId, string $merchantKey, array $otherConfigurations, null|bool $production, null|string $baseUrl) |
| | Initializes an authentication token request with necessary parameters.
|
| |
| | requestCurl (string $url, string $requestJson, array $headers) |
| |
| | sendRequest () |
| | Sends the authentication token request to the server.
|
| |
| | getOtherConfigurations () |
| | Gets the payment request data.
|
| |
| | getResponse () |
| | Retrieves the response of the refund request.
|
| |
◆ getOtherConfigurations()
| getOtherConfigurations |
( |
| ) |
|
Gets the payment request data.
- Returns
- array Returns payment request data array.
◆ getResponse()
Retrieves the response of the refund request.
- Returns
- Response|null The response or null if not set.
◆ initAuthTokentRequest()
| initAuthTokentRequest |
( |
int |
$merchantId, |
|
|
int |
$productId, |
|
|
string |
$merchantKey, |
|
|
array |
$otherConfigurations, |
|
|
null|bool |
$production, |
|
|
null|string |
$baseUrl |
|
) |
| |
Initializes an authentication token request with necessary parameters.
- Parameters
-
| int | $merchantId | Merchant ID. |
| int | $productId | Product ID. |
| string | $merchantKey | Merchant key. |
| array | $otherConfigurations | Additional configurations. |
| null | bool | $production | Production mode flag. |
| null | string | $baseUrl | Base URL for the request. |
◆ requestCurl()
| requestCurl |
( |
string |
$url, |
|
|
string |
$requestJson, |
|
|
array |
$headers |
|
) |
| |
◆ sendRequest()
Sends the authentication token request to the server.
- Returns
- bool True if the request was successful, false otherwise.
- Exceptions
-
| NetworkException | If a network error occurs during the request. |
◆ $authToken
◆ $base64Iv
◆ $encryptedRequest
| string $encryptedRequest = null |
◆ $formattedRequest
| string $formattedRequest = null |
◆ $httpQuery
◆ $iv
◆ $merchantId
◆ $merchantKey
| string $merchantKey = null |
◆ $merchantPassword
| string $merchantPassword = '' |
◆ $productId
◆ $redirectUrl
| string $redirectUrl = null |
◆ $response
| null string bool $response = null |
◆ $signature
The documentation for this class was generated from the following file: