Currently if there are no payment methods available, the user can breeze right past the payment step. This is fine behavior, because we can assume a site has cause to support no payment when an order is free. However, it would be nice to have the option for the pane to still display and to prevent checkout in the event that no payment methods are available for the user.

Comments

rszrama’s picture

rszrama’s picture

Issue tags: +1.1 blocker

Tagging.

mr.baileys’s picture

Status: Active » Needs review
StatusFileSize
new2.09 KB

This should do the trick I think.

rszrama’s picture

Status: Needs review » Fixed

Had to move the empty check up one inside the previous if statement, but it all works as expected. Thanks!

Commit: http://drupalcode.org/project/commerce.git/commitdiff/69db271

Automatically closed -- issue fixed for 2 weeks with no activity.