diff --git a/app/code/community/RicardoMartins/PagSeguro/Model/Abstract.php b/app/code/community/RicardoMartins/PagSeguro/Model/Abstract.php index b7a1f2b0..bd55ec9e 100644 --- a/app/code/community/RicardoMartins/PagSeguro/Model/Abstract.php +++ b/app/code/community/RicardoMartins/PagSeguro/Model/Abstract.php @@ -136,16 +136,12 @@ public function proccessNotificatonResult(SimpleXMLElement $xmlDocument) $order->setState ( $processedState->getState(), - $order->getState() != $processedState->getState(), //only use default status for state when changing + true, // the order state $message, $processedState->getIsCustomerNotified() ); - //add only the history message, because its not added above when $status=false - if ($order->getState() == $processedState->getState()){ - $order->addStatusHistoryComment($message); - } } else { diff --git a/app/code/community/RicardoMartins/PagSeguro/etc/config.xml b/app/code/community/RicardoMartins/PagSeguro/etc/config.xml index 0237dd1a..fee02def 100644 --- a/app/code/community/RicardoMartins/PagSeguro/etc/config.xml +++ b/app/code/community/RicardoMartins/PagSeguro/etc/config.xml @@ -2,7 +2,7 @@ - 3.15.7 + 3.15.8