im afraid not yet croCrew..
still stuck oon receiving the response_text.. .
User Profile
Collapse
-
when I enter the wrong credit card it did not show the error message
which is : response_text = "Invalid Credit Card No"
however when it is successful(ente r correct information) it print out this line:
Response.Write( "Thank You for buying GOODS from our online Store!")Leave a comment:
-
hi croCrew...
my fault.The codes that you want me to test it works but
Response.Redire ct(Request.Form ("return_url ") & "?res=" & response_code & "&text=" & response_text)
the one in bold there's curly line below...
it says variable"respon se_text" is used before it has been assigned a value.A null reference exception could result in at runtime.
...Leave a comment:
-
-
-
Yes croCrew, I did copy and paste your code..
The output is: Going to redirect to user to: return_url payResult.aspLeave a comment:
-
this statement Request.Form("r eturn_url")) is redirecting to payResult.asp
when I execute the code it did when to payResult.asp but it show:
<% else %>
I'm sorry,but there was a problem with this transaction.<br />
The server response was:<br />
eventhough its successfully update and insert to database...Leave a comment:
-
problem with passing variable
Here's the code..
icePayment.aspx
...Code:Imports System.Data Imports System.Data.SqlClient Partial Class icePayment Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim conn As New SqlConnection("data source=IFCDU2-WS23\SQLEXPRESS;initialLeave a comment:
-
hi crowcrew...
its not working...it shows page error(The page cannot be displayed)
=(Leave a comment:
-
passing variable from asp.net to asp
Desperately need help....
here's the snippet of my code that im trying to solve since last week...
icePayment.aspx
...Code:If (Left(Request.Form("return_url"), 7) <> "http://") Then errorInput = errorInput & "Invalid return URL path! <BR>" errorExist = True Response.Redirect("InvalidUrlError.aspx") Else Session( "res")Last edited by Frinavale; Oct 15 '09, 03:07 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags & indentation. -
passing variable from asp.net to asp
Desperately need help....
here's the snippet of my code that im trying to solve since last week...
icePayment.aspx
...Code:If (Left(Request.Form("return_url"), 7) <> "http://") Then errorInput = errorInput & "Invalid return URL path! <BR>" errorExist = True Response.Redirect("InvalidUrlError.aspx") Else Session(Last edited by Frinavale; Oct 14 '09, 01:21 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags. -
problem with passing variable from ASP.NET to ASP
Desperately need help....
here's the snippet of my code that im trying to solve since last week...
icePayment.aspx
If (Left(Request.F orm("return_url "), 7) <> "http://") Then
errorInput = errorInput & "Invalid return URL path! <BR>"
errorExist = True
Response.Redire ct("InvalidUrlE rror.aspx")...
No activity results to display
Show More
Leave a comment: