My credit card vendor has a DLL they provide that I can
call. I'm not
sure what I'm doing here and they have no instructions on
how to
install it or use it with C#.
I've gotten as far as putting the DLL into the Bin folder.
When I
declare it in code as follows, Intellisense is able to find
the
clsSecurePay(), so I know its finding it. But when I go to
reference
the properties it doesn't find them and gives an error
"Compiler Error
Message: CS1519: Invalid token '=' in class, struct, or
interface
member declaration"
SPCOMDN.clsSecurePay objSPCOM = new SPCOMDN.clsSecurePay();
objSPCOM.Amount = "1.00";
When I right-click clsSecurePay() and go to the object
definition,
everything seems to be fine. Perhaps I'm not declaring it
right or
haven't referenced it correctly.
Here's the object definition:
using System;
namespace SPCOMDN
{
public class clsSecurePay
{
public clsSecurePay();
public string Amount { get; set; }
public string AVSREQ { get; set; }
public string CCMethod { get; set; }
... blah blah
public void SendTransaction();
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "ASP.Net Community" group.
To post to this group, send email to aspnet googlegroups.com
To unsubscribe from this group, send email to
aspnet-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/aspnet?hl=en
-~----------~----~----~----~------~----~------~--~---
|