GithubHelp home page GithubHelp logo

medusa-payment-paytm's Introduction

Medusa Payment Paytm

Medusa Hackathon 2022 - medusa-payment-paytm Add Paytm as a Payment Provider.

Demo Link

About

Description

This Plugin enables to use Paytm Payment gateway solution in medusa website to simplify payment from customers. Customers can choose to pay from any credit/debit card, UPI, Netbanking, Paytm Wallet and EMI.

Participants

Name Github Handle Discord Handle
Gyanesh Singh GyaniRoman23 gyaniroman23#5220
Saurabh Dutta saurabh73 saurabh73#7660

Set up Project

Prerequisites

  • Setup Medusa-Server
  • You must have a merchant account on Paytm’s Merchant Dashboard. If you are a new merchant and want to create your account. Create Account
  • Get Merchant Credentials Get Merchant Credentials
  • Webhook Configuration Webhook Configuration Set Payment Notifcation URL to <medusa-server-url>/paytm/hooks

Install

  • Install Plugin
    npm install medusa-payment-paytm
  • Add to medusa-config.js
    {
      resolve: `medusa-payment-paytm`,
      options: {
        "merchant_id": "<PAYTM Merchant ID>",
        "merchant_key": "<PAYTM Merchant KEY>",
        "test_mode": "<true or false>", // Optional (Default to false)
        "callback_url": "<Webhook URL>", // Payment Notifcation URL
      },
    }
  • Enable paytm as a payment provider in Medusa admin settings (for Region IN)

Resources

medusa-payment-paytm's People

Contributors

saurabh73 avatar kepler0673 avatar

Stargazers

Saurabh Pardeshi avatar  avatar Ajmal Hussain HY avatar

Watchers

 avatar

medusa-payment-paytm's Issues

Storefront Configuration

There is no doc how to setup the storefront to have the paytm button. As I know that, paytm will return a payment URL, in which we have to redirect the user. It will be helpful, if a guide or a demo video is provider about how to configure the front-end. Also how did you handle the callback after payment is successful. do we have to create a route in API folder for that?

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.