Web Hosting Talk







View Full Version : WorldPay & getting customers IP


Haze
05-16-2002, 09:36 PM
I was wondering if anyone would be able to share with me there method for getting each customers IP's from an order. Basically what we do is have our form send the onformation off to worldpay, worldpay sends it back to us at what is basically a formmail kind of script. The only problem is, when the information goes to worldpay, they can't pass on the IP of the customer in the normal method that the formmail script does.

Basically what im saying is how can I record each customers IP when they order?

ho247
05-17-2002, 03:36 AM
Depending on what coding language you are using, probably Perl if it's formmail... but all you have to do is get formmail or the script to obtain the IP of the user and then put it in the variable of "M_CustomerIPAddress" and submit it to WorldPay, who will then submit it back to you as the same variable name, after the payment has been processed. I hope this helps you.

Alan