Git Product home page Git Product logo

vidya-ngo's Introduction

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 - [email protected]

vidya-ngo's People

Contributors

yksolanki9 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.