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 it doesn’t work… How we could get value of the order price in this script?
Please Help us, we don’t want to loose that luck for our company…
1 Like
You can’t embed HTML in a Corvid page. You might want to consider using an HtmlComponent . For more information, see the article Working with the HTML Component in Corvid .
A more secure way to handle web service requests is by using backend (server-side) code. Using backend code you can secure your passwords, API keys, and other secret information. The article Accessing 3rd Party Services explains how this is done. I recommend checking with the service provider to see if they provide a REST interface.
Thank’s a lot for the answer. But we are beginner, so it’s a little bit hard to understand…
If we want to use the first way (use an HtmlComponent), can you give me more details please?
Where write the code ? We have to edit the script send by the third company?
And do you think it’s fair? (we have to give quick answer to the company)
And if it’s fair, what is the easiest way you think?
I would recommend Accessing 3rd Party Services from backend code if it’s possible. You will need to discuss with the service provider.
You may want to check out the Wix Marketplace - it’s a hub where you can look for a Corvid expert to help you integrate this functionality into your site.