philipmulcahy / azad

amazon order history reporter chrome extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check box for Show Invoice Links select, but not displayed or in .csv

vPeteWalker opened this issue · comments

In both the web version and .csv download, invoice links are not displayed for any orders. I selected 2023 as the search criteria.

no response from user - assuming no longer important.

Hi Philip. I have the same problem as above. It affects all orders, including previous years etc. Every other column works fine. Excel spreadsheets don't have the links to invoices either. I created a log file and screenshots. I sent an email with this ticket number 225. If you would like to, I can create a new ticket? Thank you for your help. This is a great app!

@Sunshine-Oh-My let's exhume this one.

  1. Please can you confirm that the column is showing - it's just that the cells in that column show links to invoices?
  2. If yes, then next could you please i) capture an order debug json file for an order that has an empty cell, but you know has an invoice, and for that order, ii) send me a screenshot of the order page that is marked up with the location of the invoice link? Send those two files to azadextension@gmail.com with #225 somewhere in the subject line. DON'T post it here, because the whole of internet will be able to see them, instead of just me!

Yours,

Philip

Hi Philip,

thanks for your help.

  1. Yes. That is right: the invoice column is showing but the cells in that column are all blank.
  2. I sent you an email with what you requested except for one issue that I'm having. Please see my email.

Thanks!

from @Sunshine-Oh-My's json file, I've built a unit test that fails (this is a good thing):

  {
    "test_id": "ORDER_SCRAPE_amazon.com_114-0571216-2380247_2023-11-15",
    "passed": false,
    "defects": [
      "invoice_url should be \"http://www.amazon.com/gp/css/summary/print.html/ref=ppx_od_dt_b_invoice?ie=UTF8&orderID=114-0571216-2380247\" but we got \"\""
    ]
  }

Even better is that the invoice url is there for the taking in the html provided, AND the code is extracting it enough that the invoice_html is visible in the json dump file:

√ ~/tmp/debug 02 % cat ~/dev/azad/src/tests/azad_test_data/data/amazon.com/input/114-0571216-2380247_2023-11-15.json| jq .invoice_html | wc          
       1    2796  123111
√ ~/tmp/debug 02 % 

I'll get going on figuring out a fix

I am reasonably confident azad_f016e323.zip is going to help matters...
@Sunshine-Oh-My would you mind taking it for a spin? Here's how.