cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get refId at webook?

 

I want to implement AcceptHostedPage on my website.
I follow API example to generate the token, and embed the token with an extra 'refId' field into a html form.
After the html form submitted, I can get webhook request, but I didn't get my refId from that webook.
How can I get refId?

 

Thank you.

tony88
Member
2 REPLIES 2

Hi Tony,

 

As a workaround you can pass the refID in the invoiceNumber field under the order when calling the getHostedPaymentPageRequest. 

 

You should be getting back the invoiceNumber in the getTransactionDetails call . 

 

Hope this helps .

chsriniv9
Developer Developer
Developer

I follow your advice and get it work.

 

Thank you.