Some receipt verification links are broken (Not formatted to the TRA standard )
i.e This link -> https://verify.tra.go.tz/1374DB48770 - Which lacks '_time' value at the end.
Possible ways to handle this:
- Categorize the receipt as 'failed'
- Upon an Interface calling /receipt submission
- Process and Queue the Current request(receiptphoto or receipturl)
- Query the previous 10 submissions(pushed by this device ) and their status
- This should be well formatted into a HTML interface that can be rendered in a browser with the device Authorization headers pre-set
- The 10 previous receipts interface should:
a. Display receipts submitted by this interface
b. For receipts that failed - Those that were a receipturls : Provide the user with all details that were captured earlier and the issue. If it was a URL - give the user the ability to attach a photo of that respective receipt.
Might be best to Have(While thinking about this):
- Make the URL PWA ready (When opened using the browser)
- Find out if the Sreams endpoint can do notification pushes
- This PWDA should immediately give the user to +Scan a receipt QR +takePhoto of Receipt
- A neat and User friendly Interface
Some receipt verification links are broken (Not formatted to the TRA standard )
i.e This link -> https://verify.tra.go.tz/1374DB48770 - Which lacks '_time' value at the end.
Possible ways to handle this:
a. Display receipts submitted by this interface
b. For receipts that failed - Those that were a receipturls : Provide the user with all details that were captured earlier and the issue. If it was a URL - give the user the ability to attach a photo of that respective receipt.
Might be best to Have(While thinking about this):