From da8b34af07f73ba793009e56abe39cebfd8c31eb Mon Sep 17 00:00:00 2001 From: RafaMelazzo Date: Wed, 13 Dec 2023 13:37:55 -0300 Subject: [PATCH] fixed billing_cnpj --- src/Helper/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helper/Utils.php b/src/Helper/Utils.php index d34cc941..68c1a082 100644 --- a/src/Helper/Utils.php +++ b/src/Helper/Utils.php @@ -677,7 +677,7 @@ public static function build_document_from_order(Order $order) ); } - if (!empty($order->billing_cpf)) { + if (!empty($order->billing_cnpj)) { return array( 'type' => 'company', 'value' => $order->billing_cnpj,