Skip to content

Redirect missing / not working when setting up payments #86

@eadsjr

Description

@eadsjr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions