Skip to content

Commit

Permalink
fixed handling card number in Mellat driver
Browse files Browse the repository at this point in the history
  • Loading branch information
samuraee committed Oct 31, 2023
1 parent ee45f5e commit d161abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/MellatProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function verifyTransaction(): bool
throw new Exception(sprintf('shaparak::mellat.error_%s', $response->return));
}

$this->getTransaction()->setCardNumber($this->getParameters('CardHolderInfo'));
$this->getTransaction()->setCardNumber($this->getParameters('CardHolderPan'));
$this->getTransaction()->setVerified(true); // save()

return true;
Expand Down

0 comments on commit d161abe

Please sign in to comment.