Skip to content

Commit

Permalink
Merge branch 'pr/180' into 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Magmodules committed Jul 1, 2020
2 parents 0400628 + a817d29 commit cd4fe56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/community/Mollie/Mpm/Model/Client/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function processTransaction(Mage_Sales_Model_Order $order, $type = 'webho

$this->orderLines->updateOrderLinesByWebhook($mollieOrder->lines, $mollieOrder->isPaid());

$order->getPayment()->setAdditionalInformation('details', json_encode($mollieOrder->payments()[0]->details))->save();
$order->getPayment()->setAdditionalInformation('details', json_encode($mollieOrder->_embedded->payments[0]->details))->save();

/**
* Check if last payment was canceled, failed or expired and redirect customer to cart for retry.
Expand Down

0 comments on commit cd4fe56

Please sign in to comment.