• Resolved zhex90

    (@zhex90)


    Hi,

    I have a problem where I cannot create shipment after the order is made. I have check your code.

    sendle-admin-feature.php
    line 27 $sendle_order_id will return null. Since sendle order is not created yet.

    This will break the GET /api/orders/{$sendle_order_id}. The response is
    {
    “error”: “not_found”,
    “error_description”: “The resource you requested was not found. Please check the URI and try again.”
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter zhex90

    (@zhex90)

    I fixed it by change line 55 sendle-admin-feature.php

    to

    if(!isset($ostatus) || $sendle_order_id== "" ){ $ostatus['state'] = "yet to post"; }

    Plugin Author Joovii

    (@joovii)

    Hi,
    Thanks for you feedback. This issue was resolved in one of the earlier releases. If you have experienced this issue you may find other bugs which have since been resolved. Please update to 2.2.3 which is current latest.

    Joovii Team.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot create shipment for orders’ is closed to new replies.