Has anyone been able to use Payment Request in a Cordova Android app?
window.PaymentRequest()
always return "undefined" although the installed Chrome browser is updated and the demo works great!
Example code:
if (window.PaymentRequest) {
console.log("It Worked!"); // This is never called
} else {
console.log("Opsie, no Payment Request enabled");
}
Note that I tested this in a freshly created Cordova project and it works great on the browser.