Ingresar

Distance rate shipping envios

27 de oct de 2022 · 3 respuestas · Resuelto

Isaul27 de oct de 2022
Hola tengo un problema con un plugin orden #43281. ya hice api key de google de hecho antes usaba otro plugin ( pedidos ya ) con esa api key y funcionaba pero con este plugin me da este error Distance not found in cache, will perform API request. Request: Array ( [origins] => Colon 582, Godoy cruz, 5501, Argentina [destinations] => Mendoza, Argentina [mode] => driving [avoid] => none [units] => metric [sensor] => 0 [region] => ar ) Response: Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [content-type] => application/json; charset=UTF-8 [date] => Thu, 27 Oct 2022 22:01:05 GMT [pragma] => no-cache [expires] => Fri, 01 Jan 1990 00:00:00 GMT [cache-control] => no-cache, must-revalidate [vary] => Accept-Language [content-encoding] => gzip [server] => mafe [x-xss-protection] => 0 [x-frame-options] => SAMEORIGIN [server-timing] => gfet4t7; dur=45 [alt-svc] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v=“46,43” ) ) [body] => { “destination_addresses” : [], “error_message” : “API keys with referer restrictions cannot be used with this API.”, “origin_addresses” : [], “rows” : [], “status” : “REQUEST_DENIED” } [response] => Array ( [code] => 200 [message] => OK ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => { “destination_addresses” : [], “error_message” : “API keys with referer restrictions cannot be used with this API.”, “origin_addresses” : [], “rows” : [], “status” : “REQUEST_DENIED” } [raw] => HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8 Date: Thu, 27 Oct 2022 22:01:05 GMT Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-Control: no-cache, must-revalidate Vary: Accept-Language Content-Encoding: gzip Server: mafe X-XSS-Protection: 0 X-Frame-Options: SAMEORIGIN Server-Timing: gfet4t7; dur=45 Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v=“46,43” Connection: close Transfer-Encoding: chunked { “destination_addresses” : [], “error_message” : “API keys with referer restrictions cannot be used with this API.”, “origin_addresses” : [], “rows” : [], “status” : “REQUEST_DENIED” } [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [content-type] => Array ( [0] => application/json; charset=UTF-8 ) [date] => Array ( [0] => Thu, 27 Oct 2022 22:01:05 GMT ) [pragma] => Array ( [0] => no-cache ) [expires] => Array ( [0] => Fri, 01 Jan 1990 00:00:00 GMT ) [cache-control] => Array ( [0] => no-cache, must-revalidate ) [vary] => Array ( [0] => Accept-Language ) [content-encoding] => Array ( [0] => gzip ) [server] => Array ( [0] => mafe ) [x-xss-protection] => Array ( [0] => 0 ) [x-frame-options] => Array ( [0] => SAMEORIGIN ) [server-timing] => Array ( [0] => gfet4t7; dur=45 ) [alt-svc] => Array ( [0] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" ) ) ) [status_code] => 200 [protocol_version] => 1.1 [success] => 1 [redirects] => 0 [url] => [link oculto] [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )
Isaul27 de oct de 2022
perdon si es muy extenso pero queria poner todo lo que me salia desde ya muchas gracias cabe aclarar que antes usaba este [Shipping Zones by Drawing Plugin ] que se los compre pero me daba conflicto con otro plugin asi que decidi desactivar y probar con [Distance rate shipping envios]
OPXLOrbitaPixel✓ Equipo SoporteSolución28 de oct de 2022
Hola, El plugin esta actualizado y podes testearlo nuevamente: Sin embargo, por lo que compartís el error esta en la llamada a API. Podrías crear otra API de pruebas para testearlo?
Isaul3 de nov de 2022
Hola Mariano para cerrar el tema me funciono tu recomendación muchas gracias como siempre
Distance rate shipping envios · Archivo del foro · Órbita