I just finished implimenting the PHP API code, using the sample code from GitHub. I upgraded from our old CGI/PERL code which has been depricated.
Everything is working fine, except one thing: When we charge a credit card the new code transmits our website's IP address instead of the customer's IP address. This causes our IP velocity filter to flag every transation, since it thinks it's the same person.
Does anyone have an idea how I can fix this? Maybe there's something I didn't set right. THANKS!
Solved! Go to Solution.
09-29-2019 07:11 PM
THANK YOU very much for this advice. I searched around and did find the SetCustomerIP() function in one of the classes in the API. It works beautifully! I'm a bit surprised that they don't have that in the sample code if it needs to be set. But I'm fine now!
09-30-2019 10:17 AM
09-29-2019 08:07 PM
No, there's no place I've found to pass the IP address. (There wasn't in the old code, either.) It seems to just pick it up somewhere. I would prefer to grab it myself and pass it.
09-29-2019 08:45 PM
09-29-2019 10:31 PM
THANK YOU very much for this advice. I searched around and did find the SetCustomerIP() function in one of the classes in the API. It works beautifully! I'm a bit surprised that they don't have that in the sample code if it needs to be set. But I'm fine now!
09-30-2019 10:17 AM
09-30-2019 10:36 AM