View Single Post
06-25-2008, 09:25 PM
#1
RobertKaine is offline RobertKaine
Status: I'm new around here
Join date: Sep 2007
Location:
Expertise:
Software:
 
Posts: 24
iTrader: 0 / 0%
 

RobertKaine is on a distinguished road

  Old  php form with auth.net

Hey guys I'm having a hell of a time trying to setup a order form that would post to auth.net and place the charge on it then if it could not place the charge on it would say "sorry your card has be denied please use another one" type of error else it would show a thank you receipt page.

My question is is there a class/script that would make this task easier I basicly want to do this

auth->fname($FNAME) //First name of customer
auth->lname($LNAME) // lastname
..
.(and so on)
.
auth->creditcard($CCNUMBER) //Number of the card

if(auth->runtransaction==successful){
echo 'transaction is good';
}
else{
echo "card denied";
}

any help would be great

//Edit Forgot to mention its for subscription billing