Add Paytm as a Payment Provider.
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.
Name | Github Handle | Discord Handle |
---|---|---|
Gyanesh Singh | GyaniRoman23 | gyaniroman23#5220 |
Saurabh Dutta | saurabh73 | saurabh73#7660 |
- 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.
- Get Merchant Credentials
- Webhook Configuration
Set
Payment Notifcation URL
to<medusa-server-url>/paytm/hooks
- 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 RegionIN
)