Now In:  Forums
 
Product Forums
 
ForumForum Product Discus... Product Discus...Smith Payment R...Smith Payment R...non "Required" Fields Posted to Auth.Net?non "Required" Fields Posted to Auth.Net?
Disabled 
Previous
 
Next
 Disabled
New Post
 11/8/2009 7:56 AM
 
 Modified By ryan  on 11/8/2009 8:58:47 AM

First I would like to start by saying this company makes exceptional modules, with clean well written code. They are worth every penny.


The problem I am having lies with some of the information from the module not being posted to Auth.Net and sent with the receipt email. I have spent some time looking through their documentation and am under the impression that any field posted to them that is not "required" information should just be simply passed along and sent with the email receipt as usual.


I dont know if you remember Dave, but you customized the registration module for me a while back because I wanted to use the module for people who have already registered.


Basically I am only interested in two bits of information. I would like to see what the username of the person who made the payment and the item name in the receipt email I receive with a purchase from Auth.Net. As it is now, I only get the billing information and price.


I know that info is being posted to Auth.Net but I dont know why it is not being sent with the receipt email.


Is there any insight someone out there could share?



New Post
 11/8/2009 10:57 AM
 

UPDATE:

After going through the code I realized that not all of the fields were being posted to auth.net. In Confirm.ascx.cs find the NameValueCollection "NVCOL". By adding another NVCOL.Add and passing it whatever value you want, it will add another field in the receipt email. Looks like I may still have to fool around with the sessions to get some of the values you are looking for but I am on the right track.

New Post
 11/9/2009 7:14 PM
 
 Modified By dsmith  on 11/9/2009 8:24:35 PM

Here are the normal fields that are passed to authorize.net to obtain a credit card authorization:

  • x_login - Gateway ID
  • x_tran_key - Gateway Password
  • x_type - The type of credit card transaction
  • x_amount - The amount of the transaction
  • x_card_num - The customer’s credit card number
  • x_exp_date - The customer’s credit card expiration date
  • x_trans_id - Transaction ID or Order # from the cart of registration module
  • x_first_name - Customer First Name
  • x_first_name - Customer Last Name
  • x_email - Customer Email
  • x_address - Customer Address
  • x_city - Customer City
  • x_state - Customer State
  • x_zip - Customer Zip
  • x_country - Customer country
  • x_phone - Customer phone


There are a couple other fields that you could pass to auth.net api to store invoice number and product name, the fields in the api are titled x_invoice_num and x_description. Unless you are using recurring billing I prefer to disable the auth.net email and use the module email for your customers.

Disabled 
Previous
 
Next
 Disabled
ForumForum Product Discus... Product Discus...Smith Payment R...Smith Payment R...non "Required" Fields Posted to Auth.Net?non "Required" Fields Posted to Auth.Net?