Woocommerce Integration Error at Checkout
-
Hi Team,
We are stuck at a point with the integration of this plugin on our Woocommerce website. We are continuously getting the following error:
“No shipping method has been selected. Please double check your address, or contact us if you need any help.”
Yes, we have weight, volume and a valid Pickup and Shipping address given at the checkout. The API details are correct as far as we can see. cURL is enabled on the server.
The Sendle Debug says: {“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;
Your help would be much appreciated. If you need any further details, please do let me know.
Here is the full code from Debug:
==================================18-Nov-Fri 04:33:02 shipping-zone calculate_shipping https://sandbox.sendle.com/api/quote?pickup_suburb=Kholo&pickup_postcode=4306&kilogram_weight=4&cubic_metre_volume=0.002&delivery_suburb=Brisbane+City&delivery_postcode=4000&plan_name=Easy
18-Nov-Fri 04:33:06 shipping-zone calculate_shipping a:6:{s:7:”headers”;O:42:”Requests_Utility_CaseInsensitiveDictionary”:1:{s:7:”*data”;a:14:{s:6:”server”;s:6:”Cowboy”;s:4:”date”;s:29:”Fri, 09 Nov 2018 04:33:05 GMT”;s:15:”x-frame-options”;s:10:”SAMEORIGIN”;s:16:”x-xss-protection”;s:13:”1; mode=block”;s:22:”x-content-type-options”;s:7:”nosniff”;s:12:”content-type”;s:31:”application/json; charset=utf-8″;s:13:”cache-control”;s:8:”no-cache”;s:10:”set-cookie”;s:262:”marketing_referer=https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000%26plan_name%3DEasy; path=/; secure”;s:12:”x-request-id”;s:36:”ad5013e6-5af1-45a9-9f80-8c979afc6bd7″;s:9:”x-runtime”;s:8:”1.480796″;s:4:”vary”;s:15:”Accept-Encoding”;s:16:”content-encoding”;s:7:”deflate”;s:25:”strict-transport-security”;s:16:”max-age=31536000″;s:3:”via”;s:9:”1.1 vegur”;}}s:4:”body”;s:225:”{“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;s:8:”response”;a:2:{s:4:”code”;i:422;s:7:”message”;s:20:”Unprocessable Entity”;}s:7:”cookies”;a:1:{i:0;O:14:”WP_Http_Cookie”:5:{s:4:”name”;s:17:”marketing_referer”;s:5:”value”;s:188:”https://sandbox.sendle.com/api/quote?pickup_suburb=Kholo&pickup_postcode=4306&kilogram_weight=4&cubic_metre_volume=0.002&delivery_suburb=Brisbane+City&delivery_postcode=4000&plan_name=Easy”;s:7:”expires”;N;s:4:”path”;s:1:”/”;s:6:”domain”;s:18:”sandbox.sendle.com”;}}s:8:”filename”;N;s:13:”http_response”;O:25:”WP_HTTP_Requests_Response”:5:{s:11:”*response”;O:17:”Requests_Response”:10:{s:4:”body”;s:225:”{“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;s:3:”raw”;s:989:”HTTP/1.1 422 Unprocessable Entity
Server: Cowboy
Date: Fri, 09 Nov 2018 04:33:05 GMT
Connection: close
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
Cache-Control: no-cache
Set-Cookie: marketing_referer=https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000%26plan_name%3DEasy; path=/; secure
X-Request-Id: ad5013e6-5af1-45a9-9f80-8c979afc6bd7
X-Runtime: 1.480796
Vary: Accept-Encoding
Content-Encoding: deflate
Strict-Transport-Security: max-age=31536000
Transfer-Encoding: chunked
Via: 1.1 vegur{“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;s:7:”headers”;O:25:”Requests_Response_Headers”:1:{s:7:”*data”;a:14:{s:6:”server”;a:1:{i:0;s:6:”Cowboy”;}s:4:”date”;a:1:{i:0;s:29:”Fri, 09 Nov 2018 04:33:05 GMT”;}s:15:”x-frame-options”;a:1:{i:0;s:10:”SAMEORIGIN”;}s:16:”x-xss-protection”;a:1:{i:0;s:13:”1; mode=block”;}s:22:”x-content-type-options”;a:1:{i:0;s:7:”nosniff”;}s:12:”content-type”;a:1:{i:0;s:31:”application/json; charset=utf-8″;}s:13:”cache-control”;a:1:{i:0;s:8:”no-cache”;}s:10:”set-cookie”;a:1:{i:0;s:262:”marketing_referer=https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000%26plan_name%3DEasy; path=/; secure”;}s:12:”x-request-id”;a:1:{i:0;s:36:”ad5013e6-5af1-45a9-9f80-8c979afc6bd7″;}s:9:”x-runtime”;a:1:{i:0;s:8:”1.480796″;}s:4:”vary”;a:1:{i:0;s:15:”Accept-Encoding”;}s:16:”content-encoding”;a:1:{i:0;s:7:”deflate”;}s:25:”strict-transport-security”;a:1:{i:0;s:16:”max-age=31536000″;}s:3:”via”;a:1:{i:0;s:9:”1.1 vegur”;}}}s:11:”status_code”;i:422;s:16:”protocol_version”;d:1.100000000000000088817841970012523233890533447265625;s:7:”success”;b:0;s:9:”redirects”;i:0;s:3:”url”;s:188:”https://sandbox.sendle.com/api/quote?pickup_suburb=Kholo&pickup_postcode=4306&kilogram_weight=4&cubic_metre_volume=0.002&delivery_suburb=Brisbane+City&delivery_postcode=4000&plan_name=Easy”;s:7:”history”;a:0:{}s:7:”cookies”;O:19:”Requests_Cookie_Jar”:1:{s:10:”*cookies”;a:1:{s:17:”marketing_referer”;O:15:”Requests_Cookie”:5:{s:4:”name”;s:17:”marketing_referer”;s:5:”value”;s:228:”https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000%26plan_name%3DEasy”;s:10:”attributes”;O:42:”Requests_Utility_CaseInsensitiveDictionary”:1:{s:7:”*data”;a:3:{s:4:”path”;s:1:”/”;s:6:”secure”;b:1;s:6:”domain”;s:18:”sandbox.sendle.com”;}}s:5:”flags”;a:4:{s:8:”creation”;i:1541737986;s:11:”last-access”;i:1541737986;s:10:”persistent”;b:0;s:9:”host-only”;b:1;}s:14:”reference_time”;i:1541737986;}}}}s:11:”*filename”;N;s:4:”data”;N;s:7:”headers”;N;s:6:”status”;N;}}
18-Nov-Fri 04:33:06 legacy calculate_shipping https://sandbox.sendle.com/api/quote?pickup_suburb=Kholo&pickup_postcode=4306&kilogram_weight=4&cubic_metre_volume=0.002&delivery_suburb=Brisbane+City&delivery_postcode=4000
18-Nov-Fri 04:33:08 legacy calculate_shipping a:6:{s:7:”headers”;O:42:”Requests_Utility_CaseInsensitiveDictionary”:1:{s:7:”*data”;a:14:{s:6:”server”;s:6:”Cowboy”;s:4:”date”;s:29:”Fri, 09 Nov 2018 04:33:08 GMT”;s:15:”x-frame-options”;s:10:”SAMEORIGIN”;s:16:”x-xss-protection”;s:13:”1; mode=block”;s:22:”x-content-type-options”;s:7:”nosniff”;s:12:”content-type”;s:31:”application/json; charset=utf-8″;s:13:”cache-control”;s:8:”no-cache”;s:10:”set-cookie”;s:243:”marketing_referer=https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000; path=/; secure”;s:12:”x-request-id”;s:36:”98b68acd-bc17-432e-ada2-a6863c2466b9″;s:9:”x-runtime”;s:8:”1.374290″;s:4:”vary”;s:15:”Accept-Encoding”;s:16:”content-encoding”;s:7:”deflate”;s:25:”strict-transport-security”;s:16:”max-age=31536000″;s:3:”via”;s:9:”1.1 vegur”;}}s:4:”body”;s:225:”{“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;s:8:”response”;a:2:{s:4:”code”;i:422;s:7:”message”;s:20:”Unprocessable Entity”;}s:7:”cookies”;a:1:{i:0;O:14:”WP_Http_Cookie”:5:{s:4:”name”;s:17:”marketing_referer”;s:5:”value”;s:173:”https://sandbox.sendle.com/api/quote?pickup_suburb=Kholo&pickup_postcode=4306&kilogram_weight=4&cubic_metre_volume=0.002&delivery_suburb=Brisbane+City&delivery_postcode=4000″;s:7:”expires”;N;s:4:”path”;s:1:”/”;s:6:”domain”;s:18:”sandbox.sendle.com”;}}s:8:”filename”;N;s:13:”http_response”;O:25:”WP_HTTP_Requests_Response”:5:{s:11:”*response”;O:17:”Requests_Response”:10:{s:4:”body”;s:225:”{“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;s:3:”raw”;s:970:”HTTP/1.1 422 Unprocessable Entity
Server: Cowboy
Date: Fri, 09 Nov 2018 04:33:08 GMT
Connection: close
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
Cache-Control: no-cache
Set-Cookie: marketing_referer=https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000; path=/; secure
X-Request-Id: 98b68acd-bc17-432e-ada2-a6863c2466b9
X-Runtime: 1.374290
Vary: Accept-Encoding
Content-Encoding: deflate
Strict-Transport-Security: max-age=31536000
Transfer-Encoding: chunked
Via: 1.1 vegur{“messages”:{“base”:[“is not yet serviced by Sendle”]},”error”:”unprocessable_entity”,”error_description”:”The data you supplied is invalid. Error messages are in the messages section. Please fix those fields and try again.”}”;s:7:”headers”;O:25:”Requests_Response_Headers”:1:{s:7:”*data”;a:14:{s:6:”server”;a:1:{i:0;s:6:”Cowboy”;}s:4:”date”;a:1:{i:0;s:29:”Fri, 09 Nov 2018 04:33:08 GMT”;}s:15:”x-frame-options”;a:1:{i:0;s:10:”SAMEORIGIN”;}s:16:”x-xss-protection”;a:1:{i:0;s:13:”1; mode=block”;}s:22:”x-content-type-options”;a:1:{i:0;s:7:”nosniff”;}s:12:”content-type”;a:1:{i:0;s:31:”application/json; charset=utf-8″;}s:13:”cache-control”;a:1:{i:0;s:8:”no-cache”;}s:10:”set-cookie”;a:1:{i:0;s:243:”marketing_referer=https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000; path=/; secure”;}s:12:”x-request-id”;a:1:{i:0;s:36:”98b68acd-bc17-432e-ada2-a6863c2466b9″;}s:9:”x-runtime”;a:1:{i:0;s:8:”1.374290″;}s:4:”vary”;a:1:{i:0;s:15:”Accept-Encoding”;}s:16:”content-encoding”;a:1:{i:0;s:7:”deflate”;}s:25:”strict-transport-security”;a:1:{i:0;s:16:”max-age=31536000″;}s:3:”via”;a:1:{i:0;s:9:”1.1 vegur”;}}}s:11:”status_code”;i:422;s:16:”protocol_version”;d:1.100000000000000088817841970012523233890533447265625;s:7:”success”;b:0;s:9:”redirects”;i:0;s:3:”url”;s:173:”https://sandbox.sendle.com/api/quote?pickup_suburb=Kholo&pickup_postcode=4306&kilogram_weight=4&cubic_metre_volume=0.002&delivery_suburb=Brisbane+City&delivery_postcode=4000″;s:7:”history”;a:0:{}s:7:”cookies”;O:19:”Requests_Cookie_Jar”:1:{s:10:”*cookies”;a:1:{s:17:”marketing_referer”;O:15:”Requests_Cookie”:5:{s:4:”name”;s:17:”marketing_referer”;s:5:”value”;s:209:”https%3A%2F%2Fsandbox.sendle.com%2Fapi%2Fquote%3Fpickup_suburb%3DKholo%26pickup_postcode%3D4306%26kilogram_weight%3D4%26cubic_metre_volume%3D0.002%26delivery_suburb%3DBrisbane%2BCity%26delivery_postcode%3D4000″;s:10:”attributes”;O:42:”Requests_Utility_CaseInsensitiveDictionary”:1:{s:7:”*data”;a:3:{s:4:”path”;s:1:”/”;s:6:”secure”;b:1;s:6:”domain”;s:18:”sandbox.sendle.com”;}}s:5:”flags”;a:4:{s:8:”creation”;i:1541737988;s:11:”last-access”;i:1541737988;s:10:”persistent”;b:0;s:9:”host-only”;b:1;}s:14:”reference_time”;i:1541737988;}}}}s:11:”*filename”;N;s:4:”data”;N;s:7:”headers”;N;s:6:”status”;N;}}
The page I need help with: [log in to see the link]
- The topic ‘Woocommerce Integration Error at Checkout’ is closed to new replies.