HELP Send order data to a third company

Hello !
We really need help please. We start our business, and we have to send our orders data (Order number, price, discount value…) to a third company (affiliate management).
This third company send us a script to paste on the “ThankYouPage” (after checkout):



We have to replace ID of “value”, “order reference” and “voucherId” to they receive orders data.
But we don’t really now where we can paste it ? And if our ID are correct ?
How we could send these informations (price, order number and discount) when the order is done please?

Please Help us, we don’t want to loose that luck for our company…

Having the same issue, did you find a solution?

I guess you are referring to Wix Stores. Not an expert on it, and nobody else is answering, but it should not be too difficult: there´s the onNewOrder() function with all the data you need. You will have to put the html provided into an html-element, tweak it so it can replace hard coded values with variables and use postMessage to send these data from onNewOrder to the html-element.

That’s exactly what I’m doing in my implementation but still can’t get it to work. Please see this post and let me know if you can shed some light.

I responded to that post.