PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 640 All time: 4,993 This week: 41Up
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: 34
All time rank: 152688 in India India
Week rank: 69 Up5 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 (11)  
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 (11)  /  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 (11)  /  examples  /  qr  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files (11)  /  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 (11)  /  qr  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:640
This week:0
All time:4,993
This week:41Up