Realizado

Problema Plugin de pagamento não recebe o campo bairro

Publicado em 13 de Junho de 2022 dias na TI e Programação

Sobre este projeto

Aberto

O plugin de pagamento da IUGU não está recebendo o campo bairro, foi entrado em contato mas até o momento não retornaram e preciso arrumar isso.
Esse primeiro log é do erro, e do segundo e quando o pagamento dá certo na opção renovar pagamento.
LOG

06-09-2022 @ 11:46:37 - Creating customer... (1)
06-09-2022 @ 11:46:37 - *************************************
06-09-2022 @ 11:46:37 - {"email":"ismaelboschi@gmail.com","name":"Ismael Boschi","set_as_default":true,"country":"BRL","cpf_cnpj":"09376091965","phone":"991216107","phone_prefix":"045","street":"Rua Aurora","number":"41","city":"85878-000","state":"PR","zip_code":"85878000"}
06-09-2022 @ 11:46:37 - *************************************
06-09-2022 @ 11:46:37 - **********************************************
06-09-2022 @ 11:46:37 - https://api.iugu.com/v1/customers
06-09-2022 @ 11:46:37 -
06-09-2022 @ 11:46:37 - {"method":"POST","sslverify":false,"timeout":60,"headers":{"Content-Type":"application\/x-www-form-urlencoded;charset=UTF-8","Authorization":"Basic MTJFRDg4OTJCQ0E0MjkwREUzQkUxMzFFMkNFNkUyRjg3RUZBOEFBN0MzN0MyNjQ5MzREOEQ2QzdEOENCNzY4RTp4"},"body":"email=ismaelboschi%40gmail.com&name=Ismael+Boschi&set_as_default=1&country=BRL&cpf_cnpj=09376091965&phone=991216107&phone_prefix=045&street=Rua+Aurora&number=41&city=85878-000&state=PR&zip_code=85878000&client_name=plugin-iugu-woocommerce-payment-gateway&client_version=3.0.0.9"}
06-09-2022 @ 11:46:37 -
06-09-2022 @ 11:46:38 - {"headers":{},"body":"{\"errors\":{\"district\":[\"n\\u00e3o pode ficar em branco\"]}}","response":{"code":422,"message":"Unprocessable Entity"},"cookies":[{"name":"__cfruid","value":"da180dcf0e25a1de835ffd2b0354cab1b148977e-1654785998","expires":null,"path":"\/","domain":"iugu.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
06-09-2022 @ 11:46:38 - **********************************************
06-09-2022 @ 11:46:38 - **********************************************
06-09-2022 @ 11:46:38 - https://api.iugu.com/v1/customers//payment_methods
06-09-2022 @ 11:46:38 -
06-09-2022 @ 11:46:38 - {"method":"POST","sslverify":false,"timeout":60,"headers":{"Content-Type":"application\/x-www-form-urlencoded;charset=UTF-8","Authorization":"Basic MTJFRDg4OTJCQ0E0MjkwREUzQkUxMzFFMkNFNkUyRjg3RUZBOEFBN0MzN0MyNjQ5MzREOEQ2QzdEOENCNzY4RTp4"},"body":"description=M%C3%A9todo+de+pagamento+para+o+pedido+5015&token=3A1C8AB390BB46619D5F1AD961ACA31F&client_name=plugin-iugu-woocommerce-payment-gateway&client_version=3.0.0.9"}
06-09-2022 @ 11:46:38 -
06-09-2022 @ 11:46:38 - {"headers":{},"body":"{\"errors\":\"Not Found\"}","response":{"code":404,"message":"Not Found"},"cookies":[{"name":"__cfruid","value":"da180dcf0e25a1de835ffd2b0354cab1b148977e-1654785998","expires":null,"path":"\/","domain":"iugu.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
06-09-2022 @ 11:46:38 - **********************************************

Agora mesmo
isso quando faço pelo checkout normal na pagina

Agora mesmo
iemedplan.com.br

Agora mesmo
quando eu compro no boleto e pix ele recebe

Agora mesmo
do mesmo modo se eu tiver já comprado no boleto e renovar o pagamento pro cartão ele vai pra pagina checkout e funciona perfeitamente

Agora mesmo
vou enviar o log do pagamento na opção de renovar

Agora mesmo
LOG do pagamento por Renove Agora

06-09-2022 @ 18:52:34 - Creating customer... (1)
06-09-2022 @ 18:52:34 - *************************************
06-09-2022 @ 18:52:34 - {"email":"ismaelboschi@gmail.com","name":"Ismael Boschi","set_as_default":true,"country":"BRL","cpf_cnpj":"09376091965","phone":"991216107","phone_prefix":"045","street":"Rua Aurora","number":"41","city":"S\u00e3o miguel do igua\u00e7u","state":"PR","zip_code":"85878000"}
06-09-2022 @ 18:52:34 - *************************************
06-09-2022 @ 18:52:34 - **********************************************
06-09-2022 @ 18:52:34 - https://api.iugu.com/v1/customers
06-09-2022 @ 18:52:34 -
06-09-2022 @ 18:52:34 - {"method":"POST","sslverify":false,"timeout":60,"headers":{"Content-Type":"application\/x-www-form-urlencoded;charset=UTF-8","Authorization":"Basic MTJFRDg4OTJCQ0E0MjkwREUzQkUxMzFFMkNFNkUyRjg3RUZBOEFBN0MzN0MyNjQ5MzREOEQ2QzdEOENCNzY4RTp4"},"body":"email=ismaelboschi%40gmail.com&name=Ismael+Boschi&set_as_default=1&country=BRL&cpf_cnpj=09376091965&phone=991216107&phone_prefix=045&street=Rua+Aurora&number=41&city=S%C3%A3o+miguel+do+igua%C3%A7u&state=PR&zip_code=85878000&client_name=plugin-iugu-woocommerce-payment-gateway&client_version=3.0.0.9"}
06-09-2022 @ 18:52:34 -
06-09-2022 @ 18:52:35 - {"headers":{},"body":"{\"errors\":{\"district\":[\"n\\u00e3o pode ficar em branco\"]}}","response":{"code":422,"message":"Unprocessable Entity"},"cookies":[{"name":"__cfruid","value":"58803cf65daef851eaeba924ed0fd02f4813f444-1654811555","expires":null,"path":"\/","domain":"iugu.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
06-09-2022 @ 18:52:35 - **********************************************
06-09-2022 @ 18:52:35 - Doing charge for order 5041...
06-09-2022 @ 18:52:35 - Creating an invoice on iugu for order 5041 with the following data: Array
(
[email] => ismaelboschi@gmail.com
[due_date] => 2022-06-10
[ensure_workday_due_date] =>
[return_url] => https://iemedplan.com.br/checkout/order-received/5041/?key=wc_order_nBb1ansVXNsvx
[expired_url] => https://iemedplan.com.br/carrinho/?cancel_order=true&order=wc_order_nBb1ansVXNsvx&order_id=5041&redirect&_wpnonce=47f6d4458d
[notification_url] => https://iemedplan.com.br/wc-api/WC_Iugu_Credit_Card_Gateway2/
[ignore_due_email] =>
[payable_with] => credit_card
[custom_variables] => Array
(
[0] => Array
(
[name] => order_id
[value] => 5041
)

)

[payer] => Array
(
[name] => Ismael A Boschi
[email] => ismaelboschi@gmail.com
[address] => Array
(
[street] => Rua Aurora
[number] => 41
[city] => São miguel do iguaçu
[state] => PR
[country] => Brasil
[zip_code] => 85878000
[district] => Aurora do iguaçu
)

[phone] => 991216107
[phone_prefix] => 045
[cpf_cnpj] => 09376091965
)

[items] => Array
(
[0] => Array
(
[description] => Plano Família Premium - 3 Benificiários
[price_cents] => 18900
[quantity] => 1
)

)

)

06-09-2022 @ 18:52:35 - **********************************************
06-09-2022 @ 18:52:35 - https://api.iugu.com/v1/invoices
06-09-2022 @ 18:52:35 -
06-09-2022 @ 18:52:35 - {"method":"POST","sslverify":false,"timeout":60,"headers":{"Content-Type":"application\/x-www-form-urlencoded;charset=UTF-8","Authorization":"Basic MTJFRDg4OTJCQ0E0MjkwREUzQkUxMzFFMkNFNkUyRjg3RUZBOEFBN0MzN0MyNjQ5MzREOEQ2QzdEOENCNzY4RTp4"},"body":"email=ismaelboschi%40gmail.com&due_date=2022-06-10&ensure_workday_due_date=&return_url=https%3A%2F%2Fiemedplan.com.br%2Fcheckout%2Forder-received%2F5041%2F%3Fkey%3Dwc_order_nBb1ansVXNsvx&expired_url=https%3A%2F%2Fiemedplan.com.br%2Fcarrinho%2F%3Fcancel_order%3Dtrue%26amp%3Border%3Dwc_order_nBb1ansVXNsvx%26amp%3Border_id%3D5041%26amp%3Bredirect%26amp%3B_wpnonce%3D47f6d4458d&notification_url=https%3A%2F%2Fiemedplan.com.br%2Fwc-api%2FWC_Iugu_Credit_Card_Gateway2%2F&ignore_due_email=&payable_with=credit_card&custom_variables[][name]=order_id&custom_variables[][value]=5041&payer[name]=Ismael+A+Boschi&payer[email]=ismaelboschi%40gmail.com&payer[address][street]=Rua+Aurora&payer[address][number]=41&payer[address][city]=S%C3%A3o+miguel+do+igua%C3%A7u&payer[address][state]=PR&payer[address][country]=Brasil&payer[address][zip_code]=85878000&payer[address][district]=Aurora+do+igua%C3%A7u&payer[phone]=991216107&payer[phone_prefix]=045&payer[cpf_cnpj]=09376091965&items[][description]=Plano+Fam%C3%ADlia+Premium+-+3+Benifici%C3%A1rios&items[][price_cents]=18900&items[][quantity]=1&client_name=plugin-iugu-woocommerce-payment-gateway&client_version=3.0.0.9"}
06-09-2022 @ 18:52:35 -
06-09-2022 @ 18:52:37 - {"headers":{},"body":"{\"id\":\"2D8DFD1619F542749A116E4CAE57D6F8\",\"due_date\":\"2022-06-10\",\"currency\":\"BRL\",\"discount_cents\":null,\"email\":\"ismaelboschi@gmail.com\",\"items_total_cents\":18900,\"notification_url\":\"https:\/\/iemedplan.com.br\/wc-api\/WC_Iugu_Credit_Card_Gateway2\/\",\"return_url\":\"https:\/\/iemedplan.com.br\/checkout\/order-received\/5041\/?key=wc_order_nBb1ansVXNsvx\",\"status\":\"pending\",\"tax_cents\":null,\"total_cents\":18900,\"total_paid_cents\":0,\"taxes_paid_cents\":null,\"paid_at\":null,\"paid_cents\":null,\"cc_emails\":null,\"financial_return_date\":null,\"payable_with\":\"credit_card\",\"overpaid_cents\":null,\"ignore_due_email\":null,\"ignore_canceled_email\":null,\"advance_fee_cents\":null,\"commission_cents\":null,\"early_payment_discount\":false,\"order_id\":null,\"updated_at\":\"2022-06-09T18:52:36-03:00\",\"credit_card_brand\":null,\"credit_card_bin\":null,\"credit_card_last_4\":null,\"credit_card_captured_at\":null,\"credit_card_tid\":null,\"external_reference\":null,\"max_installments_value\":null,\"payer_name\":\"Ismael A Boschi\",\"payer_email\":\"ismaelboschi@gmail.com\",\"payer_cpf_cnpj\":\"09376091965\",\"payer_phone\":\"991216107\",\"payer_phone_prefix\":\"045\",\"payer_address_zip_code\":\"85878000\",\"payer_address_street\":\"Rua Aurora\",\"payer_address_district\":\"Aurora do igua\\u00e7u\",\"payer_address_city\":\"Aurora do Igua\\u00e7u\",\"payer_address_state\":\"PR\",\"payer_address_number\":\"41\",\"payer_address_complement\":null,\"payer_address_country\":\"Brasil\",\"late_payment_fine\":0,\"late_payment_fine_cents\":null,\"split_id\":null,\"account_id\":\"68d6afef5c59447991cd7ce91bafdfa9\",\"account_name\":\"iemed instituto de especialidades medicas do parana\",\"secure_id\":\"2d8dfd16-19f5-4274-9a11-6e4cae57d6f8-96d2\",\"secure_url\":\"https:\/\/faturas.iugu.com\/2d8dfd16-19f5-4274-9a11-6e4cae57d6f8-96d2\",\"customer_id\":null,\"customer_ref\":null,\"customer_name\":null,\"user_id\":null,\"total\":\"R$ 189,00\",\"taxes_paid\":\"R$ 0,00\",\"total_paid\":\"R$ 0,00\",\"total_overpaid\":\"R$ 0,00\",\"total_refunded\":\"R$ 0,00\",\"commission\":\"R$ 0,00\",\"fines_on_occurrence_day\":\"R$ 0,00\",\"total_on_occurrence_day\":\"R$ 0,00\",\"fines_on_occurrence_day_cents\":0,\"total_on_occurrence_day_cents\":0,\"refunded_cents\":0,\"remaining_captured_cents\":0,\"advance_fee\":null,\"paid\":\"R$ 0,00\",\"original_payment_id\":null,\"double_payment_id\":null,\"per_day_interest\":false,\"per_day_interest_value\":null,\"interest\":null,\"discount\":null,\"duplicated_invoice_id\":null,\"created_at\":\"09\/06, 18:52\",\"created_at_iso\":\"2022-06-09T18:52:36-03:00\",\"authorized_at\":null,\"authorized_at_iso\":null,\"expired_at\":null,\"expired_at_iso\":null,\"refunded_at\":null,\"refunded_at_iso\":null,\"canceled_at\":null,\"canceled_at_iso\":null,\"protested_at\":null,\"protested_at_iso\":null,\"chargeback_at\":null,\"chargeback_at_iso\":null,\"occurrence_date\":null,\"refundable\":null,\"installments\":null,\"transaction_number\":1111,\"payment_method\":null,\"financial_return_dates\":null,\"bank_slip\":null,\"pix\":{\"qrcode\":null,\"qrcode_text\":null,\"status\":null,\"payer_cpf_cnpj\":null,\"payer_name\":null,\"end_to_end_id\":null,\"end_to_end_refund_id\":null},\"items\":[{\"id\":\"602D16E99E44448DB157C6089EA62A38\",\"description\":\"Plano Fam\\u00edlia Premium - 3 Benifici\\u00e1rios\",\"price_cents\":18900,\"quantity\":1,\"created_at\":\"2022-06-09T18:52:36-03:00\",\"updated_at\":\"2022-06-09T18:52:36-03:00\",\"price\":\"R$ 189,00\"}],\"early_payment_discounts\":[],\"split_rules\":null,\"variables\":[{\"variable\":\"payer.address.city\",\"value\":\"Aurora do Igua\\u00e7u\"},{\"variable\":\"payer.address.city\",\"value\":\"Aurora do Igua\\u00e7u\"},{\"variable\":\"payer.address.country\",\"value\":\"Brasil\"},{\"variable\":\"payer.address.country\",\"value\":\"Brasil\"},{\"variable\":\"payer.address.district\",\"value\":\"Aurora do igua\\u00e7u\"},{\"variable\":\"payer.address.district\",\"value\":\"Aurora do igua\\u00e7u\"},{\"variable\":\"payer.address.number\",\"value\":\"41\"},{\"variable\":\"payer.address.number\",\"value\":\"41\"},{\"variable\":\"payer.address.state\",\"value\":\"PR\"},{\"variable\":\"payer.address.state\",\"value\":\"PR\"},{\"variable\":\"payer.address.street\",\"value\":\"Rua Aurora\"},{\"variable\":\"payer.address.street\",\"value\":\"Rua Aurora\"},{\"variable\":\"payer.address.zip_code\",\"value\":\"85878000\"},{\"variable\":\"payer.address.zip_code\",\"value\":\"85878000\"},{\"variable\":\"payer.cpf_cnpj\",\"value\":\"09376091965\"},{\"variable\":\"payer.cpf_cnpj\",\"value\":\"09376091965\"},{\"variable\":\"payer.email\",\"value\":\"ismaelboschi@gmail.com\"},{\"variable\":\"payer.email\",\"value\":\"ismaelboschi@gmail.com\"},{\"variable\":\"payer.name\",\"value\":\"Ismael A Boschi\"},{\"variable\":\"payer.name\",\"value\":\"Ismael A Boschi\"},{\"variable\":\"payer.phone\",\"value\":\"991216107\"},{\"variable\":\"payer.phone\",\"value\":\"991216107\"},{\"variable\":\"payer.phone_prefix\",\"value\":\"045\"},{\"variable\":\"payer.phone_prefix\",\"value\":\"045\"}],\"custom_variables\":[{\"name\":\"order_id\",\"value\":\"5041\"}],\"logs\":[{\"id\":\"99BB2212A9D24C449B38FBB07860E37F\",\"description\":\"Fatura criada com sucesso!\",\"notes\":\"Fatura criada!\",\"created_at\":\"09\/06, 18:52\"},{\"id\":\"BF1ADD0C3C7B49E9BE655B8CFA3CBEDC\",\"description\":\"Email de Lembrete enviado!\",\"notes\":\"Lembrete enviado com sucesso para: ismaelboschi@gmail.com\",\"created_at\":\"09\/06, 18:52\"}],\"credit_card_transaction\":null}","response":{"code":200,"message":"OK"},"cookies":[{"name":"__cfruid","value":"ffd150cf0f048fff1515d38acb3ca65d72496d23-1654811557","expires":null,"path":"\/","domain":"iugu.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
06-09-2022 @ 18:52:37 - **********************************************
06-09-2022 @ 18:52:37 - Invoice created successfully!
06-09-2022 @ 18:52:37 - **********************************************
06-09-2022 @ 18:52:37 - https://api.iugu.com/v1/charge
06-09-2022 @ 18:52:37 -
06-09-2022 @ 18:52:37 - {"method":"POST","sslverify":false,"timeout":60,"headers":{"Content-Type":"application\/x-www-form-urlencoded;charset=UTF-8","Authorization":"Basic MTJFRDg4OTJCQ0E0MjkwREUzQkUxMzFFMkNFNkUyRjg3RUZBOEFBN0MzN0MyNjQ5MzREOEQ2QzdEOENCNzY4RTp4"},"body":"invoice_id=2D8DFD1619F542749A116E4CAE57D6F8&token=CFF1C69B69874D62BBC8286B4DC7E4E5&client_name=plugin-iugu-woocommerce-payment-gateway&client_version=3.0.0.9"}
06-09-2022 @ 18:52:37 -
06-09-2022 @ 18:52:38 - {"headers":{},"body":"{\"message\":\"Autorizado\",\"errors\":{},\"status\":\"captured\",\"info_message\":\"Transa\\u00e7\\u00e3o capturada\",\"reversible\":null,\"token\":\"000000000000000000000000000000000000002\",\"brand\":null,\"bin\":null,\"success\":true,\"url\":\"https:\/\/faturas.iugu.com\/2d8dfd16-19f5-4274-9a11-6e4cae57d6f8-96d2\",\"pdf\":\"https:\/\/faturas.iugu.com\/2d8dfd16-19f5-4274-9a11-6e4cae57d6f8-96d2.pdf\",\"identification\":null,\"invoice_id\":\"2d8dfd1619f542749a116e4cae57d6f8\",\"lr\":\"00\"}","response":{"code":200,"message":"ok"},"cookies":[{"name":"__cfruid","value":"c75491150bb6172d37e2507f21912b79925f8196-1654811558","expires":null,"path":"\/","domain":"iugu.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
06-09-2022 @ 18:52:38 - **********************************************
06-09-2022 @ 18:52:38 - Charge created successfully!

Categoria TI e Programação
Subcategoria Wordpress
Qual é o alcance do projeto? Instalação/Configuração de pacote
Isso é um projeto ou uma posição de trabalho? Um projeto
Tenho, atualmente Eu tenho especificações
Disponibilidade requerida Conforme necessário

Prazo de Entrega: 14 de Junho de 2022

Habilidades necessárias