Click here to Skip to main content
15,917,795 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
Rhys Gravell10-Jul-07 20:55
professionalRhys Gravell10-Jul-07 20:55 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
N a v a n e e t h10-Jul-07 22:25
N a v a n e e t h10-Jul-07 22:25 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
Rhys Gravell10-Jul-07 22:56
professionalRhys Gravell10-Jul-07 22:56 
Questionhow to find no of days in a month Pin
Vipin.d10-Jul-07 2:39
Vipin.d10-Jul-07 2:39 
AnswerRe: how to find no of days in a month Pin
Christian Graus10-Jul-07 2:39
protectorChristian Graus10-Jul-07 2:39 
GeneralRe: how to find no of days in a month Pin
Vipin.d10-Jul-07 3:30
Vipin.d10-Jul-07 3:30 
QuestionClearing Text in a Label Control Before Redericting The Page Pin
Mahesh.J10-Jul-07 2:35
Mahesh.J10-Jul-07 2:35 
AnswerRe: Clearing Text in a Label Control Before Redericting The Page Pin
Christian Graus10-Jul-07 2:38
protectorChristian Graus10-Jul-07 2:38 
QuestionWeb services Pin
Imthu10-Jul-07 2:26
Imthu10-Jul-07 2:26 
AnswerRe: Web services Pin
Christian Graus10-Jul-07 2:35
protectorChristian Graus10-Jul-07 2:35 
GeneralRe: Web services Pin
Imthu10-Jul-07 2:47
Imthu10-Jul-07 2:47 
GeneralRe: Web services Pin
Sathesh Sakthivel10-Jul-07 2:55
Sathesh Sakthivel10-Jul-07 2:55 
GeneralRe: Web services Pin
Christian Graus10-Jul-07 5:14
protectorChristian Graus10-Jul-07 5:14 
QuestionRouting using web page Pin
moon_stick10-Jul-07 1:35
moon_stick10-Jul-07 1:35 
AnswerRe: Routing using web page Pin
Christian Graus10-Jul-07 2:39
protectorChristian Graus10-Jul-07 2:39 
QuestionHow can i get Transaction Key on Authorize.net Pin
mangrovecm10-Jul-07 0:53
mangrovecm10-Jul-07 0:53 
Dear Experts,
I am integrate Payment of Authorize.net into my shopping cart.

I have a code lines:

string url = "https://certification.authorize.net/gateway/transact.dll";
StringBuilder strBuilder = new StringBuilder();
strBuilder.Append("x_login=" + login_ID + "&");//I have already login_ID
strBuilder.Append("x_tran_key=Tran_Key&"); //I don't know
strBuilder.Append("x_method=CC&");
strBuilder.Append("x_type=AUTH_CAPTURE&");
strBuilder.Append("x_amount=1.00&");
strBuilder.Append("x_delim_data=true&");
strBuilder.Append("x_delim_char=|&");
strBuilder.Append("x_relay_response=false&");
strBuilder.Append("x_card_num=" + card_num +"&");
strBuilder.Append("x_exp_date=092008&");
strBuilder.Append("x_test_request=true&");
strBuilder.Append("x_version=3.1");

string strPost = strBuilder.ToString();
StreamWriter myWriter = null;

HttpWebRequest objRequest = (HttpWebRequest)WebRequest.Create(url);
objRequest.Method = "POST";
objRequest.ContentLength = strPost.Length;
objRequest.ContentType = "application/x-www-form-urlencoded";

try
{
myWriter = new StreamWriter(objRequest.GetRequestStream());
myWriter.Write(strPost);
}
catch (Exception e)
{
return e.Message;
}
finally
{
myWriter.Close();
}

HttpWebResponse objResponse = (HttpWebResponse)objRequest.GetResponse();
using (StreamReader sr = new StreamReader(objResponse.GetResponseStream()))
{
result = sr.ReadToEnd();
// Close and clean up the StreamReader
sr.Close();
}
return result;


All requests are failed because i have not know x_tran_key (Transaction Key).
How can i get the Transaction Key?

Thank in advance,

Kiet

vtkiet05
AnswerRe: How can i get Transaction Key on Authorize.net Pin
N a v a n e e t h10-Jul-07 1:03
N a v a n e e t h10-Jul-07 1:03 
GeneralRe: How can i get Transaction Key on Authorize.net Pin
mangrovecm10-Jul-07 1:55
mangrovecm10-Jul-07 1:55 
AnswerRe: How can i get Transaction Key on Authorize.net Pin
Christian Graus10-Jul-07 2:36
protectorChristian Graus10-Jul-07 2:36 
QuestionGridview to Excel Error Pin
Gamzun10-Jul-07 0:52
Gamzun10-Jul-07 0:52 
Question.swf file Pin
.NET- India 10-Jul-07 0:25
.NET- India 10-Jul-07 0:25 
AnswerRe: .swf file Pin
N a v a n e e t h10-Jul-07 1:06
N a v a n e e t h10-Jul-07 1:06 
QuestionCoding Pin
velud10-Jul-07 0:18
velud10-Jul-07 0:18 
AnswerRe: Coding Pin
N a v a n e e t h10-Jul-07 0:29
N a v a n e e t h10-Jul-07 0:29 
AnswerRe: Coding Pin
Pete O'Hanlon10-Jul-07 1:31
mvePete O'Hanlon10-Jul-07 1:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.