Discussions

Ask a Question
ANSWERED

Error 1010 - Access Denied - API Integration with Java

I am testing the Create Shipments API with EasyShip's sandbox environment. Calling the API via postman is successful but when I call the same API via Java, I will get the following: Error 1010 : Access Denied. The owner of this website (api-sandbox.easyship.com) has banned your access based on your browser's signature (.....). Is the sandbox server blocking the API request?

Woocommerce Plugin Bug

The Easyship plug-in for Wordpress/Woocommerce is causing issues with my site and reading through the support section of the plug-in other are experiencing this as well. https://wordpress.org/plugins/easyship-woocommerce-shipping-rates Wordpress Site Health check is showing the 4 errors below when Easyship plug-in is turned on. 1. The REST API request failed due to an error. Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 out of -1 bytes received 2. The loopback request to your site failed, this means features relying on them are not currently working as expected. Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 out of -1 bytes received 3. The scheduled event, action_scheduler_run_queue, is late to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended. 4. Background updates ensure that WordPress can auto-update if a security update is released for the version you are currently using. When looking through the debug logs I noticed that my error logs are filling up with the following 4 error messages. 1. PHP Warning: session_start(): Cannot start session when headers already sent in /home/forgetme/public_html/wp-content/plugins/easyship-woocommerce-shipping-rates/easyship.php on line 73 2. PHP Notice: Undefined index: es_api_key in /home/forgetme/public_html/wp-content/plugins/easyship-woocommerce-shipping-rates/includes/easyship-api.php on line 32 3. PHP Notice: Undefined index: es_api_secret in /home/forgetme/public_html/wp-content/plugins/easyship-woocommerce-shipping-rates/includes/easyship-api.php on line 33 4. PHP Notice: Undefined index: es_taxes_duties in /home/forgetme/public_html/wp-content/plugins/easyship-woocommerce-shipping-rates/includes/easyship-api.php on line 36 I like using your product for my shipping needs, but this plug-in doesn't get fixed soon then I"m going to need to start looking for a different shipping partner since this is impact the performance of my Woocommerce site. Additional info that might be helpful: WordPress version: 5.3.2 WooCommerce version: 3.9.2 PHP version: 7.3.14
ANSWERED

API for Prestashop

Dear Team, When meeting Eric Mui earlier this summer, he told me you would have a Prestashop API ready by now. Is this available as a package? From now on we can access the low level code of your API, but my developers is wondering if there is any fully packaged API for Prestashop, Cedric Thiry, SEED Advisory, on behalf of MyExclusivebrands.com
ANSWERED

Validation Failure Error in API response

Hello Easyship team, I am using your API in my website in curl format, so i have used the following code: ---------------------------------------------code starts here ------------------------------------------ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://api.easyship.com/rate/v1/rates"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_POST, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS, "{ \"origin_country_alpha2\": \"SG\", \"origin_postal_code\": \"WC2N\", \"destination_country_alpha2\": \"US\", \"destination_postal_code\": \"10030\", \"taxes_duties_paid_by\": \"Sender\", \"is_insured\": false, \"items\": [ { \"actual_weight\": 1.2, \"height\": 10, \"width\": 15, \"length\": 20, \"category\": \"mobiles\", \"declared_currency\": \"SGD\", \"declared_customs_value\": 100 } ] }"); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "Content-Type: application/json", "Authorization: Bearer 4e2b327e2ef5471885cd0bc50a0c9fe52481793bd309b2c4f2a6bdac3f10ae1f" )); $response = curl_exec($ch); curl_close($ch); var_dump($response); -------------------------------------------------- code ends here ---------------------------------------- but it is giving me the following response : "string(146) "{"rates":[],"messages":["Validation Failure: No credentials","Sorry, we couldn't find any shipping solutions based on the information provided."]}"" Please provide me a solution so that i can use it. thanks
ANSWERED

Easyship testing shipment

I am generating shipments for testing Easyship API and api giving me response and shipment is created but when i am buying label and hit on api with "easyship_shipment_id" and "courier_id" its showing error "Shipments not found or labels already requested".Can you please tell me where i can see my all testing generated shipments??
ANSWERED
ANSWERED

Invalid header line detected

Hi I am using Easyship extension for magento 1.9.3.1 version. I have setup REST API configuration as per extension but still I can not Active extension. When I request for API "https://api.easyship.com/api/v1/magento/registrations" its showing "Invalid header line detected" in response. Please help me so can active extension from admin.
ANSWERED

WSGIRequest' object has no attribute 'type

I'm using django to to integrate esyship with our manufacturing system and when the shipment creation event is triggered , we are getting this error " 'WSGIRequest' object has no attribute 'type' ." I would appreciate if your technical tean could help me out . Thanks !
ANSWERED

No UPS, DHL and FexEX Couriers shown

Hello, We are developing e-commerce website at the moment and are using your easyship plugin for Woocommerce. However, we can only see USPS courier when trying to check out .... Could you please advise how I can activate the other couriers (UPS, DHL and FedEX) in your plugin? Thank you and look forward to hearing from you soon. Kind Regards, Hendra