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

Redirect missing / not working when setting up payments #86

Open
eadsjr opened this issue Feb 15, 2018 · 0 comments
Open

Redirect missing / not working when setting up payments #86

eadsjr opened this issue Feb 15, 2018 · 0 comments

Comments

@eadsjr
Copy link

eadsjr commented Feb 15, 2018

I signed up and set up payments, and when I clicked submit the form cleared and nothing else happened. I didn't know if it succeeded or not. When I found my way to my profile I was able to determine that the payments had been set up successfully.

I started looking through the code and tracked it to line 237 of routes/payments.js. This line should cause a redirect if there is no error, but didn't appear to succeed.

res.setHeader('location', settings.base_url + '/~'+user.name+'/edit/'+collective);

Without seeing the output on the backend or having a local working copy that is a far as I got. Currently having Docker issues, but better to report it before it is forgotten.

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

1 participant