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.

Separate Billing/Shipping Fields

  1. Is there a way to add more " Fields Form Fields" under the Authorize.Net Transaction Settings? We have a client that would like separate billing/shipping information. Currently, upon submission, the receipt displays the Billing Address given, but not the Shipping Address. Any help would be appreciated! Thanks!

    Posted 11 years ago on Monday February 11, 2013 | Permalink
  2. How about using this filter which was contributed by another Gravity Forms user:

    You can see all the supported fields in the gravityformsauthorizenet/api/lib/AuthorizetNetAIM.php file on line 81:

    private $_all_aim_fields = array("address","allow_partial_auth","amount",
            "auth_code","authentication_indicator", "bank_aba_code","bank_acct_name",
    Posted 11 years ago on Tuesday February 12, 2013 | Permalink
  3. Hmmm, thank you for the post.

    However, I'm more of a front end developer, so I'm trying to grasp exactly what I need to put into the functions.php document.

    Using the AIM array values, for Authorize to record the shipping info, I would use the following?



    $form_data["ship_to_address"] = rgpost("input_2_1");
    $form_data["ship_to_city"] = rgpost("input_2_2");
    $form_data["ship_to_state"] = rgpost("input_2_3");
    $form_data["ship_to_zip"] = rgpost("input_2_4");

    $transaction->description = 'Shipping Address: ' . $form_data["ship_to_address"];
    $transaction->description = 'City: ' . $form_data["ship_to_city"];
    $transaction->description = 'State: ' . $form_data["ship_to_state"];
    $transaction->description = 'Zip: ' . $form_data["ship_to_zip"];

    Posted 11 years ago on Tuesday February 12, 2013 | Permalink
  4. Assuming that those field IDs are correct (all your rgpost values) then those will assign the entered data to the $form_data array.

    However, in your second part (# ADD DATA TO TRANSACTION OBJECT) you are assigning all the shipping values to the description which is sent to If that's what you're looking to do, that will work fine. If you want to actually set the shipping address at, please let us know.

    Posted 11 years ago on Tuesday February 12, 2013 | Permalink