PayPal API DoDirectPayment required IP field does not support IPv6 -


DoDirectPayment requires an IP address field for API call (this is the buyer's IP), so I get the request I am using ServletRequest.getRemoteAddr. IP However this IP is considered IPV4 and does not support IPv6. Has anyone found an alternative solution for this?

Thank you.

The IP address is not required by PayPal, so I do not send IP addresses in local debug mode. I only send the production mode in which we use IPv4.

  Dodayer PemanderQuestion Dividet Type Description = New Dodidined Payment Vaccadet Type (); #if (! DEBUG) Details. IP address = HttpContext.Current.Request.UserHostAddress; #endif    

Comments