• I have done my best to pick apart the code but I am stumped — I am trying to add the AVS result to the Order for both successful AND FAILED orders. The function maybe_add_avs_result_to_order_note( $response, $order ) makes total sense but what I am finding is that its only called during a successful credit card charge from within do_credit_card_transaction — and simply never during a failed charge. Would you be able to point me in the right direction as to where we could call that function to have it add the AVS response note regardless of success or failure. Thank you!

  • The topic ‘maybe_add_avs_result_to_order_note on failures??’ is closed to new replies.