Support » Plugin: Advanced Shipment Tracking for WooCommerce » Pushing Tracking Details for Custom Carrier

  • Resolved Sunny

    (@sunny900)


    Hi team,

    With your help I was able to push tracking details from my plugin to AST, but somehow it doesn’t recognizes the carrier. I have configured the customer carrier as well in the settings yet it tracking doesn’t work.

    This is how I am updating the tracking details:

    $today = date(“Y-m-d”);
    $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
    $args = array(
    ‘tracking_provider’ => ‘Fulfillmen’,
    ‘tracking_number’ => $trackingNum,
    ‘date_shipped’ => $today,
    ‘status_shipped’ => 1,
    );
    $wast->add_tracking_item($order_id, $args);

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.