Hi all,
I am writing a webpage to test the credit card transaction process.
After transction, there are some vaules such as transaction refernece
will be return back to my webpage.
How can i receive these values in C#?
What command I need to use in C#?
Is there is tutorial website I can read??
thanks for your time.
Wing 3 1183
Wing,
This is something that is dependent on the website/web service you are
calling. AFAIK, there isn't a standard API for this.
You will need to check the site that you are trying to access, see if
they have any documentation on what you are trying to do.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Wing" <li******@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com... Hi all,
I am writing a webpage to test the credit card transaction process. After transction, there are some vaules such as transaction refernece will be return back to my webpage.
How can i receive these values in C#?
What command I need to use in C#?
Is there is tutorial website I can read??
thanks for your time.
Wing
You're looking for System.Net.WebClient. See: http://msdn.microsoft.com/library/de...classtopic.asp
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.
"Wing" <li******@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com... Hi all,
I am writing a webpage to test the credit card transaction process. After transction, there are some vaules such as transaction refernece will be return back to my webpage.
How can i receive these values in C#?
What command I need to use in C#?
Is there is tutorial website I can read??
thanks for your time.
Wing
thanks for your comment
the following code is provided by the credit card transaction website
----------------------------------------------------------------------------------
<%
result = Request("ewayTrxnStatus")
trxnReference = Request("ewayTrxnReference")
transaction_number = Request("ewayTrxnNumber")
if transaction_number = "" then
transaction_number = "NOT DEFINED"
end if
option1 = Request("ewayoption1")
option2 = Request("ewayoption2")
option3 = Request("ewayoption3")
%>
<table border="1" width="70%" cellspacing="0" cellpadding="5"
bordercolor="#000080">
<tr>
<td width="22%" valign="top"><p class="subtitle">
<a href="http://www.eway.com.au" target="_blank">
<img alt="eWAY - a total e commerce solution" border="0"
height="91" src="http://www.eway.com.au/images/logos/eway.gif"
width="200">
</a></p>
</td>
<td width="78%" valign="top" bgcolor="#ffffff">
<p>Transaction status is <b><%=result%></b> for transaction
<b><%=CStr(trxnReference) %></b>, your reference is
<b><%=CStr(transaction_number) %></b>
The following additional information was passed <br>
option1 <b><%= CStr(option1) %></b><br>
option2 <b><%= CStr(option2) %></b><br>
option3 <b><%= CStr(option3) %></b>
</p><a href="http://www.eway.com.au">Return to eWAY web site</a>
</td>
</tr>
</table>
------------------------------------------------------------------------------------------------------------
the value of ewayTrxnStatus, ewayTrxnReference, ewayTrxnNumber,
ewayoption1, ewayoption2 and ewayoption3 will be return to my website
after transaction.
What's the corresponding Method i can call in C# to perform the same
job??
thanks you This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sven Groot |
last post by:
I have a Windows Service application that acts as if it's an SMTP server.
Outlook connects to this service, which is always running on the localhost.
This works fine most of the time.
However,...
|
by: QQ |
last post by:
Hello I am a newbie on network programming.
I am trying to receive a packet
if((numbytes = recvfrom(udp_fd1, buf, MAXLEN-1, 0,(struct
sockaddr*)®ister_addr, &addr_len))==-1){
fprintf(stderr,...
|
by: PHLICS_Admin |
last post by:
Hi All,
There are two network cards in one computer (named A) , and there is one
network card in another computer(named B).
On computer A: one network card is used to connect to internet, and...
|
by: TacoGod |
last post by:
I am trying to retrieve a file list from a ftp. I got this code from
the microsoft website:
Do While (True)
m_aBuffer.Clear(m_aBuffer, 0, m_aBuffer.Length)
bytes = cSocket.Receive(m_aBuffer,...
|
by: ransoma22 |
last post by:
I developing an application that receive SMS from a connected GSM
handphone, e.g Siemens M55, Nokia 6230,etc through the data cable.
The application(VB.NET) will receive the SMS automatically,...
|
by: Brad Baker |
last post by:
I have an asp.net/csharp application that requires a particular variable to
work properly. This variable is usually passed via a query string in the URL
when the application is first run but under...
|
by: s0suk3 |
last post by:
I wanted to ask for standard ways to receive data from a socket stream
(with socket.socket.recv()). It's simple when you know the amount of
data that you're going to receive, or when you'll receive...
|
by: =?Utf-8?B?UmFqbmk=?= |
last post by:
Dear William Stacey,
I have written a server code using the Windows Socket API's. Wherein I have
created the socket and bound it to a particular IP address and port number.
Later I have made the...
|
by: OBones |
last post by:
Hi all,
I'm currently trying to receive replies to a UDP broadcast that I sent
and I can't get it to work. I know the datagrams are sent as I see
them with WireShark, but my C# code does not see...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |