Please allow me to put out on the table my green-ness to this all.
I’ve been asked to make up a ‘pay now’ button for our company to allow our customers to pay online.
The payment gateway people have given me a list of certain vaiables that will be passed back to us upon completion of the the transaction. I would like to take that information and store it in a MySQL table.
I have setup the table to have matching variables from the gateway companies returend variables already.
My question is how do I take the information from the returned URL and parse it to information to store in the MySQL table?
This is the information being sent from them:
[QUOTE]
cgi-bin/receipt.cgi?Status=1&approval_code=xxxxx&authresponse=AUTH%20APPROVED&avs=Y&OrderID=xxx&total=x.xx&Cardname=Visa&NameonCard=John%20Doe&Cardstreet=123%20Street&Cardcity=Nowhere&Cardstate=NJ&Cardzip=0800&Cardcountry=US&email=
The obvious list of variables are (fields I’ve set up in MySQL)
Status
approval_code
authresponse
OrderID
total
Cardname
NameonCard
Cardstreet
Cardcity
Cardstate
Cardzip
Cardcountry
email
Thanks a ton! ?