Our customers have not been getting decline messages at checkout from Authorize.net it just stays at the review page nothing is displayed. Customers keep clicking submit until they get frustrated and leave. Orders that don't decline go through as normal. I checked the logs and the decline messages are in the log. Any idea how to troubleshoot this problem?

Comments

peternickol created an issue. See original summary.

peternickol’s picture

Version: 7.x-3.x-dev » 7.x-3.12
tr’s picture

There should be a message in the Drupal watchdog - is that what you mean by log? It would be from uc_payment and say "Payment failed for order ..." with the order id and the failure message. There should also be an admin comment added to the order, which you can view in the backend for the failed order.

There should also be a Drupal system message shown to the user, showing "We were unable to process your credit card payment. Please verify your details and try again. If the problem persists, contact us to complete your order." If this isn't showing, then perhaps your theme does not have a "messages" region defined for the review order page. If it works with the default Bartik theme, then you know the problem is with your theme.

The customer should remain on the Review Order page when there is a failure.

peternickol’s picture

Thank you for the response TR! This is very helpful, the issue as you suggested was that the site uses panels and the messages region was undefined in the theme itself. Adding messages to the theme resolved the issue. I really appreciate you taking the time to point me in the right direction.

peternickol’s picture

Status: Active » Closed (works as designed)