How to implement Heureka.sk script to check out page

How to implement Heureka.sk script to check out page

pokepopspot
Excursionist
21 0 3

Hi Community,

 

We would like to integrate with Heureka.sk - a price comparison site where users that bought a product through their website receive a review invitation.

In order to trigger the review email to be send after purchase Heureka.sk is asking us to add the following script to the check-out page but it's not clear where in the code we have to do this.

 

Can someone assist?

 

Here is all the info we've got:

 

In the last step of the order in your store source code, your webmaster will place an application script that will send the customer's e-mail address.

 

Information about the placed order can be stored by calling the following address:

https://www.heureka.sk/direct/dotaznik/objednavka.php?id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&email=meno@email.sk &itemId[]=206210&orderid=123456

 

id = unique store key verifying the authenticity of the call.

email = customer's email

itemId[] = unique identification of the product within the e-shop. A combination of a maximum of 36 characters [0-9a-zA-Z_\-]. THIS TAG MUST BE CONTAINED IN THE BASE XML FILE! If it is not possible to add the ITEM_ID tag to the XML file, then the purchased goods can be submitted through its name (product[] = name of the ordered product. The product name must be the same as you send us in the XML file). It is used for product reviews that the store can place on its website and for setting a longer time for sending questionnaires.

orderid = order number, which will be used to mark the completed questionnaire (this value must contain a whole positive number).

 

The call must not be made in HTML, but by calling the above address in the application code, as the secret key must not be publicly visible anywhere.
 
Replies 0 (0)