π¨βπ»Getting Started with WebUPI
Using WebUPI
if (typeof window.webUPI !== 'undefined') {
// WebUPI is supported
} else {
// WebUPI is not supported
}
Enabling WebUPI
try {
if (typeof window.webUPI !== 'undefined') {
await window.webUPI.enable();
}
} catch (error) {
// User denied permission or cancelled
console.log(error);
}
Making a Payment
Making a Payment Request
Last updated