From 50f8459189bd035668f0e97ce58ef48f3cfafb93 Mon Sep 17 00:00:00 2001 From: RafaMelazzo Date: Wed, 8 May 2024 09:27:55 -0300 Subject: [PATCH] fix: saving status on platform --- Model/Api/Recipient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Model/Api/Recipient.php b/Model/Api/Recipient.php index 8c2a97a0..9096f990 100644 --- a/Model/Api/Recipient.php +++ b/Model/Api/Recipient.php @@ -129,6 +129,7 @@ private function saveOnPlatform($params) $recipientModel->setDocument($registeredInformation['document']); $recipientModel->setPagarmeId($params['pagarme_id']); $recipientModel->setType($registeredInformation['type']); + $recipientModel->setStatus($params['status']); $this->resourceModelRecipient->save($recipientModel); }