Hello, all. I'm implementing LinkPoint API on my site, but I have an error coming up in their code, and I'm wondering if anyone could give me any guidance on this one.
Here is the specific error: -
Microsoft VBScript compilation error '800a03f2'
-
-
Expected identifier
-
-
/fsboms/newuser.asp, line 141
-
-
Private Class PREAUTH
-
--------^
-
Aaargh! It's such a simple line! Here's the actual code: -
Public Class PREAUTH
-
Inherits LinkPointTxn_Page
-
-
#Region " Web Form Designer Generated Code "
-
-
'This call is required by the Web Form Designer.
-
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
-
-
End Sub
-
-
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
-
'CODEGEN: This method call is required by the Web Form Designer
-
'Do not modify it using the code editor.
-
InitializeComponent()
-
End Sub
-
-
#End Region
-
-
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
-
'Put user code to initialize the page here
-
If IsPostBack Then
-
' Parse form data
-
ParseFormData()
-
' process order
-
ProcessOrder()
-
End If
-
-
End Sub
-
-
Private Sub ProcessOrder()
-
-
' create order
-
Dim op As LinkPointTransaction.LPOrderPart
-
Dim order As LinkPointTransaction.LPOrderPart
-
-
order = LinkPointTransaction.LPOrderFactory.createOrderPart("order")
-
' create a part we will use to build the order
-
op = LinkPointTransaction.LPOrderFactory.createOrderPart()
-
-
' Build 'orderoptions'
-
' For a test, set result to GOOD, DECLINE, or DUPLICATE
-
op.put("result", "GOOD")
-
op.put("ordertype", "PREAUTH")
-
' add 'orderoptions to order
-
order.addPart("orderoptions", op)
-
-
-
' Build 'merchantinfo'
-
op.clear()
-
op.put("configfile", configfile)
-
' add 'merchantinfo to order
-
order.addPart("merchantinfo", op)
-
-
-
' Build 'creditcard'
-
op.clear()
-
op.put("cardnumber", cardnumber)
-
op.put("cardexpmonth", expmonth)
-
op.put("cardexpyear", expyear)
-
' add 'creditcard to order
-
order.addPart("creditcard", op)
-
-
' Build 'billing'
-
op.clear()
-
op.put("addrnum", baddrnum)
-
op.put("zip", bzip)
-
' add 'billing to order
-
order.addPart("billing", op)
-
-
' Build 'payment'
-
op.clear()
-
op.put("chargetotal", total)
-
' add 'payment to order
-
order.addPart("payment", op)
-
-
-
' create transaction object
-
LPTxn = New LinkPointTransaction.LinkPointTxn()
-
-
' get outgoing XML from 'order' object
-
Dim outXml As String = order.toXML()
-
-
' Call LPTxn
-
Dim resp As String = LPTxn.send(keyfile, host, port, outXml)
-
-
'Store transaction data on Session and redirect
-
Session("outXml") = outXml
-
Session("resp") = resp
-
Server.Transfer("status.aspx")
-
End Sub
-
-
End Class
-
Hmmm...I don't know how to solve that. Any assistance would be greatly appreciated.
Thanks very much.
1 2360
This post is in the wrong section. Sorry. I reposted it here:
http://www.thescripts.com/forum/showthread.php?p=2228549
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Cris |
last post by:
Hi
I´m converting a VC6 Project to VC7 and I´m having the
follow problem:
error LNK2019: unresolved external symbol "public: class
ATL::CStringT<char,class StrTraitMFC<char,class ...
|
by: VB Programmer |
last post by:
I wanted to access some properties of a panel control that is on a different
form. So, I went to the (Declarations) section of my main form (the form
with the panel) and changed the panel (called...
|
by: timbobd |
last post by:
I have encountered a situation that I don't understand. When I call a sub of
Friend scope (in an object with Friend scope), I am getting an error "Public
member 'subname' not found in type...
|
by: AndyB |
last post by:
I'm using xsd.exe to generate a typed-dataset. Then using typed dataset
tables (datatables containing two columns--a name and a value) to bind to
ASP.NET dropdown list controls (for the dropdown...
|
by: Simon |
last post by:
Hi All,
I have come across a problem with a bog std MFC app linking to bog std MFC
extension dll - both generated by the wizards. The code is set out below.
The trouble is with the static...
| |
by: crystalattice |
last post by:
I've finally figured out the basics of OOP; I've created a basic character
creation class for my game and it works reasonably well. Now that I'm
trying to build a subclass that has methods to...
|
by: beniro |
last post by:
Hello, all. I'm implementing LinkPoint API on my site, but I have an error coming up in their code, and I'm wondering if anyone could give me any guidance on this one.
Here is the specific error:...
|
by: rocksoft |
last post by:
Hi,
i got error "class not registered" when i try to create web setup and deployment project to my web application. i'm used Asp.net and c# to my application, i created web setup and deployment...
|
by: Matt |
last post by:
Hi everyone,
can someone point out the difference between defining a class with the
public access modifier and just leaving it as it is (default in vs.net
"class")
I think that the default...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
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: 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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |