Error on Generating an Invoice
-
Hey, i am trying to generate simple invoices for my woocommerce orders but i am having this error “Field ‘product_id’ must be valid”.
Array ( [0] => Array ( [code] => 5 product_id [description] => Field 'product_id' must be valid ) ) Dados enviados: Array ( [customer_id] => 51833320 [document_set_id] => 425200 [our_reference] => [your_reference] => #4948 [date] => 2021-08-05 [expiration_date] => 2021-08-05 [financial_discount] => 0 [special_discount] => 0 [salesman_id] => 0 [salesman_commission] => 0 [notes] => [status] => 0 [delivery_datetime] => 2021-08-05 19:55:09 [delivery_method_id] => 1401686 [delivery_departure_address] => Travessa Norton de Matos, 50 [delivery_departure_city] => Alfena [delivery_departure_zip_code] => 4445-146 [delivery_departure_country] => 1 [delivery_destination_address] => Rua Augusto César de Mendon?a 48 1 direito [delivery_destination_city] => Ermesinde [delivery_destination_zip_code] => 4445-648 [delivery_destination_country] => 1 [payments] => Array ( [0] => Array ( [payment_method_id] => 1329769 [date] => 2021-08-05 19:55:09 [value] => 19.12 ) ) [products] => Array ( [0] => Array ( [product_id] => 92743883 [name] => Criar Poké Bowl [summary] => [qty] => 1 [price] => 7.955752 [discount] => 0 [order] => 0 [exemption_reason] => [taxes] => Array ( [0] => Array ( [tax_id] => 2144945 [value] => 13 [order] => 0 [cumulative] => 0 ) ) [warehouse_id] => 0 [child_products] => ) [1] => Array ( [product_id] => 92743881 [name] => Criar Poké Bowl [summary] => [qty] => 1 [price] => 7.070796 [discount] => 0 [order] => 1 [exemption_reason] => [taxes] => Array ( [0] => Array ( [tax_id] => 2144945 [value] => 13 [order] => 0 [cumulative] => 0 ) ) [warehouse_id] => 0 [child_products] => ) [2] => Array ( [product_id] => 90315862 [name] => Delivery [summary] => [qty] => 1 [price] => 1.74 [discount] => 0 [order] => 2 [exemption_reason] => [taxes] => Array ( [0] => Array ( [tax_id] => 2144931 [value] => 23 [order] => 0 [cumulative] => 0 ) ) ) ) [company_id] => 170616 )
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error on Generating an Invoice’ is closed to new replies.