Méthode | Description | |
---|---|---|
__construct ( Payment $payment ) | ||
getOrderIdFromHash ( CHttpRequest $request ) : string | boolean | Gets the order ID from hash | |
getPaymentStatus ( CHttpRequest $request ) : string | boolean | Gets the status of the current payment | |
getSessionId ( Order $order ) : string | boolean | Starts a payment session and returns its ID | |
getUrl ( string $method ) : string | Generate url |
Méthode | Description | |
---|---|---|
sendRequest ( array $data, string $method ) : boolean | mixed | Sends a request to the server |
public getOrderIdFromHash ( CHttpRequest $request ) : string | boolean | ||
$request | CHttpRequest | |
Résultat | string | boolean |
public getPaymentStatus ( CHttpRequest $request ) : string | boolean | ||
$request | CHttpRequest | |
Résultat | string | boolean |
public getSessionId ( Order $order ) : string | boolean | ||
$order | Order | |
Résultat | string | boolean |