Commit 48631b41 authored by Jakub Piasecki's avatar Jakub Piasecki Committed by Jonathan Sacksick
Browse files

Issue #3135347 by zaporylie: Fix PHP Notice when acknowledging order.

parent 16d4b1c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ class KlarnaCheckout extends OffsitePaymentGatewayBase implements KlarnaCheckout
      // Use the amount we get from Klarna, rather than the order total, since
      // it might be different.
      'amount' => $payment_amount,
      'payment_gateway' => $this->parentEntity ? $this->parentEntity->id() : $this->entityId,
      'payment_gateway' => isset($this->parentEntity) ? $this->parentEntity->id() : $this->entityId,
      'order_id' => $order->id(),
      'test' => $this->getMode() == 'test',
      'remote_id' => $klarna_order->getId(),