Skip to content

A SPA webpage created in React and MaterialUI with countUp and Razorpay payment gateway integration

Notifications You must be signed in to change notification settings

yksolanki9/vidya-ngo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this project

This is a simple React app built using Material-ui and integrated with Razorpay payment gateway. You can check out this project here.

Built With

Installation

  1. Clone this repository
git clone https://github.com/yksolanki9/payment-gateway
  1. Install all dependencies
npm install
  1. Start the React app.
npm start
  1. Go to http://localhost:3000 on your browser and you can see the app running.

Test Card and UPI Details

Follow these steps to use the test card details:

  • Click on Donate button
  • On the Checkout, select Card as the payment method.
  • Enter the card details. This depends on the flow you are testing.
  • Enter any random CVV.
  • Enter any future date as the expiry date.
  • Click Pay. A sample payment page is displayed.
    • Click Success to make the payment successful.
    • Click Failure to fail the payment.

Test Card for Domestic Payment

Card Network Card Number CVV Expiry Date
Mastercard 5104 0600 0000 0008 Random CVV Any future date
Visa 4111 1111 1111 1111 Random CVV Any future date

Test Card for International Payments

Card Network Card Number CVV Expiry Date
Mastercard 5555 5555 5555 4444 Random CVV Any future date
Mastercard 5105 1051 0510 5100 Random CVV Any future date
Visa 4012 8888 8888 1881 Random CVV Any future date
Visa 4000 1841 8621 8826 Random CVV Any future date

Test UPI ID

Follow these steps to use the test card details:

  • On the Checkout, select UPI as the payment method.
  • Enter the UPI ID.
    • Test payment success flow using success@razorpay.
    • Test payment failure flow using failure@razorpay.

Contact

Yash Solanki - yashsolanki1709@gmail.com

Releases

No releases published

Packages

No packages published