While on the subject of Authorize.net, does any one know if ANet has test servers like Verisign does.
OR is there some parm you can pass that will consider the transaction to be a test? I want to set up a shopping cart with Anet and don't have an account.
Thanks,
Brian Mowers
At 04:14 PM 1/15/2003 -0500, you wrote:
Dave,
I've implemented authorize.net credit card processing for several sites. It's really simple with Witango. Basically 2 lines of code, one to build a postarg array and one to send it to authorize.net and get the return values. Put the following in a method in a TCF file and call it from anywhere in your application, then branch accordingly based on the result. The method takes 5 parameters: amount, cardNumber, cardExp, address and zipCode. Note the code will wrap in inappropriate places.
<@assign local$postArgList <@array value="x_Version,3.0;x_Login,yourlogin;x_Password,yourpassword;x_ADC_URL,False;x_ADC_Delim_Data,True;x_Amount,@@method$amount;x_Card_Num,@@method$cardNumber;x_Exp_Date,@@method$cardExp;x_Address,@@method$address;x_Zip,@@method$zipCode;">>
<@assign method$returnValue <@url location="https://secure.authorize.net/gateway/transact.dll" postargArray=postArgList>>
Dave Shelley
- -----Original Message-----
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Taylor
- Sent: Wednesday, January 15, 2003 3:25 PM
- To: Multiple recipients of list witango-talk
- Subject: Witango-Talk: HMAC-MD5 & authorize.net
- has anybody a code snippet or tcf that will return the hash now required by authorize.net to do credit card processing?
- they provided functions in asp, perl, and php that return the hash encrypted with
HMAC-MD5 ...- perhaps a _javascript_ i could use server-side??
- is nobody else doing cc with authorize.net?
- thanx,
- dave taylor
- ---
- Outgoing mail is certified Virus Free.
- Checked by AVG anti-virus system (http://www.grisoft.com).
- Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
[EMAIL PROTECTED]
