I have compiled a simple ASP.NET project to test first data global gateway API Integration.
Someone tell me what to do because I have tried everything.
It throws the ERROR if I use ASP.NET Development server:
<r_error> Unable to load certificate ERRs: wsa=33558530 err=33558530 ssl=537317504 sys=33558530. INFO: ACE_SSL (5260|6284) error code: 33558530 - error:02001002:lib(2):func(1):reason(2)
</r_error>
ERROR if I use Virtual Directory:
This is generated when
//Call LPTxn
string resp = LPTxn.send(keyfile, host, port, outXml);
is done
ERROR: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Testing On:
Windows 7 ultimate 64 bit
Project at the root have:
default.aspx
status.aspx
111222333.pem
Bin:
LinkPointTransaction.dll
lpssl.dll
libeay32.lib
libssl32.dll
ssleay32.lib
Web.Config just showing this to make sure:
<client>
<!-- Change this to your store number -->
<add key="Configfile" value="xxxxx"/>
<!-- Change this to the name and location of your certificate file -->
<add key="Keyfile" value="111222333.pem"/>
<add key="Host" value="xxx.xxx.net"/>
<add key="Port" value="1129"/>
</client>
Sorry for the delay in getting back to you. Below is the code I used. In particular take a look at how BuildOrderService sets up the certificate.
Response
Settings
–XML File–
–Code–
Transaction