We're on Civi 4.6.21 and Drupal 7. We use Authorize.net for payment processing.
Error messages from Authorize are displayed in civicrm_system_log in the context field as json encoded data. The error messages are useful for determining exactly why a transaction failed - a card was declined, the billing address info is wrong (an "AVS mismatch") or other reason.
I'd like to be able to see the error message info in the Civi interface, without having to go in to the back end MySQL table - civicrm_system_log - as I do now.
There is a way to see the system_log data using the API - see the screenshot below.
I want to be able to include the error message info in assigned Activities to renew a membership, ideally using a rule created using CiviRules as part of a membership renewal workflow, and for the assigned caller to be able to easily see exactly why the previous transaction did not go through - the card was declined, the billing address is wrong, etc - and to get the correct info from the target/member.
So how can I do this?