w3c / payment-handler

Payment Handler API
https://w3c.github.io/payment-handler/
Other
74 stars 42 forks source link

Question about biometric authentication #420

Open AdaltonLeite opened 1 month ago

AdaltonLeite commented 1 month ago

Hi Team,

I have one more question about a feature in Payment Request. We're using Payment Handler to make a custom wallet. In this wallet, I need to authenticate myself to be able to list the payment methods, one of the steps is biometric authentication which requires access to the browser camera. Currently, outside of Payment Request, this application works, but in Payment Request I never get the permission modal for the browser to access my camera.

Are we planning to have this kind of feature where we ask for permission to access the camera from the Payment Request? Or do we have any limitations on this?

rsolomakhin commented 1 month ago

HI @AdaltonLeite - this is an implementation detail of Web Payment Handler in Chrome.

Let's setup a meeting with the Chrome team to discuss what are all of the features necessary for such a wallet and whether these features need to be explicitly listed out in the spec. Send me an email to rouslan <at> google <dot> com.

This can also be brought up in the "Web Payments Working Group" meeting on Thursday.

/cc @stephenmcgruer @rbyers

AdaltonLeite commented 1 month ago

Hi @rsolomakhin, thank you for your reply.

I'll formulate better what we're looking for and send you an email with more details.

If I understand correctly, we don't currently have this functionality, right? It's more about mapping it from our side here in the team.

We're working on this in parallel to see if it's feasible to have this functionality in Chrome.

rsolomakhin commented 1 month ago

If I understand correctly, we don't currently have this functionality, right?

Yes, the Web Payment Handler implementation in Chrome currently has disabled certain functionality, such as browser camera.