- From: Rouslan Solomakhin <notifications@github.com>
- Date: Thu, 11 Nov 2021 11:36:37 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 11 November 2021 19:36:49 UTC
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