método padr?o n?o aparece
-
Criei uma classe de entrega para testar o plugin, e habilito os metodos padr?o e expresso para essa classe, dentro de uma área de entrega.
Porém o Padr?o n?o aparece, apenas a op??o do Expresso.
-
Olá @edumusa,
Poderia habilitar o log de depura??o para o método Padr?o, repetir o seu teste e copiar o log registrado aqui?
2020-10-15T19:37:21+00:00 CRITICAL SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘data://text/plain;base64,QWNlc3NvIE5lZ2FkbyEgU2V1IElQIGZvaSBhcnF1aXZhZG8gcGFyYSBjb250cm9sZTogMTg2LjIwMi4xNTMuMjA0’ : Start tag expected, ‘<‘ not found
, em /home/storage/2/ed/05/site1381330443/public_html/wp-content/plugins/datadev-total-express-for-woocommerce/includes/class-datadev-total-express-webservice.php, na linha 4572020-10-15T19:38:30+00:00 CRITICAL SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘data://text/plain;base64,QWNlc3NvIE5lZ2FkbyEgU2V1IElQIGZvaSBhcnF1aXZhZG8gcGFyYSBjb250cm9sZTogMTg2LjIwMi4xNTMuMjA0’ : Start tag expected, ‘<‘ not found
, em /home/storage/2/ed/05/site1381330443/public_html/wp-content/plugins/datadev-total-express-for-woocommerce/includes/class-datadev-total-express-webservice.php, na linha 457olá, desculpe, há outros logs mais recentes:
== 1)
10-16-2020 @ 10:27:20 – Weight and cubage of the order: Array
(
[weight] => 0.2
[height] => 12
[width] => 12
[length] => 16
)10-16-2020 @ 10:27:20 – Requesting Total Express WebServices: https://edi.totalexpress.com.br/webservice_calculo_frete.php?wsdl
10-16-2020 @ 10:27:20 – Params: Array
(
[TipoServico] => STD
[CepDestino] => 05319000
[Peso] => 0,20
[ValorDeclarado] => 56,40
[TipoEntrega] => 0
[ServicoCOD] =>
[Altura] => 12,00
[Largura] => 12,00
[Profundidade] => 12,00
)10-16-2020 @ 10:27:20 – Response CodigoProc: 4
10-16-2020 @ 10:43:05 – Weight and cubage of the order: Array
(
[weight] => 0.2
[height] => 12
[width] => 12
[length] => 16
)10-16-2020 @ 10:43:05 – Requesting Total Express WebServices: https://edi.totalexpress.com.br/webservice_calculo_frete.php?wsdl
10-16-2020 @ 10:43:05 – Params: Array
(
[TipoServico] => STD
[CepDestino] => 05319000
[Peso] => 0,20
[ValorDeclarado] => 56,40
[TipoEntrega] => 0
[ServicoCOD] =>
[Altura] => 12,00
[Largura] => 12,00
[Profundidade] => 12,00
)10-16-2020 @ 10:43:06 – Response CodigoProc: 4
10-16-2020 @ 10:57:30 – Weight and cubage of the order: Array
(
[weight] => 0.2
[height] => 12
[width] => 12
[length] => 16
)10-16-2020 @ 10:57:30 – Requesting Total Express WebServices: https://edi.totalexpress.com.br/webservice_calculo_frete.php?wsdl
10-16-2020 @ 10:57:30 – Params: Array
(
[TipoServico] => STD
[CepDestino] => 05319000
[Peso] => 0,20
[ValorDeclarado] => 56,40
[TipoEntrega] => 0
[ServicoCOD] =>
[Altura] => 12,00
[Largura] => 12,00
[Profundidade] => 12,00
)10-16-2020 @ 10:57:30 – Response CodigoProc: 4
========
== 2)10-15-2020 @ 16:11:37 – Response CodigoProc: 4
10-15-2020 @ 16:37:21 – Fail: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘data://text/plain;base64,QWNlc3NvIE5lZ2FkbyEgU2V1IElQIGZvaSBhcnF1aXZhZG8gcGFyYSBjb250cm9sZTogMTg2LjIwMi4xNTMuMjA0’ : Start tag expected, ‘<‘ not found10-15-2020 @ 16:38:30 – Fail: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘data://text/plain;base64,QWNlc3NvIE5lZ2FkbyEgU2V1IElQIGZvaSBhcnF1aXZhZG8gcGFyYSBjb250cm9sZTogMTg2LjIwMi4xNTMuMjA0’ : Start tag expected, ‘<‘ not found
10-15-2020 @ 16:39:40 – Fail: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘data://text/plain;base64,QWNlc3NvIE5lZ2FkbyEgU2V1IElQIGZvaSBhcnF1aXZhZG8gcGFyYSBjb250cm9sZTogMTg2LjIwMi4xNTMuMjA0’ : Start tag expected, ‘<‘ not found
10-15-2020 @ 16:39:49 – Fail: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘data://text/plain;base64,QWNlc3NvIE5lZ2FkbyEgU2V1IElQIGZvaSBhcnF1aXZhZG8gcGFyYSBjb250cm9sZTogMTg2LjIwMi4xNTMuMjA0’ : Start tag expected, ‘<‘ not found
10-15-2020 @ 16:40:55 – Response CodigoProc: 4
10-15-2020 @ 16:42:50 – Response CodigoProc: 4
10-15-2020 @ 16:45:19 – Response CodigoProc: 4
10-15-2020 @ 16:54:09 – Weight and cubage of the order: Array
(
[weight] => 0.2
[height] => 12
[width] => 12
[length] => 16
)10-15-2020 @ 16:54:09 – Requesting Total Express WebServices: https://edi.totalexpress.com.br/webservice_calculo_frete.php?wsdl
10-15-2020 @ 16:54:09 – Params: Array
(
[TipoServico] => STD
[CepDestino] => 05319000
[Peso] => 0,20
[ValorDeclarado] => 56,40
[TipoEntrega] => 0
[ServicoCOD] =>
[Altura] => 12,00
[Largura] => 12,00
[Profundidade] => 12,00
)10-15-2020 @ 16:54:09 – Response CodigoProc: 4
10-15-2020 @ 17:05:08 – Weight and cubage of the order: Array
(
[weight] => 0.2
[height] => 12
[width] => 12
[length] => 16
)10-15-2020 @ 17:05:08 – Requesting Total Express WebServices: https://edi.totalexpress.com.br/webservice_calculo_frete.php?wsdl
10-15-2020 @ 17:05:08 – Params: Array
(
[TipoServico] => STD
[CepDestino] => 05319000
[Peso] => 0,20
[ValorDeclarado] => 56,40
[TipoEntrega] => 0
[ServicoCOD] =>
[Altura] => 12,00
[Largura] => 12,00
[Profundidade] => 12,00
)10-15-2020 @ 17:05:08 – Response CodigoProc: 4
10-15-2020 @ 17:14:56 – Weight and cubage of the order: Array
(
[weight] => 0.2
[height] => 12
[width] => 12
[length] => 16
)10-15-2020 @ 17:14:56 – Requesting Total Express WebServices: https://edi.totalexpress.com.br/webservice_calculo_frete.php?wsdl
10-15-2020 @ 17:14:56 – Params: Array
(
[TipoServico] => STD
[CepDestino] => 05319000
[Peso] => 0,20
[ValorDeclarado] => 56,40
[TipoEntrega] => 0
[ServicoCOD] =>
[Altura] => 12,00
[Largura] => 12,00
[Profundidade] => 12,00
)10-15-2020 @ 17:14:56 – Response CodigoProc: 4
====
Olá, @edumusa,
Agrade?o pelas informa??es.
Parece que você n?o está executando a última vers?o do plugin, por esta raz?o alguns detalhes n?o est?o sendo exibidos no log.
O retorno com CodigoProc = 4 indica alguma coisa errada com os dados enviados para cálculo do pre?o e prazo. Mas acho que n?o é o caso aqui.
Você tem certeza que o seu contrato com a Total Express inclui o servi?o padr?o?Olá,
Estamos marcando como resolvido por falta de retorno.
Um novo tópico poderá ser aberto, se houver necessidade.
Permanecemos à disposi??o ??
- The topic ‘método padr?o n?o aparece’ is closed to new replies.