• Resolved sumit99531

    (@sumit99531)


    Hi,

    There seems to be some API update from your side due to which this plugins code is not working properly.
    In shiprocket-woocommerce-shipping-calculator.php, line 272 var recommeded_courier_id = response.data.recommended_courier_company_id; is giving undefined due to which the condition in line 275 if(recommeded_courier_id !== null && recommeded_courier_id !== '') turns out to be true and because of this in line 277, var etd = recommeded_courier[0].etd; errors out.
    The fix would be to make the line 275 condtion to inclue check for undefined like this if(recommeded_courier_id !== null && recommeded_courier_id !== undefined && recommeded_courier_id !== '')

    Also, spelling mistake in recommeded_courier_id.

    Please do a fix and update the plugin.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Shiprocket

    (@shiprocket)

    @sumit99531 Thanks for notifying this.
    The plugin code issue has been fixed.
    Spelling will be fixed in the next version of plugin release.

    If still facing any issue please drop an email on [email protected] or raise a ticket from the Shiprocket panel with all the details (register email id / Company id, store URL, channel name)

    Thanks & Regards
    Shiprocket

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined error for Check pincode’ is closed to new replies.