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

TypeError: cybersourceRestApi.PayerAuthSetup is not a constructor #79

Closed
hammad-khalid-cowlar opened this issue Jul 11, 2024 · 1 comment

Comments

@hammad-khalid-cowlar
Copy link

hammad-khalid-cowlar commented Jul 11, 2024

I am using the example from this sample code for payer authentication:
https://github.com/CyberSource/cybersource-rest-samples-node/blob/master/Samples/PayerAuthentication/setup-completion-with-flex-transient-token.js

and I run into this error on the following on line 12:

var requestObj = new cybersourceRestApi.PayerAuthSetupRequest();

How can I resolve this issue? Need help ASAP

@hammad-khalid-cowlar
Copy link
Author

This issue has been solved after i installed the pacakge again

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