PHP Classes

UPI PHP Payment API Link: Generate URL or QRCode to pay using the UPI app

Recommend this page to a friend!
  Info   View files Documentation   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 620 This week: 3All time: 5,082 This week: 42Up
Version License PHP version Categories
upilink 1.0.0Custom (specified...5PHP 5, Graphics, Web services, Finances
Description 

Author

This package can generate URL or QRCode to pay using the UPI app.

It can take the details of the recipient of a payment like the name and amount and generates a link that can be used in a mobile devices to open in the UPI application.

The class can also generate the URL or the QRCode image generated by the Google Charts API using the same link URL generated for a given payment with given recipient details.

Innovation Award
PHP Programming Innovation award nominee
September 2020
Number 5
Many payment systems can generate URLs for links that can be used in sites to make the payment system mobile application open when those payment links are clicked by customers.

This package can generate QRCode images that encode the payment URLs, so customers can aim their mobile phone cameras at the QRCode images displayed on a Web page.

This way it becomes easier for the customers to trigger a payment action by using their mobile phones.

Manuel Lemos
Picture of Rohit Arya
  Performance   Level  
Name: Rohit Arya <contact>
Classes: 3 packages by
Country: India India
Age: 33
All time rank: 154888 in India India
Week rank: 18 Up1 in India India Up
Innovation award
Innovation award
Nominee: 3x

Documentation

This class can be used to create payment link or QR code for any UPI ID. You can also create QR code showing your logo above the QR code like bhim, paytm, amazon pay, google pay, phonepe etc.

It can create direct shareable link to share through any medium. There are 2 options to create these links:-

1. Specify amount to receive from the party.
2. General link without amount.

It can also create QR code to receive payment anyone can send payment by scanning QR code in any UPI enabled app. There re 2 options to create QR code:-

1. Plain QR code without any logo on it.
2. QR code with logo.

For creating QR code this class using google charts.


  Files folder image Files  
File Role Description
Files folder imageexamples (5 files, 1 directory)
Files folder imageincludes (2 files)
Files folder imageqr (1 file)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
Files folder imageqr (1 file)
  Accessible without login Plain text file generateQR.php Example Example script
  Accessible without login Plain text file genQRWithLogo.php Example Example script
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file linkWithAmount.php Example Example script
  Accessible without login Plain text file linkWithoutAmount.php Example Example script

  Files folder image Files  /  examples  /  qr  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  includes  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Plain text file upi.php Class Class source

  Files folder image Files  /  qr  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:620
This week:3
All time:5,082
This week:42Up