Payment Request API - it should be mentioned that dom.payments.request.supportedRegions should contain your country #3164
Labels
data:api 🐇
Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
I was trying the API and
window.PaymentRequest
was returningundefined
, but thanks to caniuse I came to know aboutdom.payments.request.supportedRegions
config and on adding my country's code, i.e., IN, PaymentRequest finally worked.I believe that it must be mentioned on MDN as well, because if I am using MDN, I am expecting it to contain all the information I need to try new APIs
The text was updated successfully, but these errors were encountered: