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 cf78094 + 29cc486 commit 0400628
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/community/Mollie/Mpm/Block/Payment/Info/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ public function getcardLabel()
}
} catch (\Exception $e) {
$this->mollieHelper->addTolog('error', $e->getMessage());
return '';
}

return '';
}
}
2 changes: 2 additions & 0 deletions app/code/community/Mollie/Mpm/Model/Client/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ 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();

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

0 comments on commit 0400628

Please sign in to comment.