I am tasked with the job of replacing a bill accepter in a XP-based vending machine application that is written in c++ within a visual studio 2008 development environment. I typically do not seek help, but I have spent a lot of time trying to adapt the AIM c# example to something that works in my my development environment. The C# example works fine in visual studio. However, I do not have much experience with C++ and Internet application. I have opened a socket (without errors) and sent a message to "test.authorize.net:, port 443, with the path set to "gateway/transact.dll." I suspect there is something wrong with the message, but I do not get a connect error. I never get a response from the message. Does anyone have a simple example of posting a transaction using Winsock in a less than "state of the art" c++ development environment? I am using a card-present message format that conforms to the specification & is essentially the same as the message included in the c# AIM example.
Solved! Go to Solution.
โ06-22-2013 07:36 PM
Do I need to turn on security for my Windows socket before I send the message to test.authorize.net?
Should I be looking for a way to integrate C# into my existing C++ code, rather than trying to communicate directly with authorize.net?
โ06-24-2013 11:18 AM
Do I need to turn on security for my Windows socket before I send the message to test.authorize.net?
Should I be looking for a way to integrate C# into my existing C++ code, rather than trying to communicate directly with authorize.net?
โ06-24-2013 11:18 AM
Used WinHTTP wraper from codeproject. Works fine with C++ & authorize.net
โ07-04-2013 06:08 PM