EflClient
restoreCustomerSessionByOrderId
Restores customer session based on the pay-by-link order identifier.
restoreCustomerSessionByOrderId() restores a customer session using a pay‑by‑link order identifier.
It wraps RestorationApiClient::restoreCustomerSession() and maps the response to AuthenticationRestorationResult.
All methods on EflClient may throw:
ApiException– when the EFL API returns an error response.HttpException– when the HTTP transport fails.
Method signature
public function restoreCustomerSessionByOrderId(
string $payByLinkOrderId
): AuthenticationRestorationResult
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
payByLinkOrderId | string | Yes | Order identifier used in pay‑by‑link. |
Return value
- Type:
AuthenticationRestorationResult– restoration result.