How To use UPI Link In Html

In This Blog, We Will Learn How To use Upi Payment link in Html Button, On click pay button you will redirect to your phone/Mobile UPI Payment Apps Choose One And Pay with App.

Use Of UPI Link Explained Below.

HTML Code:



<!--Syntax -->
<a href="upi://pay?pa=yourUPIAddress&amp;pn=YourName&amp;cu=INR">PAY NOW</a>

<!-- Live Example -->
<a href="upi://pay?pa=9560888888@oksbi&amp;pn=guddu%20kumar&amp;cu=INR">Pay To Web Developement Institute</a>



PAY

You can also write ( & ) to ( & ) OR For Space use %20

You Will See Popup Like This After Click on Button


Field NameDefination
pa UPI ID of Payee or Client.
pn Person Name Or Business Name.
mc Merchant Code / Account Category CODE.
tr Transaction Reference ID.
url Transaction Reference URL.
am Amount. Ex:(1000.95)
cu Currency Code (INR)
tid Transaction ID.
tn Transaction Note / Remarks (Maximum length is 80 characters)
gstBrkUp Break-up of Goods and Services Tax. This should follow the format: `GST:amount
invoiceNo Invoice/ Bill Number.
invoiceDate Invoice Date Eg, 2020-09-15T20:30:00+05:30 for IST timezone).
gstIn GSTIN Number.

This Upi Link Will Help To UPI Payment In Mobile and Tablets

Note:   The Above Code Will Work in Mobile and Tablets Not Work in Desktops

Demo: Codepen Sandbox

Code Playground: Codepen Sandbox

Categories: web designing web development html
Written By : GUDDU KUMAR
Trending Courses

CodeIgniter

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Advance Digital Marketing Expert Course

Regular : 6 Months

Fastrack : 3 Months

Crash : 2 Months

React JS

Regular : 45 Days

Fastrack : 25 Days

Crash : 15 Days

Laravel

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Front End Developer

Regular : 6 Months

Fastrack : 4 Months

Crash : 2 Months

Web Expert with Python

Regular : 12 Months

Fastrack : 6 Months

Crash : 3 Months

Request For Demo