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 to /account on successful payment. #2

Merged
merged 2 commits into from
Nov 9, 2016

Conversation

afitz0
Copy link

@afitz0 afitz0 commented Nov 7, 2016

Redirect to /account on successful payment if user is not already logged in.

Also fix old usage of a redirect event to be the "new" route-change event.

Also fix old usage of a redirect event.
that._orderSuccessModal.open();
} else {
that.fire('route-change', {
path: '/account'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@afitz0 Can you make this /account/signup ? It will show a "Thanks for shopping" message.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like L652 addresses the same issue? In that case, I will need to remove the similar bit on shop-account.html.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the redirect url to /account/signup

@agektmr agektmr merged commit dd7aae1 into agektmr:credential-payment Nov 9, 2016
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

Successfully merging this pull request may close these issues.

2 participants