adding in XHR to get receipt data