AuthorizeNet / sample-code-php

This repository contains working code samples which demonstrate php integration with the Authorize.Net API
MIT License
175 stars 197 forks source link

CustomerIP #149

Closed mbunkin closed 5 years ago

mbunkin commented 5 years ago

New SDK automatically sets CustomerIP to the server's IP, which results in many transactions coming from same IP, fraud filters block them, and nowhere in documentation it shown how to set CustomerIP in the new SDK. I see it can be set in TransactionDetailsType kind of object, but how to attach it to the request is unknown, and frankly I don't see any code that would refer to CustomerIP outside of TransactionDetailsType. The question is - does the SDK implement the functionality to set CustomerIP, and if it doesn't - please fix this bug, because without CustomerIP fraud filters must be off for transactions to get through, which creates a security threat.