Shipstation Tracking info not being populated
-
Hi, I have implemented the code into the ShipStation plugin as outlined in a post online after line 337 but the Meta data is still not being populated into the tracking information, The Order has been marked as Shipped but no tracking information transferred.
Cheers
MarkThe page I need help with: [log in to see the link]
-
Hi, we gave an example of the code to change since the ShipStation plugin developer ((WooCommerce) is not willing to add compatibility in their plugin, I would suggest asking your developer to debug the process or you can contact the ShipStation plugin developer and ask to add compatibility.
Hi Support,
I have just got off a phone call with Shipstation actual support NOT WooCommerce “Shipstation Integration” developer.
ShipStation are happy to partner with you to make your plugin compatible with WooCommerce & them. It’s a simple partner request that you can complet on their site. I spoke to a guy called Alex (Australia Support) who was very helpful and gave me the ShipStation feed that is sent from ShipStation platform back to WooCommerce. He also said the code that you are providing to modify the ShipStation Integration plugin might be out-of-date.
Here is a link to the actual feed and API Requests from ShipStation:
https://drive.google.com/file/d/1yG80RQXXiNUb5XmpdQa0_cJm7aBfNoYm/view?usp=sharingCould you please review the code posted online to check whether it is correct
Much appreciated.
Hi,
1. We contacted WooCommerce on the beginning of June and sent them all the details for the compatibility, we are waiting for them, We will follow up with them and you can also contact WooCommerce and ask them to add compatibility.The feed is not something we can use since it is sent to their plugin and they should add the compatibility the same as they do for their official plugin. The ShipStation plugin hook that they provide in the plugin to add the tracking info to the order works only after it changes the order status to “Completed”. in this case, the tracking into is not sent automatically to the customer in the emails.
The solution can be to change the order of actions in the ShipStation integration plugin code so it will change the order status only after the tracking info hook they provide and then we can provide a code snippet that will add the tracking info to the AST fields.
Or the best solution can be adding a small code that checks if AST is installed and if yes to add the tracking info to the AST meta fields and than we can ask our users to remove the code snippet and we will be fully compatible:
if ( class_exists( ‘WC_Advanced_Shipment_Tracking_Actions’ ) ) {
$args = array(
‘tracking_provider’ => $carrier,
‘tracking_number’ => $tracking_number,
‘date_shipped’ => $timestamp,
);
$ast = new WC_Advanced_Shipment_Tracking_Actions;
$tracking_item = $ast->insert_tracking_item( $order_id, $args );
}Thanks
Hi Zorem,
So with the best solution, where do we actually add the code snippet you provided above?
We use AST and have elected to change “Completed” status to “Shipped” with the setting of your plugin. So we revert back to “Completed”?
I’m happy to remove the code later or keep inserting it if the Shipstation Integration plugin updates.
Cheers
MarkNo, since the code snippet will work only after the ShipStation plugin marks the order as Shipped (Completed). We asked WC developers to change the order of actions in their plugin and to change the location of the hook we can use to be before changing the order status and then you can use the code snippet.
OR we gave them to option to add the code that adds the tracking without the need for a code snippet.Hi Zorem,
So what are my options?
Are you saying that AST and ShipStation at the moment cannot function together and my only option after spending so much time on this is to look for another plugin that can handle this?
All we want is to get the tracking info onto the My_account View Order page and into the Shipped Email.
CheersHi, I sent you to the example code + instructions of how to edit the ShipStation plugin in order to make it work automatically, we tested this code and its working, we have a few premium TrackShip users that set it up and its working for them.
In parallel, we contacted WooCommerce and asked to add the compatibility and we will be happy to help and provide any code they need to add the compatibility and you can contact them as well, this is not in our hands, you can contact ShipStation and WooCommerce and ask them to add compatibility.
Thanks
this is the link to the instructions, search for ShipStation:
https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/compatibility/Hi Zorem,
I have added that code into the ShipStation Integration plugin file and it’s not working for me. Can you possibly check if I have done it correcty? I’m fairly sure I have.
Cheers
Hi, this is out of our support scope, sorry, we are not allowed to ask for admin details and we can’t check your website, I hope you understand.. I posted the request for compatibility also on the ShipStation support forum (continued your thread) – I will be happy to help them with any Q to help them to add built-in compatibility ASAP
Thanks!
Here is a link to the mofified file as per your instructional code snipet.
Could you check if it’s okay!https://drive.google.com/file/d/105GxKE5IvgJVviGMAO71-4uIuxCMza3J/view?usp=sharing
Cheers
MarkCommenting here to follow the thread, because I also have the same issue.
-
This reply was modified 4 years, 5 months ago by
starseedjeff.
Hi Eran,
I have discovered something strange after completing our discussion with @mikestraw
We have 2 stores:One in Seattle using USPS, UPS & DHL and one in Australia using Australia Post & Sendle.
Both stores have the same modification to the shipstation notify php file but the USA store adds the tracking information to the order and the Australia store does not.
How is that explained?
Cheers
MarkIt might be that the Shipping Provider name for Australia Post does not match, what is the Provider name that they send?
Hi @zorem
I have checked the data exported by ShipStation and the carrier=AustraliaPost without any spaces.
So what do I need to do now?
Cheers
Mark -
This reply was modified 4 years, 5 months ago by
- The topic ‘Shipstation Tracking info not being populated’ is closed to new replies.