medusa-payment-paytm
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i medusa-payment-paytm

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

19.8 kB

Total Files

12

Last publish

Collaborators

  • saurabh73