• Resolved topopti

    (@topopti)


    When we try to execute a refund /woocommerce-services-new-order-taxjar-2.4.1.js is throwing the following error:

    Uncaught SyntaxError: Expected ',' or '}' after property value in JSON at position 165 (line 1 column 166)
    at JSON.parse ()
    at HTMLDocument. (woocommerce-services-new-order-taxjar-2.4.1.js:1:1153)
    ...

    When I view the string that we’re trying to parse into JSON it looks like we have double quotes that are improperly inserted/not properly being escaped.

    {"action":"woocommerce_refund_line_items",...,"line_item_totals":"{"99046":0,"99047":0}","line_item_tax_totals":"{"99046":{"42":0},"99047":{"42":0}}", ...}

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug in woocommerce-services-new-order-taxjar-2.4.1.js during refund.’ is closed to new replies.