Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
On the Order Placed page, the DataLayer only captures the information of the first payment within the transaction (transactionPaymentType)
On the Order Placed page, the DataLayer only captures the information of the first payment within the transaction (transactionPaymentType)
ID: 727339
No Fix
Published on 1/4/2023
Last update on 2/16/2024

Summary

When the purchase is completed, the customer goes to the page known as Order Placed, on this page we have a Request Capture event *(RequestType:"orderPlaced") from our platform that captures some details of the order and serves to feed information into the DataLayer.

The problem we have at this moment is that in the "transactionPaymentType" object, in the case of orders with more than one payment, we are only showing the first one, which leaves the information incomplete for those who use this type of data.

*We can see this event (RequestType:"orderPlaced") opening the inspector of the browser, looking for the "Network" tab, and filtering by "events" it is possible to see this detail in the Payload section.


*Headers*
Request URL: https://rc.vtex.com.br/api/events
Request Method: POST
*Payload*
Object with all the details

Simulation

  1. Complete orders with more than one payment
  2. When you arrive at the order confirmation page (Order Placed), open the inspector in the Network tab and validate the RequestType:"orderPlaced" event
  3. Within those details, find the transactionPaymentType object. There you will see that only one element will appear. The correct thing would be to show all the details regarding the other payments

Workaround

At this moment we do not have a workaround to this problem, however, in case you need more details of the transaction, with the ID it is possible to consult more information with our APIs.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
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