I am using Google Chrome Browser on my laptop
I installed the demo html and .js on my local web server. I filled the form and clicked Buy.
It invokes below JS method :
function onBuyClicked() {
if (!window.PaymentRequest) {
console.log('Web payments are not supported in this browser.');
return;
}
And prints this error message
Web payments are not supported in this browser.
- Please advice - what am I missing in terms of setup/configuration?
- Where is this class ? request = new PaymentRequest()
Do I need to download and include any package in this application?
- where does this get initialized?
if (!window.PaymentRequest) {
Please advice
regards