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

Bug on callbackscontroller for redirecting when finishing the checkout #38

Open
garciajordy opened this issue Oct 26, 2021 · 1 comment
Labels

Comments

@garciajordy
Copy link
Contributor

https://github.com/nebulab/solidus_afterpay/blob/2a34867f92cbd3be6e28e6c85bd5204e295391a3/app/controllers/solidus_afterpay/callbacks_controller.rb#L17

Here we are using the solidus_frontend endpoint to retrieve the URL of the current state of the order, but if the client is only using the solidus_backend and have their own frontend, this will throw an error.

A solution would be to add a preference on the payment method for retrieving a custom endpoint.

@stale
Copy link

stale bot commented Jan 7, 2023

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant