We are using a customized version of the default frontend. We had an issue where if a customer had store credit, checkout would raise NoMethodFound for display_payment_type. Which was confusing at first, since that method is nowhere in Solidus core or our site. Interestingly, the error showed the code of our custom partial, not the partial from this extension, making it more confusing to find the source of the error.
For now, our solution is to replace this line from our order details partial:
<%= render payment %>
Instead, we use the block of code needed to render payments the way we would like.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We are using a customized version of the default
frontend
. We had an issue where if a customer had store credit, checkout would raiseNoMethodFound
fordisplay_payment_type
. Which was confusing at first, since that method is nowhere in Solidus core or our site. Interestingly, the error showed the code of our custom partial, not the partial from this extension, making it more confusing to find the source of the error.For now, our solution is to replace this line from our order details partial:
Instead, we use the block of code needed to render payments the way we would like.