PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to pass required phone field to Authorize.net

  1. I'm getting a "There was an error processing your credit card. Please verify the information and try again" error. I've followed instructions found here, and through logging errors, have determined that Authorize.net is expecting a Phone field, but Phone isn't one of the fields in the Authorize.net Add-on settings. Is there any way to pass the Phone number field to Authorize.net?

    Form is here:
    https://cothespians.com/conferences/film-festival/film-submission/

    Thanks,

    Posted 7 years ago on Thursday February 28, 2013 | Permalink
  2. tex77
    Member

    As far as I know, the Phone field is NOT a required field for the Authorize.net AIM api. You can verify this yourself in the api guide -- http://www.authorize.net/support/AIM_guide_XML.pdf. Perhaps your AuthNet account has some additional fraud/security setting that requires it?

    That said, you can pass additional fields to AuthorizeNet, using a hook in your functions.php. See my post about it ( http://www.gravityhelp.com/forums/topic/sending-additional-information-to-authorizenet-via-namevalue-pairs#post-143109 ) or the code snippet here:
    GravityForms Authorize.net Add-on Transaction Data Filter
    http://pastebin.com/XceGeuBF

    Posted 7 years ago on Friday March 1, 2013 | Permalink
  3. Thank you tex77. I ended up making the change on Authorize.net's end (Settings > Payment Form > Form Fields), so it was no longer requiring the phone field, and it worked properly.

    Posted 7 years ago on Friday March 1, 2013 | Permalink
  4. David Peralty
    Administrator

    Glad you got it figured out. All my best!

    Posted 7 years ago on Friday March 1, 2013 | Permalink

This topic has been resolved and has been closed to new replies.