Class to handle Quix Charge Requests.
More...
|
| | initChargeRequest (int $merchantId, int $productId, ?string $merchantKey, array $otherConfigurations, bool|null $production, string|null $baseUrl) |
| | Initializes a Quix charge request with necessary parameters.
|
| |
| | requestCurl (string $url, string $requestJson, array $headers) |
| |
| | sendRequest () |
| | Sends the Quix charge request to the server.
|
| |
| | getOtherConfigurations () |
| | Gets the payment request data.
|
| |
| | getResponse () |
| | Retrieves the response of the Quix charge request.
|
| |
Class to handle Quix Charge Requests.
◆ getOtherConfigurations()
| getOtherConfigurations |
( |
| ) |
|
Gets the payment request data.
- Returns
- array Returns payment request data array.
◆ getResponse()
Retrieves the response of the Quix charge request.
- Returns
- ResponseQuix|null The response or null if not set.
◆ initChargeRequest()
| initChargeRequest |
( |
int |
$merchantId, |
|
|
int |
$productId, |
|
|
?string |
$merchantKey, |
|
|
array |
$otherConfigurations, |
|
|
bool|null |
$production, |
|
|
string|null |
$baseUrl |
|
) |
| |
Initializes a Quix charge request with necessary parameters.
- Parameters
-
| int | $merchantId | Merchant ID. |
| int | $productId | Product ID. |
| string | $merchantKey | Merchant key. |
| array | $otherConfigurations | Additional configurations. |
| bool | null | $production | Production mode flag. |
| string | null | $baseUrl | Base URL for the request. |
◆ requestCurl()
| requestCurl |
( |
string |
$url, |
|
|
string |
$requestJson, |
|
|
array |
$headers |
|
) |
| |
◆ sendRequest()
Sends the Quix charge request to the server.
- Returns
- bool True if the request was successful, false otherwise.
- Exceptions
-
| NetworkException | If a network error occurs during the request. |
◆ $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
◆ $signature
The documentation for this class was generated from the following file: