473,725 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

800a03f2 error on "Public Class PREAUTH"

3 New Member
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:

Expand|Select|Wrap|Line Numbers
  1. Microsoft VBScript compilation  error '800a03f2'
  2.  
  3. Expected identifier
  4.  
  5. /fsboms/newuser.asp, line 141
  6.  
  7. Private Class PREAUTH
  8. --------^
  9.  
Aaargh! It's such a simple line! Here's the actual code:

Expand|Select|Wrap|Line Numbers
  1. Public Class PREAUTH
  2.     Inherits LinkPointTxn_Page
  3.  
  4. #Region " Web Form Designer Generated Code "
  5.  
  6.     'This call is required by the Web Form Designer.
  7.     <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
  8.  
  9.     End Sub
  10.  
  11.     Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
  12.         'CODEGEN: This method call is required by the Web Form Designer
  13.         'Do not modify it using the code editor.
  14.         InitializeComponent()
  15.     End Sub
  16.  
  17. #End Region
  18.  
  19.     Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  20.         'Put user code to initialize the page here
  21.         If IsPostBack Then
  22.             ' Parse form data
  23.             ParseFormData()
  24.             ' process order
  25.             ProcessOrder()
  26.         End If
  27.  
  28.     End Sub
  29.  
  30.     Private Sub ProcessOrder()
  31.  
  32.         ' create order
  33.         Dim op As LinkPointTransaction.LPOrderPart
  34.         Dim order As LinkPointTransaction.LPOrderPart
  35.  
  36.         order = LinkPointTransaction.LPOrderFactory.createOrderPart("order")
  37.         ' create a part we will use to build the order
  38.         op = LinkPointTransaction.LPOrderFactory.createOrderPart()
  39.  
  40.         ' Build 'orderoptions'
  41.         ' For a test, set result to GOOD, DECLINE, or DUPLICATE
  42.         op.put("result", "GOOD")
  43.         op.put("ordertype", "PREAUTH")
  44.         ' add 'orderoptions to order
  45.         order.addPart("orderoptions", op)
  46.  
  47.  
  48.         ' Build 'merchantinfo'
  49.         op.clear()
  50.         op.put("configfile", configfile)
  51.         ' add 'merchantinfo to order
  52.         order.addPart("merchantinfo", op)
  53.  
  54.  
  55.         ' Build 'creditcard'
  56.         op.clear()
  57.         op.put("cardnumber", cardnumber)
  58.         op.put("cardexpmonth", expmonth)
  59.         op.put("cardexpyear", expyear)
  60.         ' add 'creditcard to order
  61.         order.addPart("creditcard", op)
  62.  
  63.         ' Build 'billing'
  64.         op.clear()
  65.         op.put("addrnum", baddrnum)
  66.         op.put("zip", bzip)
  67.         ' add 'billing to order
  68.         order.addPart("billing", op)
  69.  
  70.         ' Build 'payment'
  71.         op.clear()
  72.         op.put("chargetotal", total)
  73.         ' add 'payment to order
  74.         order.addPart("payment", op)
  75.  
  76.  
  77.         ' create transaction object    
  78.         LPTxn = New LinkPointTransaction.LinkPointTxn()
  79.  
  80.         ' get outgoing XML from 'order' object
  81.         Dim outXml As String = order.toXML()
  82.  
  83.         ' Call LPTxn
  84.         Dim resp As String = LPTxn.send(keyfile, host, port, outXml)
  85.  
  86.         'Store transaction data on Session and redirect
  87.         Session("outXml") = outXml
  88.         Session("resp") = resp
  89.         Server.Transfer("status.aspx")
  90.     End Sub
  91.  
  92. End Class
  93.  
Hmmm...I don't know how to solve that. Any assistance would be greatly appreciated.

Thanks very much.
Nov 28 '06 #1
1 2383
beniro
3 New Member
This post is in the wrong section. Sorry. I reposted it here:

http://www.thescripts. com/forum/showthread.php? p=2228549
Nov 28 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
5375
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 ATL::ChTraitsCRT<char> > > __thiscall CdbLastOLEError::GetDescription(void)" (? GetDescription@CdbLastOLEError@@QAE?AV?$CStringT@DV? $StrTraitMFC@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@XZ) referenced
0
1472
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 "panKnob") from "Friend WithEvents" to "Public Shared WithEvents" so that I could access it from another class (i.e. frmMain.panKnob.Visible=True") I get this build error: "The variable 'panKnob' is either undeclared or was never assigned." ...
1
2234
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 'myType'". Any idea why? Since Friend scope should be visible within my assembly, and everying is taking place within a single project, I don't understand why this error is occuring. Here is some illustrative code, where I would get the error in the...
0
1619
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 list option values). All was fine with the binding, until I moved the dataset to a different assembly, as I found out that the DataColumn property is "Friend" (in VB.NET). Could you point me how to make the DataColumn "public", or another work...
0
1418
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 member variable of CTest. Can anyone help?
5
3674
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 determine the rank of a character but I keep getting errors. I want to "redefine" some attributes from the base class so I can use them to help determine the rank. However, I get the error that my base class doesn't have the dictionary that...
0
1426
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: Microsoft VBScript compilation error '800a03f2' Expected identifier /fsboms/newuser.asp, line 141
1
1919
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 project many times to my application, but i getting this error now.please anybody try to help me out, if anybody solve this problem really million thanks to them. Thanks.
3
3351
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 access modifier applied if one isn't defined; so class would in fact be read as "private class" when it's compiled, but that isn't the case.
0
9401
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9116
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.