upiqr 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,15 +4,15 @@ This package will work on client and server.
|
|
|
4
4
|
|
|
5
5
|
```js
|
|
6
6
|
|
|
7
|
-
import { upiqr } from
|
|
7
|
+
import { upiqr } from "upiqr";
|
|
8
8
|
|
|
9
9
|
upiqr({
|
|
10
|
-
payeeVPA:
|
|
11
|
-
payeeName: "
|
|
10
|
+
payeeVPA: "bhar4t@upi",
|
|
11
|
+
payeeName: "Bharat Sahu"
|
|
12
12
|
})
|
|
13
13
|
.then((upi) => {
|
|
14
14
|
console.log(upi.qr); // data:image/png;base64,eR0lGODP...
|
|
15
|
-
console.log(upi.intent); // upi://pay?pa=
|
|
15
|
+
console.log(upi.intent); // upi://pay?pa=bhar4t@upi&pn=Bharat..
|
|
16
16
|
})
|
|
17
17
|
.catch(err => {
|
|
18
18
|
console.log(err);
|
|
@@ -41,4 +41,4 @@ In table, fields requirement column is based on static QR, For dynamic QR you ne
|
|
|
41
41
|
|
|
42
42
|
For a complete list of supported fields, refer to the [NPCI UPI Linking Specs](https://www.npci.org.in/PDF/npci/upi/circular/2017/Circular18_BankCompliances_to_enbaleUPIMerchantecosystem_0.pdf)
|
|
43
43
|
|
|
44
|
-
Internally using `qrcode` for QR Generation.
|
|
44
|
+
Internally using `qrcode` for QR Generation.
|