Skip to content

Commit

Permalink
remove klarnakp check
Browse files Browse the repository at this point in the history
  • Loading branch information
vegimcarkaxhija committed Jan 30, 2025
1 parent ee3be45 commit 31c3f64
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Model/Push.php
Original file line number Diff line number Diff line change
Expand Up @@ -2136,12 +2136,12 @@ private function processSucceededPushAuth($payment)
];

if (in_array($payment->getMethod(), $authPaymentMethods)) {
if (
(
!empty($this->postData['brq_transaction_type'])
&& in_array($this->postData['brq_transaction_type'], ['I038', 'I880'])
)
&& !empty($this->postData['brq_statuscode'])
if ((($payment->getMethod() == Klarnakp::PAYMENT_METHOD_CODE)
|| (
!empty($this->postData['brq_transaction_type'])
&& in_array($this->postData['brq_transaction_type'], ['I038', 'I880'])
)
) && !empty($this->postData['brq_statuscode'])
&& ($this->postData['brq_statuscode'] == 190)
) {
$this->logging->addDebug(__METHOD__ . '|88|' . var_export($payment->getMethod(), true));
Expand Down

0 comments on commit 31c3f64

Please sign in to comment.