diff --git a/plugins/receiptFE/src/Interaction.php b/plugins/receiptFE/src/Interaction.php index 51c05ddb4..fbc32fa60 100644 --- a/plugins/receiptFE/src/Interaction.php +++ b/plugins/receiptFE/src/Interaction.php @@ -84,7 +84,9 @@ class Interaction extends Services ]); $body = static::responseBody($response); - Ricevuta::store($name, $body['content']); + if (!empty($body['content'])) { + Ricevuta::store($name, $body['content']); + } } return $name;