Menu
Feedback
Start here
Tutorials


Tutorials
Transactions
Capturing the IP of an order
1 min read

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
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Approving payment of the bank payment slip
« Previous
Checking for errors or problems in a transaction
Next »
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback