We have a web application created by Delphi + Intraweb (for managing the interface / web code) that controls the ordering process. He acquires the order information, then sends a transaction request to authorize.net (essentially using the SIM card code ). It works beautifully and credit card order is being processed.
However, when authorize.net sends the form message back to the relay response URL (http://developer.authorize.net/guides/SIM/Receipt_Options/Relay_Response.htm), the Intraweb application explodes. I see, using TamperData, that form data is submitted correctly. She can see that her program opens a connection to the database, and then disconnects.
- I ran out of my google-fu and did not find any Intraweb code examples that could accept incoming messages in the form. (This is probably all we really need. If we could get the data into the Intraweb / Delphi world, then we could manage the rest.)
- The in-page documentation assumes that IW will accept the parameters passed to the URL, but does not mention accepting the POST data.
- The authorize.net community forum has a set / reply mail, which basically says "Sorry, we donβt have any Delphi code samples, ask your provider."
- Technical Support Intraweb Tech could not help her. (I think they did not respond to the request a few weeks ago, but I'm not sure.)
- I assumed that she created a test application stub that emulated the form authorize.net message to ensure that the form objects were correctly created. (I really donβt understand what is happening under the covers of the drag-n-drop form fields, but I poured the generated source code to try to figure it out.) But the POST form is the POST form, right? I mean, this is HTTP, not magic. But there were two problems with this. 1.) Intraweb seems to force the form field names to all CAPS. 2.) She says that IW will not accept underscores as part of the form field name. And, of course, we are stuck in what authorize.net passes, lowercase, underscore is split and that's it.
Do you have any ideas, pointers to sample code or tips to pull it all out and move on to another solution? We would greatly appreciate all of the above.
* We = an old Delphi / DBA programmer who knows Delphi inside out, but Intraweb "automatically works", and I, a Java programmer and a random PHP hacker on the other side of the country, who are allergic to IDE rendering but try to interpret the secrets of the Internet HTTP for her. For this specific task, we find ourselves less than the sum of our parts.
buzzo source share