YapayPagamentos / yapay-magento1

3 stars 4 forks source link

Erro de ausência de CPF em pedidos para CNPJ #13

Open mferracioli opened 3 years ago

mferracioli commented 3 years ago

O problema acontece ao efetuar um pedido por boleto bancário sendo um cadastro de CNPJ.

Erro retornado:

Yapay Intermediador - Pedido com pagamento não aceito. Motivo: É necessário informar o CPF para finalizar uma transação com essa loja.

Dados enviados:

token_account= transaction[free]=MAGENTO_API_v2.1.6 transaction[order_number]= customer[name]= customer[cnpj]= customer[trade_name]= customer[company_name]= customer[contacts][][number_contact]= customer[contacts][][type_contact]=M customer[email]= customer[addresses][][type_address]=D customer[addresses][][postal_code]= customer[addresses][][street]= customer[addresses][][number]= customer[addresses][][completion]= customer[addresses][][neighborhood]= customer[addresses][][city]=São José do Rio Preto customer[addresses][][state]=SP customer[addresses][][type_address]=B customer[addresses][][postal_code]= customer[addresses][][street]= customer[addresses][][number]= customer[addresses][][completion]= customer[addresses][][neighborhood]= customer[addresses][][city]=São José do Rio Preto customer[addresses][][state]=SP transaction_product[][code]=13-Preto transaction_product[][description]=APARADOR JB 4064 LUXO transaction_product[][quantity]=1.0000 transaction_product[][price_unit]=199.99 transaction_product[][sku_code]=13-Preto transaction[price_discount]=20.00 transaction[price_additional]=0.00 transaction[max_split_transaction]=12 transaction[available_payment_methods]=6, 7, 22, 23 transaction[shipping_type]=Serviços de Entrega - Transfolha (de 9 a 19 dias anduacute;teis) transaction[shipping_price]=44.17 transaction[customer_ip]= transaction[url_notification]=https:///checkoutapi/standard/success/type/bankslip/ payment[payment_method_id]=6 payment[split]=1 payment[card_name]= payment[card_number]= payment[card_expdate_month]= payment[card_expdate_year]= payment[card_cvv]=