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

"Examples -> INSITE Client" Not Working (CORS / Different port mentioned) #65

Open
Xarlizard opened this issue Dec 20, 2024 · 2 comments

Comments

@Xarlizard
Copy link

On your INSITE example , after following the procedure to deploy it (npm install & npm run dev) it doesnt work straight out of the box, starting by prompting a CORS error.

To be honest this is the only redsys repository that I know that works with react.

@Xarlizard
Copy link
Author

Oh and on the Readme you mention port :3000 but actually the :8080 is the one that the system uses as default :$

@javiertury
Copy link
Owner

Documentation is horrible 😅 and I only have time to provide the most basic maintenance to this project.

I suspect that your error is because the backend examples/rest-3ds-server is not running. You need to be running both the insite frontend and the 3ds server simultaneously. You can use a test credit card to verify that it's working. The CORS configuration of the examples works for me, however if the problem persist for you, could you please share some information about the error?

I've updated the examples description to clarify their dependency relationship and remove the port 3000 mention.

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

No branches or pull requests

2 participants