Reply
Highlighted
Member
Posts: 9
Registered: ‎07-11-2019

Re: Webhook empty using Accepted Host method

Highlighted
Member
Posts: 9
Registered: ‎07-11-2019

Re: Webhook empty using Accepted Host method

If I remove the clientId then nothing else works.

Highlighted
All Star
Posts: 733
Registered: ‎11-05-2018

Re: Webhook empty using Accepted Host method

@a10ma4t5

I am probably missing it but where in your code is the clientId? If that property exists you can use it, you just have to put it on the correct node.


For other users who may follow this, I have sent information and had discussions with the members on this thread through IM. The advice I gave for webhooks was to not use $_POST but use php input instead, and to also capture the request headers. That is the short version. It tends to work
Highlighted
Member
Posts: 9
Registered: ‎07-11-2019

Re: Webhook empty using Accepted Host method

I am now capturing the headers.

Extracting the transaction number and trying to do a details lookup to get the invoiceID that I sent when I created the web order.

With that invoice ID, I can complete the order.

however, when I get the transaction ID and do a transaction details lookup, it gives me this error.

Nowhere in my code am I using the clientId