Title: phillymactech's Replies | WordPress.org

---

# phillymactech

  [  ](https://wordpress.org/support/users/phillymactech/)

 *   [Profile](https://wordpress.org/support/users/phillymactech/)
 *   [Topics Started](https://wordpress.org/support/users/phillymactech/topics/)
 *   [Replies Created](https://wordpress.org/support/users/phillymactech/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/phillymactech/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/phillymactech/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/phillymactech/engagements/)
 *   [Favorites](https://wordpress.org/support/users/phillymactech/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Donate] How to provide Authorize.net with a description?](https://wordpress.org/support/topic/how-to-provide-authorizenet-with-a-description/)
 *  Thread Starter [phillymactech](https://wordpress.org/support/users/phillymactech/)
 * (@phillymactech)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-to-provide-authorizenet-with-a-description/#post-4742394)
 * Hi, I figured this out.
 * I simply added an additional field to the $transaction array for the transaction
   description.
 * In the following file:
    _plugins/wp-donate/includes/donate-function.php_
 * add the following line to the bottom of the $transaction array:
 * `'description' => 'My Donation Description',`
 * Changing the description accordingly. The array declaration should then look 
   like this:
 *     ```
       $transaction->setFields(
       				array(
       				'amount' => $REQUEST['amount'],
       				'card_num' => $REQUEST['x_card_num'],
       				'exp_date' => $REQUEST['exp_month'].'/'.$REQUEST['exp_year'],
       				'first_name' => $REQUEST['first_name'],
       				'last_name' => $REQUEST['last_name'],
       				'address' => $REQUEST['address'],
       				'city' => $REQUEST['city'],
       				'state' => $REQUEST['state'],
       				'country' => $REQUEST['country'],
       				'zip' => $REQUEST['zip'],
       				'email' => $REQUEST['email'],
       				'description' => 'My Donation Description',
       				)
       			);
       ```
   
 * Now your authorize.net report will have the description listed alongside the 
   other info. Really useful if you use Authorize.net for several types of purchases
   on a single website and want to keep them separate.
 * Hope this helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Donate] Phone Number Required (even though there is a phone number)](https://wordpress.org/support/topic/phone-number-required-even-though-there-is-a-phone-number/)
 *  [phillymactech](https://wordpress.org/support/users/phillymactech/)
 * (@phillymactech)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/phone-number-required-even-though-there-is-a-phone-number/#post-4336652)
 * Delete this snippet from:
    _plugins/wp-donate/includes/donate-display.php_
 *     ```
       if (form.phone.value == "") {
       	alert("Please enter your phone");
       	form.phone.focus();
       	return;
       }
       ```
   
 * Now the plugin will no longer check to make sure a phone number was provided.
   You probably also want to remove the asterisk from next to the phone entry field,
   so that it looks like so:
 *     ```
       <tr>
       	<td class="title_cell">Phone</td>
       	<td class="field_cell">
       		<input type="text" class="inputbox" name="phone" value="" size="15" />
       	</td>
       </tr>
       ```
   
 * Since the phone number is no longer required.
 * Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)