• Olá,

    Quando o cliente PJ coloca somente um nome na raz?o social, o sistema apresenta o erro no “senderName invalid value: OXIDIGITAL”. Se eu digito mais algmam coisa no na raz?o social, funciona.

    Como podemos resolver isso no plugin?

    LOG

    11-19-2018 @ 11:04:55 - Failed to generate the PagSeguro Payment Token: Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [date] => Mon, 19 Nov 2018 13:04:54 GMT
                        [content-type] => application/xml;charset=ISO-8859-1
                        [cache-control] => max-age=180
                        [expires] => Mon, 19 Nov 2018 13:07:54 GMT
                        [strict-transport-security] => max-age=31536000
                        [vary] => User-Agent
                        [set-cookie] => TS012b6bbf=0160ed0a6c228b2f682da0596ca30e9fc157afd83acf1c5f19e6fce96b3d0cd2ee67c08e30; Path=/
                    )
    
            )
    
        [body] => <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11012</code><message>senderName invalid value: OXIDIGITAL</message></error></errors>
        [response] => Array
            (
                [code] => 400
                [message] => Bad Request
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => TS012b6bbf
                        [value] => 0160ed0a6c228b2f682da0596ca30e9fc157afd83acf1c5f19e6fce96b3d0cd2ee67c08e30
                        [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: OXIDIGITAL</message></error></errors>
                        [raw] => HTTP/1.1 400 Bad Request
    Date: Mon, 19 Nov 2018 13:04:54 GMT
    Content-Type: application/xml;charset=ISO-8859-1
    Cache-Control: max-age=180
    Expires: Mon, 19 Nov 2018 13:07:54 GMT
    Strict-Transport-Security: max-age=31536000
    Vary: User-Agent
    Connection: close
    Set-Cookie: TS012b6bbf=0160ed0a6c228b2f682da0596ca30e9fc157afd83acf1c5f19e6fce96b3d0cd2ee67c08e30; Path=/
    Transfer-Encoding: chunked
    
    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><errors><error><code>11012</code><message>senderName invalid value: OXIDIGITAL</message></error></errors>
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                        [date] => Array
                                            (
                                                [0] => Mon, 19 Nov 2018 13:04:54 GMT
                                            )
    
                                        [content-type] => Array
                                            (
                                                [0] => application/xml;charset=ISO-8859-1
                                            )
    
                                        [cache-control] => Array
                                            (
                                                [0] => max-age=180
                                            )
    
                                        [expires] => Array
                                            (
                                                [0] => Mon, 19 Nov 2018 13:07:54 GMT
                                            )
    
                                        [strict-transport-security] => Array
                                            (
                                                [0] => max-age=31536000
                                            )
    
                                        [vary] => Array
                                            (
                                                [0] => User-Agent
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => TS012b6bbf=0160ed0a6c228b2f682da0596ca30e9fc157afd83acf1c5f19e6fce96b3d0cd2ee67c08e30; Path=/
                                            )
    
                                    )
    
                            )
    
                        [status_code] => 400
                        [protocol_version] => 1.1
                        [success] => 
                        [redirects] => 0
                        [url] => https://ws.pagseguro.uol.com.br/v2/[email protected]&token=99CBA020EFF04EE5ACD0E6BE5E85DFFC
                        [history] => Array
                            (
                            )
    
                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                        [TS012b6bbf] => Requests_Cookie Object
                                            (
                                                [name] => TS012b6bbf
                                                [value] => 0160ed0a6c228b2f682da0596ca30e9fc157afd83acf1c5f19e6fce96b3d0cd2ee67c08e30
                                                [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                                    (
                                                        [data:protected] => Array
                                                            (
                                                                [path] => /
                                                                [domain] => ws.pagseguro.uol.com.br
                                                            )
    
                                                    )
    
                                                [flags] => Array
                                                    (
                                                        [creation] => 1542632695
                                                        [last-access] => 1542632695
                                                        [persistent] => 
                                                        [host-only] => 1
                                                    )
    
                                                [reference_time] => 1542632695
                                            )
    
                                    )
    
                            )
    
                    )
    
                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )
    
    )

    The page I need help with: [log in to see the link]

  • The topic ‘senderName invalid value’ is closed to new replies.