PDA

View Full Version : invisible server-side post to remote https


adambrooks
06-11-2005, 07:23 PM
for merchant acct integration, i need ot pass values from one https site to another secured https site server-side.

so, what isee happening is
1. user submit order
2. system logs order to database
3. certain values are passed to remote https for authorization and charge
4. shopper receives confirmation page
5. merchant's system will pass-back data stating whether the charge was verified or not
6. pass-back will execute related scripts based on order validation
7. user will receive an updated screen when pass-back reflects valid order

so, what i am missing is #3; a way to pass the values to the merchant invisibly server-side. i can embed them into an img tag as a remote querystring, but that's not really ideal. thoughts/ideas please.

BaldEagle
06-11-2005, 10:00 PM
I would think that would be a function of the receiving site. I have a client that does this and the hook was to pass the data in hidden input fields.

BaldEagle

adambrooks
06-11-2005, 10:42 PM
it's a function of teh receiving site to process the submission and pass-back transaction details. what i want is a way to invisibly pass order details through a secure connection to a remote secure server.

what i would rather not do is use an ifram or an img tag to pass data via a querystring.

has anyone looked at MSDN's remote scripting?
any other ideas?

brothercake
06-11-2005, 11:32 PM
You're talking about XMLHttpRequest? Try these http://www.fiftyfoureleven.com/resources/programming/xmlhttprequest/examples

But I don't know if it works with https

fractalvibes
06-12-2005, 04:59 AM
Or write a dll that handles this. You just instantiate it and call it from your asp page.

fv

adambrooks
06-12-2005, 09:29 AM
found what i needed @
http://www.w3schools.com/xml/xml_http.asp
http://www.asp101.com/articles/dan/AuthNetXMLHTTP/default.asp