I have the payment pane below the review pane on the Review "stage". Whenever there is an error with the payment, the drupal message is never displayed on this page, although the form field with the error is highlighted appropriately. If I moved the payment pane to the Checkout "stage" (one earlier), I see all the messages.

I believe something is unsetting the messages and/or displaying them prematurely before rendering this page. I have attempted to disable all the rules which would be triggered by submitting this form without any luck. However, when I do create a rule which is triggered by an event after submitting the form, and select the action "Set a message", the message set displays successfully.

Thanks!

Comments

joegl created an issue. See original summary.

joegl’s picture

Title: Order Errors don't display on Review Checkout Page » Payment Errors don't display on Review Checkout Page
Issue summary: View changes
joegl’s picture

It appears this only affects drupal "error" messages -- the green "status" messages get displayed.

joegl’s picture

This is a self-inflicted issue and completely unrelated to commerce and I'm a little bit embarrassed to admit it was a CSS issue. We found this CSS on the site:

.page-checkout-review .messages.error {
    display: none;
}

No idea why this was done or who thought it was a good idea (but it was probably me).

joegl’s picture

Status: Active » Closed (works as designed)