Git Product home page Git Product logo

Comments (3)

pandacreative avatar pandacreative commented on June 18, 2024

Para complementar, nem a opção padrão de redirecionamento ta funcionando. Segue o erro:

01-12-2018 @ 15:21:18 - Failed to generate the PagSeguro Payment Token: Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Fri, 12 Jan 2018 18:21:18 GMT
[content-type] => application/xml;charset=ISO-8859-1
[cache-control] => max-age=180
[expires] => Fri, 12 Jan 2018 18:24:18 GMT
[strict-transport-security] => max-age=31536000
[vary] => User-Agent
[set-cookie] => TS01b793ab=01ed0a5ec26d231f4ee0ccdaf93e8cb19cd45b63c596d8a0c6f5edea663949c0758286a0bb; Path=/
)

    )

[body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11012</code><message>senderName invalid value: Alexandre</message></error></errors>
[response] => Array
    (
        [code] => 400
        [message] => Bad Request
    )

[cookies] => Array
    (
        [0] => WP_Http_Cookie Object
            (
                [name] => TS01b793ab
                [value] => 01ed0a5ec26d231f4ee0ccdaf93e8cb19cd45b63c596d8a0c6f5edea663949c0758286a0bb
                [expires] => 
                [path] => /
                [domain] => ws.pagseguro.uol.com.br
            )

    )

[filename] => 
[http_response] => WP_HTTP_Requests_Response Object
    (
        [response:protected] => Requests_Response Object
            (
                [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11012</code><message>senderName invalid value: Alexandre</message></error></errors>
                [raw] => HTTP/1.1 400 Bad Request

Date: Fri, 12 Jan 2018 18:21:18 GMT
Content-Type: application/xml;charset=ISO-8859-1
Cache-Control: max-age=180
Expires: Fri, 12 Jan 2018 18:24:18 GMT
Strict-Transport-Security: max-age=31536000
Vary: User-Agent
Connection: close
Set-Cookie: TS01b793ab=01ed0a5ec26d231f4ee0ccdaf93e8cb19cd45b63c596d8a0c6f5edea663949c0758286a0bb; Path=/
Transfer-Encoding: chunked

11012senderName invalid value: Alexandre
                [headers] => Requests_Response_Headers Object
                    (
                        [data:protected] => Array
                            (
                                [date] => Array
                                    (
                                        [0] => Fri, 12 Jan 2018 18:21:18 GMT
                                    )

                                [content-type] => Array
                                    (
                                        [0] => application/xml;charset=ISO-8859-1
                                    )

                                [cache-control] => Array
                                    (
                                        [0] => max-age=180
                                    )

                                [expires] => Array
                                    (
                                        [0] => Fri, 12 Jan 2018 18:24:18 GMT
                                    )

                                [strict-transport-security] => Array
                                    (
                                        [0] => max-age=31536000
                                    )

                                [vary] => Array
                                    (
                                        [0] => User-Agent
                                    )

                                [set-cookie] => Array
                                    (
                                        [0] => TS01b793ab=01ed0a5ec26d231f4ee0ccdaf93e8cb19cd45b63c596d8a0c6f5edea663949c0758286a0bb; Path=/
                                    )

                            )

                    )

                [status_code] => 400
                [protocol_version] => 1.1
                [success] => 
                [redirects] => 0
                [url] => https://ws.pagseguro.uol.com.br/v2/[email protected]&token=3D16FA109BBE4D6596A42177668A036A
                [history] => Array
                    (
                    )

                [cookies] => Requests_Cookie_Jar Object
                    (
                        [cookies:protected] => Array
                            (
                                [TS01b793ab] => Requests_Cookie Object
                                    (
                                        [name] => TS01b793ab
                                        [value] => 01ed0a5ec26d231f4ee0ccdaf93e8cb19cd45b63c596d8a0c6f5edea663949c0758286a0bb
                                        [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                            (
                                                [data:protected] => Array
                                                    (
                                                        [path] => /
                                                        [domain] => ws.pagseguro.uol.com.br
                                                    )

                                            )

                                        [flags] => Array
                                            (
                                                [creation] => 1515781278
                                                [last-access] => 1515781278
                                                [persistent] => 
                                                [host-only] => 1
                                            )

                                        [reference_time] => 1515781278
                                    )

                            )

                    )

            )

        [filename:protected] => 
        [data] => 
        [headers] => 
        [status] => 
    )

)

from woocommerce-pagseguro.

pandacreative avatar pandacreative commented on June 18, 2024

RESOLVIDO!!! Problema era o LAST_NAME. Ocultei o campo para diminuir a quantidade de campos para o cliente cadastrar e por algum motivo o pagseguro bugou, nunca tinha bugado mas acho que depois da ultima atualização deve ter mudado algo. Enfim, resolvido, ativei de novo o campo e voltou a funcionar tudo.

from woocommerce-pagseguro.

jhoudecarvalho avatar jhoudecarvalho commented on June 18, 2024

Estou com o mesmo problema, mas ao não preencher o campo, COMPLEMENTOS no checkout passa tranquilo, sabe como posso fazer pra resolver isso?

from woocommerce-pagseguro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.