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

paytmchecksum Cannot read properties of undefined (reading 'generateSignature' ) #10

Open
erkejriwal opened this issue Nov 16, 2022 · 0 comments

Comments

@erkejriwal
Copy link

HI Team,
Please update this dependency,
and add @type/paytmchecksum

I havd added :
paytmchecksum.d.ts file with below decleration:
declare module "paytmchecksum"

It resolved my issue of paytmchecksum not found, but during running I am getting:

{"severity":"ERROR","message":"Unhandled error TypeError: Cannot read properties of undefined (reading 'generateSignature')

Though It works If I use below code:
const PaytmChecksum = require("./../../../node_modules/paytmchecksum/PaytmChecksum.js");

But limitation is I can't use require for deployment to firebase functions.

Please help me asap.
Thanks

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

1 participant