Skip to content

Commit

Permalink
Fixed up a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sudiptpa committed Dec 6, 2022
1 parent deb97b6 commit e0eac65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Message/DirectPostAbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function generateFingerprint(array $data)
$data['EPS_TIMESTAMP'],
];

if ($this->hasEMV3DSEnabled()) {
if ($this->getHasEMV3DSEnabled()) {
$hashable = array_merge(
$hashable,
[$data['EPS_ORDERID']]
Expand Down Expand Up @@ -79,7 +79,7 @@ public function getBaseData()
$data['EPS_EMAILADDRESS'] = $emailAddress;
}

if ($this->hasEMV3DSEnabled()) {
if ($this->getHasEMV3DSEnabled()) {
$data['EPS_ORDERID'] = $this->getTransactionReference();

$data['EPS_TXNTYPE'] = TransactionType::PAYMENT_3DS_EMV3DS;
Expand Down
5 changes: 0 additions & 5 deletions src/Message/UnionPayCompletePurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
*/
class UnionPayCompletePurchaseRequest extends DirectPostCompletePurchaseRequest
{
/**
* @param $data
*
* @return mixed
*/
public function sendData($data)
{
$this->response = new UnionPayCompletePurchaseResponse($this, $data);
Expand Down

0 comments on commit e0eac65

Please sign in to comment.