Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
annevelden committed Jun 19, 2024
1 parent 1ce0ca1 commit 7a03fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Paymentmethod/Instore.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function startTransaction(Order $order, $fromAdmin = false)
$transaction = (new PayPaymentCreate($order, $this))->create();

if ($this->getPaymentOptionId() === 1927) {
if (array_key_exists('terminal', $transaction->getData())){
if (array_key_exists('terminal', $transaction->getData())) {
$additionalData['terminal_hash'] = $transaction->getData()['terminal']['hash'];
} else {
throw new \Exception(__('Pin transaction can not be started in test mode'));
Expand Down

0 comments on commit 7a03fbe

Please sign in to comment.