Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception caught: TypeError: param.trim is not a function #5

Open
varundeva opened this issue Nov 10, 2020 · 1 comment
Open

Exception caught: TypeError: param.trim is not a function #5

varundeva opened this issue Nov 10, 2020 · 1 comment

Comments

@varundeva
Copy link

Exception caught:  TypeError: param.trim is not a function
    at Function.isEmptyOrNull (/home/freesv/Desktop/BUDonation/node_modules/paytm-pg-node-sdk/dist/com/paytm/pg/utils/CommonUtil.js:71:81)
    at new PaymentDetailBuilder (/home/freesv/Desktop/BUDonation/node_modules/paytm-pg-node-sdk/dist/com/paytm/merchant/models/PaymentDetail.js:201:36)
    at payment.doPayment (/home/freesv/Desktop/BUDonation/app.js:68:40)
    at /home/freesv/Desktop/BUDonation/app.js:28:9
    at Layer.handle [as handle_request] (/home/freesv/Desktop/BUDonation/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/freesv/Desktop/BUDonation/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/freesv/Desktop/BUDonation/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/freesv/Desktop/BUDonation/node_modules/express/lib/router/layer.js:95:5)
    at /home/freesv/Desktop/BUDonation/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/home/freesv/Desktop/BUDonation/node_modules/express/lib/router/index.js:335:12)
@pnutmath
Copy link

@paytm expecting txnAmount value in string

Seems this package is no longer being maintained. Can you please confirm @ravindrapaytm @pgpautomation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants