How do I display the shopper's IP address on the CartIt invoice?

Problem: To prevent and investigate fraud, I would like to display the shopper's IP address on my invoice.

Solution: For CartIt 5.0 and 8.0 edit your cartit_cb_invoice.html located in your CartIt data directory and add:
 

Ordered from: %io_env_REMOTE_ADDR%
User Agent: %io_env_HTTP_USER_AGENT%
 

at the desired location in the invoice file. This should display the IP address and the User Agent (Web Browser)

Place a test order and check your invoice in CommerceBuddy. That should do it.