Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Payments
Transactions
Capturing the IP of an order
Capturing the IP of an order

To retrieve the IP of a customer that placed an order at your store, you can analyze information on the payment made, which will inform it.

Retrieve the IP manually

When you open an order, click "See transaction details" in the payment box:

{"base64":"  ","img":{"width":1193,"height":507,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":24111,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Payments/Transactions/how-to-capture-the-ip-of-an-order_1.png"}}

Finally, the IP is visualized on the top right corner:

{"base64":"  ","img":{"width":1210,"height":471,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":20493,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Payments/Transactions/how-to-capture-the-ip-of-an-order_2.png"}}

See more details on How to visualize the order detail

Get the IP by API

To capture the IP by integration, it is possible to check the API Get Order with the orderID.

Once the Order Json is obtained, it is possible to capture the transactionId and check the API Get Transaction Details with the transaction ID.

Finally, from this last call it is possible to check the ipAddress field.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback