Skip to content

Commit

Permalink
Fix: Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
BeBlood committed Oct 5, 2020
1 parent aead334 commit f987899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gateway/EurekaPaymentGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ public function getResponse(
;

if ('0' !== $request->request->get('returnCode')) {
$gatewayResponse->setMessage(EurekaStatusCode::getStatusMessage($returnParams['responseCode']));
$gatewayResponse->setMessage(EurekaStatusCode::getStatusMessage($request->request->get('returnCode')));

if ('6' === $returnParams['responseCode']) {
if ('6' === $request->request->get('returnCode')) {
$gatewayResponse->setStatus(PaymentStatus::STATUS_CANCELED);
}

Expand Down

0 comments on commit f987899

Please sign in to comment.