| West Wind Web Store .NET 2.0 Beta |
| ccLinkPoint Configuration |
You can download the LinkPoint API from:
https://www.linkpoint.com/viewcart/
You'll want to use the LinkPoint API .NET (C# or VB) download for Windows. This download includes a couple of DLLs (linkpointTransaction.dll and lpssl.dll) which you should copy in your bin or executable directory so your application can find it.
OpenSSL is a separate, required download
For .NET you will also need to download the OpenSSL DLLs which Linkpoint uses. You can go to http://www.linkpoint.com/support/ and follow the links from there to download and drop libeay.dll and ssleay.dll into your System32 directory.
To enable the class uncomment the #define EnableLinkPoint directive. Then copy the LinkpointTransaction.dll and lpssl.dll into the bin/executable directory of your application and add a reference in your project to LinkPointTransaction.dll.
Although a factory pattern might have isolated this interface more cleanly it would have also required a separate assembly. Since LinkPoint is a specialty install and you will need to copy the LinkPoint DLLs explicitly anyway we opted for this simpler more integrated approach.
CC = new ccLinkPoint(); CC.MerchantPassword = App.Configuration.CCMerchantId; // "123412314" CC.CertificatePath = App.Configuration.CCCertificatePath; // "d:\app\MyCert.pem" // *** HTTP Link can be server name plus port CC.HTTPLink = "staging.linkpt.net:1229"; // CC.Port = 1229; // or specify port separately