Skip to content

Commit

Permalink
Fix paymentMethodName for Instore
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinverschoor committed Mar 11, 2022
1 parent 016c354 commit 168fdb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paynlpaymentmethods/paynlpaymentmethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function hookDisplayAdminOrder($params)

if ($methodName == $profileId) {
if (count(Transaction::get($transactionId) > 0)) {
$methodName = 'PAY. Instore';
$methodName = 'PAY. PIN (Instore)';
}
}

Expand Down Expand Up @@ -693,7 +693,7 @@ public function processPayment($transactionId, &$message = null)
if (empty(trim($paymentMethodName))) {
$paymentMethodName = 'PAY.';
if (count(Transaction::get($transactionId) > 0)) {
$paymentMethodName = 'PAY. Instore';
$paymentMethodName = 'PAY. PIN (Instore)';
}
}

Expand Down

0 comments on commit 168fdb9

Please sign in to comment.