Skip to content

Commit

Permalink
Fixed: terms (#13)
Browse files Browse the repository at this point in the history
Fixed: terms
  • Loading branch information
JanGalek authored and ondraondra81 committed Jun 6, 2018
1 parent 96c07cc commit 214924e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Pixidos/GPWebPay/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ public function getRequestUrl(): string
*/
public function createResponse(array $params): IResponse
{
$operation = $params['OPERATION'] ?: '';
$ordernumber = $params['ORDERNUMBER'] ?: '';
$merordernum = $params['MERORDERNUM'] ?: null;
$md = $params['MD'] ?: null;
$prcode = (int) $params['PRCODE'] ?: 1000;
$srcode = (int) $params['SRCODE'] ?: 0;
$resulttext = $params['RESULTTEXT'] ?: null;
$digest = $params['DIGEST'] ?: '';
$digest1 = $params['DIGEST1'] ?: '';
$operation = $params['OPERATION'] ?? '';
$ordernumber = $params['ORDERNUMBER'] ?? '';
$merordernum = $params['MERORDERNUM'] ?? null;
$md = $params['MD'] ?? null;
$prcode = $params['PRCODE'] ?? 1000;
$srcode = $params['SRCODE'] ?? 0;
$resulttext = $params['RESULTTEXT'] ?? null;
$digest = $params['DIGEST'] ?? '';
$digest1 = $params['DIGEST1'] ?? '';

$key = explode('|', $md, 2);

Expand All @@ -123,8 +123,8 @@ public function createResponse(array $params): IResponse
$ordernumber,
$merordernum,
$md,
$prcode,
$srcode,
(int) $prcode,
(int) $srcode,
$resulttext,
$digest,
$digest1,
Expand Down

0 comments on commit 214924e

Please sign in to comment.