Skip to content

biomathcode/pay-via-upi

Repository files navigation

Pay Via UPI

Add UPI Donation option to your website under 60 seconds.

Long Story Short: Wanted to create UPI stitchers that we see on Indian Store, for my website.

Features

  • Simple
  • Responsive and mobile friendly
  • Works on all browsers
  • Free and Open Source
  • Create a donate via UPI button

donate via upi button

CodeSandbox Demo Links

Instruction to get the script running on your website

  1. Go to payviaupi.com
  2. Create your script with UPI details and copy it.
  3. Paste your script inside the head tag of your website.
  • PLEASE DON'T ADD YOUR UPI ID WITH YOUR PHONE NUMBER. ALTHOUGH IT WOULD WORK. BUT EXPOSING YOUR PHONE NUMBER TO PUBLIC IS NOT A GOOD IDEA.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.