abdulghanitech / Paytm-Firebase-Cloud-Function

A Firebase cloud function to handle Paytm Transaction Token Generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paytm-Firebase-Cloud-Function

###A Production Ready Firebase cloud function to handle Paytm Transaction Token Generation

Just make a HTTP request from the client side and receive a Paytm Transaction Token.

It follows the docs of Initiate Transaction API

The HTTP request should contain Paytm Merchant ID - MID, ORDER_ID, TXN_Amount, Customer ID, mode.

Params Type Required
MID String Yes
ORDER_ID String Yes
TXN_AMOUNT String Yes
CUST_ID String Yes
CALLBACK_URL String Optional
mode String Optional

About

A Firebase cloud function to handle Paytm Transaction Token Generation


Languages

Language:JavaScript 100.0%