We're not getting purchased product data from order form

Hi,

We have created a order form, Now while purchasing product from that form , not getting any purchased product data however getting user information only.

We’re calling a http post to “https://webhook.site/2e2d6efa-c52b-4bcb-ac03-a81b036ee825” through Successful Purchase Action.

Order Form Link:https://ar385.infusionsoft.app/app/orderForms/Test-Subscription?cookieUUID=5c38e668-9d96-469b-b54b-21e240a287f0

You can use any test credit card to do a purchase. Please let us know as early as possible.

Not sure why nobody ever replied to your question. The truth is, its crazy that the Purchase Action POST doesn’t contain any info about the purchase… in another thread this was the offered solution.

You could set up a resthook 31 for a listener service on the “invoice.payment.add” event. It will send the id of the payment to the endpoint you specify.

Then, with that Id, you should be able to hit the /transactions/{id} endpoint, which returns not only the invoice, but a nested object containing the Order in question.

EDIT: Whoooops, got ahead of myself here. I fixed a bug on this resthook event last week, but it looks like it won’t make it in to tonight’s deployment. As such, the id that you get back from the resthook is incorrect, until next week’s deployment.