Skip to content

Commit

Permalink
upd: add support for 3DS MIT transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailivanchev committed Jul 8, 2024
1 parent 2bcfb46 commit 5ba9fda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Message/AuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function getData(): array
'amount' => $this->getAmountInteger(),
'autoAuth' => 'true',
'panHash' => $this->getPanHash(),
'recurringType' => 'S',
'recurringType' => 'M',
'recurringTransactionType' => '1',
'description' => $this->getDescription(),
'orderDescription' => $this->getDescription(),
];
Expand Down
2 changes: 2 additions & 0 deletions src/Message/CreateCardRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public function getData(): array
'orderNumber' => $this->getTransactionId(),
'language' => $this->getLanguage(),
'redirectUrl' => $this->getReturnUrl(),
'force3DSecure' => 'true',
'recurringType' => 'S',
];
}

Expand Down
3 changes: 2 additions & 1 deletion src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function getData(): array
'amount' => $this->getAmountInteger(),
'autoSale' => 'true',
'panHash' => $this->getPanHash(),
'recurringType' => 'S',
'recurringType' => 'M',
'recurringTransactionType' => '1',
'description' => $this->getDescription(),
'orderDescription' => $this->getDescription(),
];
Expand Down

0 comments on commit 5ba9fda

Please sign in to comment.