Does anyone know how to send a customers IP address to authorize.net when an order is placed in CartThrob. The IP is currently saved in the orders channel but I don't know to send it to authorize.net.

1 Answer 1


I was able to send the IP address to authorize.net by adding:

"x_customer_ip"                 => $this->order('ip_address')

to the process_payment function in Carthrob_authorize_net.php.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.