Overview
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?
Posted by Ray 3 years ago
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
Posted by Cedric Thiry 3 years ago
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.
Posted by Salim 2 years ago
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
Posted by Mohit 2 years ago
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??
Posted by Bhumika 2 years ago
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
Posted by Darin about a year ago
When reaching the API, I need to submit width, height, length, along with weight to get accurate rates. How best do I go about adding up all the product dimensions to get realistic results? For example, the customer buys 4 products measuring 2 x 4 x 4. Do I multiply these numbers by the quantity to get a box size of 8 x 16 x 16? It doesn't seem rational.. wouldn't it instead be something closer to 8 x 4 x 4 box?
Posted by Roynel Flores 2 years ago
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
Posted by Hendra Wahyudi 2 years ago
Hi, I am software developer, i can't able to access the sandbox api. when i tried to create a shipment it throws bad request error. Request : URL : https://api.easyship.com/shipment/v1/shipments Method : POST Body : {"platform_name": "Shopify","platform_order_number": "Test07Aug001","destination_country_alpha2": "AU","selected_courier_id": "94c3cfc5-e6f1-4200-8dc5-eaef068e9ccd","destination_city": "Wetherill Park","destination_postal_code": "2164","destination_state": "NSW","destination_name": "Aloha Chen","destination_address_line_1": "TCT, Kamarajar Salai","destination_address_line_2": null,"destination_phone_number": "+1 234-567-890","destination_email_address": "[email protected]","items": [{"description": "Silk dress","sku": "test", "actual_weight": 1.2, "height": 10,"width": 15,"length": 20,"category": "fashion","declared_currency": "AUD","declared_customs_value": 100}]} Response : (400) Bad Request {"ActiveRecord::StatementInvalid":"PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block\n: INSERT INTO \"shipments\" (\"type\", \"company_id\", \"shipment_state\", \"pickup_state\", \"transaction_state\", \"label_state\", \"manifest_state\", \"delivery_state\", \"store_state\", \"warehouse_state\", \"fraud_state\", \"destination_name\", \"platform_order_number\", \"platform_name\", \"destination_country_id\", \"buyer_selected_courier_id\", \"address_line_1\", \"state\", \"city\", \"postal_code\", \"phone_number\", \"email_address\", \"store_id\", \"origin_country_id\", \"currency\", \"service\", \"sort_by\", \"tracking_engine\", \"easyship_shipment_id\", \"pickup_address_id\", \"created_at\", \"updated_at\") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32) RETURNING \"id\""}
Posted by Ram 2 years ago
Tried to update the callback url on the sandbox section and a popup notification with following message 'Your API settings have been successfully updated' appeared. But the callback url value didn't stick or recorded under the callback_url field. Did I miss out anything for the callback url setup?
Posted by Takatack Developers 3 years ago
Hello, is it possible to use Easyship API to calculate Taxes and Vat for a given product? E.g I want to sell a product from UK, to someone in Korea. The product costs $100 excluding taxes and VAT- but what will the end price be for the person in Korea? I need an API to find this information. Is this possible with Easyship? Thanks
Posted by Mathew Oakleaf 2 years ago
Hi Support, I am using your api integration on my side. My email account is [email protected] Already created an app in your account. I have 2 keys sandbox and live, Using sandbox details now , but getting an error while i am requesting ( User doesn't have permissions for this request ). Whsta steps i need to follow for getting permission on my site.Please Respond me as soon as possible. website url: http://sgwebdesigner.org/smh/api.php Thanks
Posted by vikas 3 years ago