Hi, Fastspring should give some sample code to call API for non-tech person. Like what is the code sample to put to do a GET API call from Php or HTML.
I have only seen many requests from users who wanted to put the info on custom thank you page. Fstspring only has given the idea to redirect like <script>
function onFSPopupClosed(orderReference) {
if (orderReference)
{
console.log(orderReference.reference);
fastspring.builder.reset();
window.location.replace(“https://mydomain.com/?orderId=” + orderReference.reference);
} else {
console.log(“no order ID”);
}
}
</script>
if fastspring will provide sample code to call API from getting the variable order reference from url and do a GET request it would be a great help for many users.
-
This reply was modified 6 years, 4 months ago by anthonymatturro. Reason: mistake