Is there any guide to set up the HTML of an ecommerce product page to send the model only after the pruchase had been placed (payment). This in order to only use model tickets when an actual purchase has been made.
We are using the iframe approach, so we are looking where to integrate the webhook of the order placement in the shapediver to automate the process after purchase.
If you are only using the viewer API, you will not be able to trigger an export after the viewer has already been closed. If the purchase can be completed on the same page where the viewer is embedded, you will be able to call api.exports.requestAsync() after customers place their order. Otherwise, you will need to use the backend API which will let you trigger exports without opening a viewer. Find some documentation about the backend API here.