diff --git a/app/code/community/Mollie/Mpm/Model/Client/Orders.php b/app/code/community/Mollie/Mpm/Model/Client/Orders.php index 1086c48..b5cddb8 100644 --- a/app/code/community/Mollie/Mpm/Model/Client/Orders.php +++ b/app/code/community/Mollie/Mpm/Model/Client/Orders.php @@ -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.