Open mattgi opened 8 years ago
relevant fields (appear to have consider
or clear
as potential values:
"result": "consider",
"breakdown": {
"driving_license": {
"result": "clear"
},
"driving_restrictions": {
"result": "clear"
},
"driving_violations": {
"result": "consider"
},
"driving_accidents": {
"result": "consider"
}
Need to finalize this one:
default stance will be if result === 'clear'
then verified. else
fail.
flicking on to you Zoli as Roy may be tied with cars?
Let's say 4 points for the time being. I'll consult with Zurich and update. On Dec 7, 2015 3:59 AM, "Matt Ginty" notifications@github.com wrote:
flicking on to you Zoli as Roy may be tied with cars?
— Reply to this email directly or view it on GitHub https://github.com/clevertech/Waivecar/issues/148#issuecomment-162468546 .
@rryman3 please confirm based on our conversation today.
@rryman3 I don't see a license point count.
I do see in each violation has a point deduction count though.. I assume you're thinking points remaining though, not points lost.
However, It appears that not all states (e.g. Oregon doesn't) use points to determine the status of a license or severity of an infringement so perhaps this is why most services provide the clear/consider result rather than a point count.
Not sure what you guys have discussed but should we just look at "driving_license": { "result": "clear" },
for now? I have also emailed onfido to ask for more documentation about what 'consider' actually means.
4 points or less we can approve, anything higher and we don't grant access. We would also need to block access if there was no record on file/no response received, they have an international drivers license, or their record lists any DUI, DWI, Vehicular manslaughter, or reckless driving charges (even if points weren't accessed). We should provide an email address for them if they want to appeal a decline.
few things we can quickly check off:
pending
and does not move to active
until they verified their email and phone.active
account, provide a valid credit card, and had their license cleared.So this caters for most of the requirements above.
Remaining Logic:
decline
.verified
Issues in doing this:
null
in this field and will therefore pass this test.@mattgi if the API can't do it automatically, maybe we can manually have someone go into onfido, read the report and approve / deny.
We store the report locally in our DB once it is available, so we can do this from within the website.
I think this is a good initial approach.. but it will introduce definite delay in license approvals for anyone with a violation with > 4 points. (seems reasonable)
@zolihonig This looks like an important issue, we should be doing this, I assume.
@kristopolous there is more work to be done here. Moe will catch you up on the conversations with onfido for their new sdk which utilizes facial recognition.
What are the insurers requirements to allow a rental?
A license check (from onfido) will come back with a list of outcomes:
What constitutes a pass / fail. @zolihonig may need to ask insurer...