Method | 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 |
Method | Description | |
---|---|---|
sendRequest ( array $data, string $method ) : boolean | mixed | Sends a request to the server |
public getOrderIdFromHash ( CHttpRequest $request ) : string | boolean | ||
$request | CHttpRequest | |
return | string | boolean |
public getPaymentStatus ( CHttpRequest $request ) : string | boolean | ||
$request | CHttpRequest | |
return | string | boolean |
public getSessionId ( Order $order ) : string | boolean | ||
$order | Order | |
return | string | boolean |