Open roneclay opened 1 year ago
Oi, @roneclay . Tudo bom? Você poderia abrir um ticket pra mim e passar mais detalhes (url da loja, versao, etc)?
Você consegue reproduzir o problema na loja demo? Sigo no aguardo.
Oi, @roneclay . Tudo bom? Você poderia abrir um ticket pra mim e passar mais detalhes (url da loja, versao, etc)?
Você consegue reproduzir o problema na loja demo? Sigo no aguardo.
Opa Ricardo, obrigado pelo retorno;
Abri o chamado. Fico no aguardo.
Pagamento via PIX retorna ao carrinho e cria o pedido, mesmo tendo erro.
No entanto, apesar de reclamar de falta de chave pública, no log a chave existe.
Alguém já passou por isso?
[2023-10-25T17:48:06.572542+00:00] main.DEBUG: Authentication failed with PagSeguro API. Check registered email and token. Payback return: Public_key missing. [] [] [2023-10-25T17:52:19.848824+00:00] main.DEBUG: {"email":"EMAIL_DE_LOGIN_PAGSEGURO","paymentMethod":"redirect","currency":"BRL","reference":"000000043","extraAmount":"0.00","senderName":"Roni Santos","senderAreaCode":"48","senderPhone":"996658088727","senderEmail":"BLABLA@BLABLA.com.br","enableRecover":"true","shippingAddressRequired":"","acceptPaymentMethodGroup":"PIX","notificationURL":"URLDALOJA\/pseguro\/notification\/index","redirectURL":"URLDALOJA/checkout\/onepage\/success\/","itemId1":"137","itemDescription1":"FIO MOLLET CIRCULO 40G COR","itemAmount1":"3.25","itemQuantity1":4,"itemId2":"141","itemDescription2":"AGULHA SINGER 1955 (DPX5)","itemAmount2":"15.10","itemQuantity2":1,"itemId3":"143","itemDescription3":"FIO MOLLET CIRCULO 40G COR","itemAmount3":"3.25","itemQuantity3":1,"shippingAddressStreet":"Avenida Jacob Macanhan","shippingAddressNumber":"326","shippingAddressComplement":"","shippingAddressDistrict":"Complemento","shippingAddressPostalCode":"83326000","shippingAddressCity":"Pinhais","shippingAddressState":"PR","shippingAddressCountry":"BRA","shippingType":"3","shippingCost":"0.00","billingAddressStreet":"Avenida Jacob Macanhan","billingAddressNumber":"326","billingAddressComplement":"","billingAddressDistrict":"Complemento","billingAddressPostalCode":"83326000","billingAddressCity":"Pinhais","billingAddressState":"PR","billingAddressCountry":"BRA"} [] [] [2023-10-25T17:52:19.849032+00:00] main.DEBUG: Parameters being sent to API (/v2/checkout): array ( 'email' => 'bernardo@armarinhosmultimais.com.br', 'paymentMethod' => 'redirect', 'currency' => 'BRL', 'reference' => '000000043', 'extraAmount' => '0.00', 'senderName' => 'Roni Santos', 'senderAreaCode' => '48', 'senderPhone' => '996658052', 'senderEmail' => 'BLABLA@BLABLA.com.br', 'enableRecover' => 'true', 'shippingAddressRequired' => '', 'acceptPaymentMethodGroup' => 'PIX', 'notificationURL' => 'https://URLDALOJA/pseguro/notification/index', 'redirectURL' => 'URLDALOJAcheckout/onepage/success/', 'itemId1' => '137', 'itemDescription1' => 'FIO MOLLET CIRCULO 40G COR', 'itemAmount1' => '3.25', 'itemQuantity1' => '4', 'itemId2' => '141', 'itemDescription2' => 'AGULHA SINGER 1955 (DPX5)', 'itemAmount2' => '15.10', 'itemQuantity2' => '1', 'itemId3' => '143', 'itemDescription3' => 'FIO MOLLET CIRCULO 40G COR', 'itemAmount3' => '3.25', 'itemQuantity3' => '1', 'shippingAddressStreet' => 'Avenida Jacob Macanhan', 'shippingAddressNumber' => '326', 'shippingAddressComplement' => '', 'shippingAddressDistrict' => 'Complemento', 'shippingAddressPostalCode' => '83326000', 'shippingAddressCity' => 'Pinhais', 'shippingAddressState' => 'PR', 'shippingAddressCountry' => 'BRA', 'shippingType' => '3', 'shippingCost' => '0.00', 'billingAddressStreet' => 'Avenida Jacob Macanhan', 'billingAddressNumber' => '326', 'billingAddressComplement' => '', 'billingAddressDistrict' => 'Complemento', 'billingAddressPostalCode' => '83326000', 'billingAddressCity' => 'Pinhais', 'billingAddressState' => 'PR', 'billingAddressCountry' => 'BRA', 'public_key' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', <-- troquei por X por segurança ) [] [] [2023-10-25T17:52:20.396631+00:00] main.DEBUG: Retorno PagSeguro (/checkout): '<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><checkout><code>455C51E20808A92114B3DFA16DDF58D3</code><date>2023-10-25T14:52:20.000-03:00</date></checkout>' [] []