I'm starting to work with Paypal (just signed up for x.com and sandbox). I was looking at the DoDirectPayment API for credit card transactions. One of the required fields kinda took me by surprise. Here it is.
(Required) IP address of the buyer's browser.
PayPal records this IP addresses as a means to detect possible fraud.
Character length and limitations: 15 single-byte characters, including periods, for example, 255.255.255.255
How do i obtain the IPaddress of a buyer with PHP?? I'm assuming it can't be as easy as 192.168.0.1 right?? lol