greguly / cielo-woocommerce

Adiciona a Cielo como opção de recebimento no WooCommerce
GNU General Public License v2.0
31 stars 22 forks source link

Um erro aconteceu ao processar o seu pagamento, por favor, tente novamente ou entre em contato para conseguir assistência. #65

Open alexgdias opened 7 years ago

alexgdias commented 7 years ago

Olá Pessoal, Instalei o plugin e no ambiente de teste funciona normalmente, com um número de cartão de teste da Cielo. Log abaixo: 04-25-2017 @ 18:54:06 - Requesting a transaction for order 2366 with the follow data: WC_Cielo_XML Object ( [@attributes] => Array ( [id] => 2366-1493157246 [versao] => 1.3.0 )

[dados-pedido] => WC_Cielo_XML Object
    (
        [numero] => 2366
        [valor] => 100
        [moeda] => 986
        [data-hora] => 2017-04-25T18:54:05
        [idioma] => PT
    )

[forma-pagamento] => WC_Cielo_XML Object
    (
        [bandeira] => mastercard
        [produto] => 1
        [parcelas] => 1
    )

[url-retorno] => WC_Cielo_XML Object
    (
    )

[autorizar] => 3
[capturar] => true
[gerar-token] => false

)

04-25-2017 @ 18:54:10 - Transaction successfully created for the order 2366 04-25-2017 @ 18:54:12 - Checking the transaction status for order 2366... 04-25-2017 @ 18:54:12 - Recovered the order 2366 data successfully 04-25-2017 @ 18:54:12 - Cielo payment status: 6

Quando passo para o ambiente de produção e insiro o Merchand ID e Merchand key fornecidos pela Cielo, a mensagem de erro é apresentada. Segue log do modo de produção: 04-25-2017 @ 19:05:54 - Requesting a transaction for order 2368 with the follow data: WC_Cielo_XML Object ( [@attributes] => Array ( [id] => 2368-1493157954 [versao] => 1.3.0 )

[dados-pedido] => WC_Cielo_XML Object
    (
        [numero] => 2368
        [valor] => 100
        [moeda] => 986
        [data-hora] => 2017-04-25T19:03:24
        [idioma] => PT
    )

[forma-pagamento] => WC_Cielo_XML Object
    (
        [bandeira] => visa
        [produto] => 1
        [parcelas] => 1
    )

[url-retorno] => WC_Cielo_XML Object
    (
    )

[autorizar] => 3
[capturar] => true
[gerar-token] => false

)

Alguma dica do que pode estar acontecendo? Obrigado.

greguly commented 7 years ago

Pergunta lá na Cielo, a mensagem vem deles ;-)

alexgdias commented 7 years ago

kkkkk Velho, to com esse problema e não sou especialista. Tem alguma forma de te contratar para suporte deste problema. Valeu!

2017-04-25 19:48 GMT-03:00 Gabriel Reguly notifications@github.com:

Pergunta lá na Cielo, a mensagem vem deles ;-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greguly/cielo-woocommerce/issues/65#issuecomment-297187459, or mute the thread https://github.com/notifications/unsubscribe-auth/AaulUDq1rHHeIRzXYLcv65-bMQ6PAlK-ks5rznhOgaJpZM4NIJjE .

claudiosanches commented 7 years ago

Tem algo depois nessa mensagem ai no log que falou? Porque esta faltando a resposta da Cielo nele.

alexgdias commented 7 years ago

Tem nada depois não, parou nisso mesmo. Sem resposta depois.

Em 25/04/2017 19:52, "Claudio Sanches" notifications@github.com escreveu:

Tem algo depois nessa mensagem ai no log que falou? Porque esta faltando a resposta da Cielo nele.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greguly/cielo-woocommerce/issues/65#issuecomment-297188213, or mute the thread https://github.com/notifications/unsubscribe-auth/AaulUDX2itkkybIRAOIbSaFdPx-gqW7Wks5rznlGgaJpZM4NIJjE .

alexgdias commented 7 years ago

Olá Cláudio, Gostaria de saber se o plugin é compatível com a versão webservice 3.0? Segundo a Cielo o plugin pode estar requisitando no padrão webservice 1.5. Obrigado.

2017-04-25 19:56 GMT-03:00 Alexandre Dias alexdegdias@gmail.com:

Tem nada depois não, parou nisso mesmo. Sem resposta depois.

Em 25/04/2017 19:52, "Claudio Sanches" notifications@github.com escreveu:

Tem algo depois nessa mensagem ai no log que falou? Porque esta faltando a resposta da Cielo nele.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greguly/cielo-woocommerce/issues/65#issuecomment-297188213, or mute the thread https://github.com/notifications/unsubscribe-auth/AaulUDX2itkkybIRAOIbSaFdPx-gqW7Wks5rznlGgaJpZM4NIJjE .

alvesian commented 7 years ago

Olá pessoal, algum avanço em relação 'a API 3.0? Gostaria de ajudar dentro do possível, não entendo muito, mas tenho um pouco de tempo e vontade, hahhaha achei isso aqui, não sei se é válido para ajudar...

https://devhub.io/zh/repos/DeveloperCielo-API-3.0-PHP

Abraços

brunovrod commented 7 years ago

Estou com mesmo problema. O plugin está com problema mesmo para Webservice 3.0????

cesaroito commented 6 years ago

Olá pessoal,

Também estou com este problema. Veja meu log?

08-14-2017 @ 03:28:36 - Requesting a transaction for order 21834 with the follow data: WC_Cielo_XML Object ( [@attributes] => Array ( [id] => 21834-1502692116 [versao] => 1.3.0 )

[dados-pedido] => WC_Cielo_XML Object
    (
        [numero] => 21834
        [valor] => 1920
        [moeda] => 986
        [data-hora] => 2017-08-14T03:28:36
        [idioma] => PT
    )

[forma-pagamento] => WC_Cielo_XML Object
    (
        [bandeira] => mastercard
        [produto] => 1
        [parcelas] => 1
    )

[url-retorno] => WC_Cielo_XML Object
    (
    )

[autorizar] => 3
[capturar] => true
[gerar-token] => false

)

Isto refere-se ao problema da API? Alguém pode ajudar com isto?

rafaelbantu commented 6 years ago

Olá pessoal!

Estou com o mesmo erro e em error.log apareceu:

PHP Warning: DOMDocument::loadXML(): Input is not proper UTF-8, indicate encoding !\nBytes: 0xED 0x76 0x65 0x6C in Entity, line: 1 in /var/www/wordpress/wp-content/plugins/cielo-woocommerce/includes/class-wc-cielo-api.php on line 248, referer: https://wordpresssite.tdl/finalizar-compra/order-pay/4190/?pay_for_order=true&key=wc_order_5ba1e9a8a95f65

helainegreen commented 6 years ago

Mesmo problema. Entrei em contato com a Cielo pois eles podem não aceitam o Let's Encrypt.

byeloff commented 6 years ago

Estou com o mesmo problema:

`12-22-2017 @ 11:38:43 - Requesting a transaction for order 373 with the follow data: WC_Cielo_XML Object ( [@attributes] => Array ( [id] => 373-1513949923 [versao] => 1.3.0 )

[dados-pedido] => WC_Cielo_XML Object
    (
        [numero] => 373
        [valor] => 7118
        [moeda] => 986
        [data-hora] => 2017-12-22T11:38:42
        [idioma] => PT
    )

[forma-pagamento] => WC_Cielo_XML Object
    (
        [bandeira] => visa
        [produto] => 1
        [parcelas] => 1
    )

[url-retorno] => WC_Cielo_XML Object
    (
    )

[autorizar] => 3
[capturar] => true
[gerar-token] => false

)

12-22-2017 @ 11:38:44 - An error occurred while requesting the transaction: WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => cURL error 60: Peer certificate cannot be authenticated with known CA certificates )

    )

[error_data] => Array
    (
    )

)

12-22-2017 @ 11:40:02 - Requesting a transaction for order 373 with the follow data: WC_Cielo_XML Object ( [@attributes] => Array ( [id] => 373-1513950002 [versao] => 1.3.0 )

[dados-pedido] => WC_Cielo_XML Object
    (
        [numero] => 373
        [valor] => 7118
        [moeda] => 986
        [data-hora] => 2017-12-22T11:38:42
        [idioma] => PT
    )

[forma-pagamento] => WC_Cielo_XML Object
    (
        [bandeira] => visa
        [produto] => 1
        [parcelas] => 1
    )

[url-retorno] => WC_Cielo_XML Object
    (
    )

[autorizar] => 3
[capturar] => true
[gerar-token] => false

)

12-22-2017 @ 11:40:04 - An error occurred while requesting the transaction: WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => cURL error 60: Peer certificate cannot be authenticated with known CA certificates )

    )

[error_data] => Array
    (
    )

) `

celsomtrindade commented 6 years ago

Continuo com o mesmo tipo de erro, acredito que o plugin não esteja pronto para a versão Webservice 3.0. Esse é o meu log:

05-22-2018 @ 21:04:18 - Requesting a transaction for order 127 with the follow data: WC_Cielo_XML Object
(
    [@attributes] => Array
        (
            [id] => 127-1527033858
            [versao] => 1.3.0
        )

    [dados-pedido] => WC_Cielo_XML Object
        (
            [numero] => 127
            [valor] => 6000
            [moeda] => 986
            [data-hora] => 2018-05-22T20:01:42
            [idioma] => PT
        )

    [forma-pagamento] => WC_Cielo_XML Object
        (
            [bandeira] => mastercard
            [produto] => 2
            [parcelas] => 4
        )

    [url-retorno] => WC_Cielo_XML Object
        (
        )

    [autorizar] => 3
    [capturar] => true
    [gerar-token] => false
)

05-22-2018 @ 21:04:18 - An error occurred while requesting the transaction: WP_Error Object
(
    [errors] => Array
        (
            [http_request_failed] => Array
                (
                    [0] => cURL error 60: SSL certificate problem: unable to get local issuer certificate
                )

        )

    [error_data] => Array
        (
        )

)

Estou rodando o e-commerce em um servidor online com certificado ssl habilitado.