Commit c29a8468 authored by Ilcho Vuchkov's avatar Ilcho Vuchkov Committed by Ilcho Vuchkov
Browse files

Issue #3179531 by Guillaume Aveline, vuil, splus, apaderno: Missing last order...

Issue #3179531 by Guillaume Aveline, vuil, splus, apaderno: Missing last order confirmation / authorization
parent 8b7ab629
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ class ExpressCheckoutSubscriptions extends ExpressCheckout {
    }
    $payment_storage = $this->entityTypeManager->getStorage('commerce_payment');
    $payment = $payment_storage->create([
      'state' => 'authorization',
      'state' => 'completed',
      'amount' => $order->getTotalPrice(),
      'payment_gateway' => $this->entityId,
      'order_id' => $order->id(),