Skip to content

Commit

Permalink
Replaced old syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
woutse committed Jul 13, 2022
1 parent 3e0299b commit e4e8331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paynlpaymentmethods/paynlpaymentmethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function hookActionOrderStatusPostUpdate($params)
if ($transaction->isAuthorized()) {
$this->payLog('Auto-capture', 'Starting auto-capture', $cartId, $transactionId);
try {
$this->sdkLogin();
PayHelper::sdkLogin();
\Paynl\Transaction::capture($transactionId);
$this->payLog('Auto-capture', 'Capture success ', $transactionId);
} catch (Exception $e) {
Expand Down

0 comments on commit e4e8331

Please sign in to comment.