We are facing issues in some transactions where a user might have refreshed the page after successful payment multiple times because of which we are observing more number of orders whereas the actual orders are lesser.
Request someone to please suggest a resolution to this issue?
Thanks in advance, will be great help.
Also, make sure s.purchaseID is unique and is the actual order ID (optional but important in troubleshooting).
Sometimes developers pass a random number to please analytics implementation.