Page 1 of 1

LinkPoint/YourPay Error

Posted: Fri Nov 20, 2009 8:56 am
by dc8johnson
We've set up the LinkPoint/YourPay provider and we're getting an error every time we try to process an order.

In the Payment tab for the order we see this error:

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
AVS:Unknown () Common AVS Codes
CVV:Unknown () Common CVV Codes

In the app.log we see this error:

ERROR 2009-11-20 09:47:58,066 50080ms Object a - Provider threw exception in DoAuthorize.
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at LinkPointTransaction.LPSSL_Wrapper.lp_send(String inXml, String clientCertPath, String host, Int32 port, String outXml, Int32 outLen, String logFile, Int32 logOpts)
at LinkPointTransaction.LinkPointTxn.send(String sXml)
at CommerceBuilder.Payments.Providers.LinkPoint.PaymentProvider.SendRequestToProvider(String providerRequest)
at CommerceBuilder.Payments.Providers.LinkPoint.PaymentProvider.DoAuthorize(AuthorizeTransactionRequest authorizeRequest)
at CommerceBuilder.Payments.PaymentEngine.a(AuthorizeTransactionRequest A_0, Boolean A_1)

The PEM certificate is in place. Based on the errors, this seems to be a problem on the AbleCommerce side and not a communication problem with LinkPoint/YourPay.

Re: LinkPoint/YourPay Error

Posted: Fri Nov 20, 2009 9:13 am
by mazhar
Please read following thread
viewtopic.php?f=42&t=9580

Re: LinkPoint/YourPay Error

Posted: Fri Nov 20, 2009 10:12 am
by dc8johnson
Mazhar,

Thank you for the reference to the other forum thread. Since that thread was dated April 2009, I just want to verify a couple of things. Here is what you said in April:
An update on this last issue reported with Linkpoint.

If you are getting no response from the gateway, check the app.log file and see if you have an error like this -

Code: Select all
System.BadImageFormatException: An attempt was made to load a program with an incorrect format.

The error in the app log shows the point of failure is when the .NET API attempts to access the external umanaged code (lpssl.dll). This happens when you use Linkpoint on a 64 bit system. Linkpoint will only work on 32 bit systems. AbleCommerce and all other gateways work fine with 64 bit systems.
First, is this still the case that the Linkpoint DLL is only 32bit? Second, is the lpssl.dll code from First Data/Linkpoint or is it something developed by Able Commerce or some other company? If it is from First Data, we can work with them to see if there is an updated version of the DLL that will work on 64bit OSes.

Thank you,