Skip to content

Commit

Permalink
[Payum] Save payment means during assert action
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Oct 26, 2023
1 parent f4e0669 commit c8df6af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Payum/Action/AssertAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ private function handleSuccessfulResponse(PaymentInterface $payment, AssertRespo
$paymentDetails['status'] = $transaction->getStatus();
$paymentDetails['transaction_id'] = $transaction->getId();

$paymentDetails['payment_means'] = $response->getPaymentMeans()->toArray();

$payment->setDetails($paymentDetails);
}
}

0 comments on commit c8df6af

Please sign in to comment.