Re: [w3c/payment-request] Add hasEnrolledInstrument() again (for 1.1) (#931)

Hi @dcrousso! A negative `total` will throw an exception in `PaymentRequest` constructor, I believe. By the way, can the version be checked in `canMakePayment()` instead of `hasEnrolledInstrument()`? What is the advantage of `hasEnrolledInstrument()` over `canMakePayment()` for WebKit's use case, if any?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/pull/931#issuecomment-966571461

Received on Thursday, 11 November 2021 19:36:49 UTC