Skip to content

Fall-back Mechanism: In case of Broken receipt verification link #1

@juliustm

Description

@juliustm

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:

  1. Categorize the receipt as 'failed'
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions