How Can We Help?
You can place your orders automatically using the official AliExpress API. This is the fastest way to place orders nowadays.
Before starting with this method, you have to input your purchase code in the plugin settings and get the access token from AliExpress. In fact, the AlIExpress portal allows you to access their API through that token.
The best thing is that you don’t need to update your access token every day because it’s valid for 30 days. We show the token expiration date, so you can refresh it when the time will come.
Links for quick navigation in this article:
- How to get AliExpress Token?
- How to place orders using AlIExpress API?
- How to place orders having Brazilian or Chille address?
- How to sync products via AliExpress API?
- How to change the order shipping address easily?
- How to place an order again?
How to get AliExpress Token?
You have to get the Access token otherwise the feature will not work. This is requirement of AlIExpress platform.
We described the process in the separate article, the process includes just a few steps.
How to place orders using AliExpress API?
If you successfully completed steps from the previous section and your access token is not expired, you can start to place your orders via API.
Open WooCommerce > Orders page and press the green button to place the single orders. Also, you can tick several orders and place multiple orders.
Use any of these methods to launch the order fulfillment process. In the next step, you will see the order fulfillment confirmation popup.
Please note, that you can change the shipping method of any order on this step. However, it’s not necessary and it’s fine to use preselected shipping options.
Click Fulfill orders automatically.
Normally it will take about 2-3 seconds to place each order, it depends on your internet connection speed. Once all orders are placed, you will see the status near each order. If you see “Done”, then your order has been placed successfully. There can be other statuses like “incorrect address”, “no purchase key”, “expired access token”, etc. When you see those errors, you need to take the appropriate action and then place orders again.
If the plugin has placed your orders, you should see the “Pay for order(s)” button. Click on the button and Ali2Woo will open the pending orders page on AlIExpress in the new browser tab. On that page, you can pay for your orders in bulk or one by one to finalize them.
How to place orders having Brazilian or Chille address?
Each order you send to Brazilian or Chillee address should come with CPF and RUT fields accordighly. For this purpose we added a new CPF meta field and RUT meta field option to the plugin settings.
As you know by default Woocomemrce doesn’t have nor CPF or RUT field as part of the shipping address. Fortunelly, you can easily get that functionality by using an appropriate third-part plugin. For example if you want to add CPF field you can use Brazilian Market on WooCommerce plugin. A similar plugins should be available for RUT field.
Please note any of those plugins add CPF and RUT as custom fields to the order, so you have to contact third-party support to know the name meta field and then just insert it to the settings. (for example Brazilian Market plugin is using “_billing_cpf” field key with underscore to keep CPF code, therefore you have to add this key to the plugin settings)
How to sync products via AliExpress API?
We’re going to add this feature in the next plugin releases. Currently, you can use sync the orders through the chrome extension.
How to change the order shipping address easily?
Sometimes, you might see your order is not placed due to an invalid shipping address. In this case, you will see the error message in the popup.
If you face this problem, you should change the shipping address in your order and try to place it again. In the screenshot above you can see “Edit” button after “Ship to” field. Click on it to switch to popup in edit mode.
Please note: if you don’t know what fields caused the shipping address problem, try to open your account on AliExpress and go to “Shipping address” page. There you can try to add the same address and make sure you do that correctly.
How to place an order again?
When your order has been placed, it receives the AlIExpress order ID. You need to open the order editing page and click on Reset A2W Order Data to remove that id. Afterward, you will be able to place the order again.
Hi There I have changed the address several times but still keep getting the “invalid shipping address” I have also gone to aliexpress to update shipping it does not seem to work. is there another solution?
Hello, when using Aliepxress API to fulfill the order, the customer data is transmitted directly to Aliexpress order page to fulfill, also the data is not affected or proceeded by our plugin.
Orders functionality uses the official API of AliExpress which only accepts unaccented Latin characters in shipping addresses so please use the chrome extension to fulfill orders whose address(including customer’s name) contains: – Non-Latin characters – Accented words that affect the address if their accents are removed Please try our recommendation in fulfilling using the Chrome extension in this case to see if the problem is solved.
Did you ever fix this problem? I’m having the same issue.
Please contact our support center: https://support.al2woo.com
Le lien n’est pas valide 🙂
Let us know if you have further questions
Why does a placed and fulfilled order not have ID # or Tracking # in the order editing page?
Once you placed the order on AliExpress using API, the order ID is saved to the order and you can find it on the order editing page too. The tracking number will appear when two conditions are met: you synchronize such an order with AliExpress and your supplier (saliexpress seller) added the tracking number to the order on AliExpress.
Thank you for your order. We are processing it now.
I can’t add my website for some reason.
I’m living in Thailand. I can’t register as a seller. Can I get AliExpress API?
Please contact our support center.
I am getting errors and errors, I am frustated.
Please contact our support center: https://support.al2woo.com
Fixed. Thanks
Isn’t there any way to put total_cost in the table next to the AliExpress Order ID? Or insert it somewhere in custom fields? Because in Brazil we need the cost of the order to make the invoice to pay the taxes.
Hello, yes, sure we can add such a feature, could you send the feature request to our support center:
https://support.ali2woo.com
I got error:
ERROR_WHEN_BUILD_FOR_PLACE_ORDER
When use:
aliexpress.trade.buy.placeorder
Hello, we have fixed that error. You have to updated the plugin to latest version.
The operation is failed!
You need to use a correct API Key.
Please make sure that you get AliExpress or if you have one, try to regenerate it.
Please check the following article: https://help.ali2woo.com/codex/how-to-get-access-token-from-aliexpress/
The same problem.
In fulfill button this error:
Invalid shipping address. Inserisci 9 o 10 carachter.
When our plugin places an order on AliExpress, it should match your customer shipping address (you have in WooCommerce order) with AliExpress portal address.
If it’s not possible, you different kind of errors with the tip.
Try to fill the same address on AliExpress using their built-in address autocomplete form and it should help you to find a error.
Or you can contact our support center.