cancel
Showing results for 
Search instead for 
Did you mean: 

how to get authcode and tranId from hosted payment

I am using the following code to after getting a token.

 

<form method=""POST"" action=""https://test.authorize.net/payment/payment"" name=""frmCreditCard"">

<input type='text' name='Token' value='" + Token + @"' />
</form><script type=""text/javascript"">document.frmCreditCard.submit();</script>";
Response.Write(formPostText);

 

How can i get get the auth code and tran id to store in a database.

 

I get a receipt but need to place the values in a database

 

I am using asp.net with C#

rrr944276
Contributor
2 REPLIES 2

by search online i found about register a webhook and get notified asynchronously fo the transation detail. Would that work and is there a simple sample on how to do this. every thing works but i need the authcod and tranid to store in a database. i am using asp.net c# in the website.

rrr944276
Contributor

How to get token please help me send me code 

balamurugan
Member