### [wpforms_authorize_net_process_payment_single_args](https://wpforms.com/developers/wpforms_authorize_net_process_payment_single_args/)

**Published:** August 24, 2020
**Author:** Editorial Team

**Excerpt:** The wpforms_authorize_net_process_payment_single_args filter is used to include the arguments sent to Authorize.net that can be pulled from the form entry.

**Content:**

## Description

The `wpforms_authorize_net_process_payment_single_args` filter is used to include the arguments sent to Authorize.net that can be pulled from the form entry.

## Parameters

$args*(array)* Single payment arguments.$process*(object)* WPForms Authorize.Net Process object.## Source

`wpforms-authorize-net/src/Process.php`

## More Information

The `wpforms_authorize_net_process_payment_single_args` filter is used to view/set arguments to Authorize.net that can be pulled from the form entry.

## Examples

```

/**
 * Filter to set arguments to Authorize.net.
 *
 * @link  https://wpforms.com/developers/wpforms_authorize_net_process_payment_single_args/
 *
 * @param array   $args    Single payment arguments.
 * @param object  $process WPForms Authorize.Net Process object.
 *
 * @return array
 */

function wpf_dev_authorize_net_process_payment_single_add_fields_to_args( $args, $process ) {

   // Replace 3 in $process->fields[ 3 ] to an id of your address field.
   $args[ 'address' ] = $process->fields[ 3 ];

   return $args;

}
add_filter( 'wpforms_authorize_net_process_payment_single_args', 'wpf_dev_authorize_net_process_payment_single_add_fields_to_args', 10, 2 );
```

## Related

Filter Reference: [wpforms\_authorize\_net\_process\_transaction](https://wpforms.com/developers/wpforms_authorize_net_process_transaction/ "Using the wpforms_authorize_net_process_transaction filter")

Tutorial Reference:

- [How to Send an Invoice Number Through to Authorize.net Payments](https://wpforms.com/developers/how-to-send-an-invoice-number-through-to-authorize-net-payments/ "How to Send an Invoice Number Through to Authorize.net Payments")
- [How to Send the Phone Number to Authorize.net](https://wpforms.com/developers/how-to-send-the-phone-number-to-authorize-net/ "How to Send the Phone Number to Authorize.net")

**Categories:** Filters Hooks

**Tags:** PHP

---

