Skip to content

Commit

Permalink
add transaction id to payment details
Browse files Browse the repository at this point in the history
  • Loading branch information
PILLOWPET committed Jun 18, 2022
1 parent 880faae commit 1ca3b68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Payum/Action/CompleteOrderAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public function execute($request): void
'status' => $orderDetails['status'] === 'COMPLETED' ? StatusAction::STATUS_COMPLETED : StatusAction::STATUS_PROCESSING,
'paypal_order_id' => $orderDetails['id'],
'reference_id' => $orderDetails['purchase_units'][0]['reference_id'],
'TRANSACTIONID' => $orderDetails['purchase_units'][0]["payments"]["captures"][0]["id"],
]);

if ($order->isShippingRequired()) {
Expand Down

0 comments on commit 1ca3b68

Please sign in to comment.