DoDirectPayment API call requires an IP address field (this is a buyer’s IP) so I am using ServletRequest.getRemoteAddr to get the request IP. However this IP is assumed to be IPv4 and
does not seem to support IPv6. Have anyone found a workaround for this?
Thanks.
IP Address is not required by PayPal, so I do not send IP address in local debug mode. I only send in production mode in which we use IPv4.