The child page(page within the iframe) does not recieve the information from authorize.net. It should be showing a digital receipt, but no information is passed.
Main Topics
Browse All TopicsHi all!
2 co-workers and I have been trying for several hours to place authorize.net's transaction page into an iFrame (when the site directs the browser to do so) so that it looks more like it is part of our site and not part of authorize's (professionalism). The problem we are getting is that the iFrame is not holding (or sending) the proper variables from authorize.net after the iFrame is directed back to our site. After the transaction is complete, it should return a receipt page (it does when we do not try to iFrame it) but through the iFrame the receipt is not returned. If you guys need pages, urls or code don't hesitate to ask.
EDIT: We implimented Authorize net's SIM.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Using frames is not recommended for payment gateways. Is the form on your site or authorize's?
We've used authorize before and were able to use our own form. Are you using curl or just a html form to post the cc info?
If you try to print_r the post data upon return, does it appear in the parent frame, or is it just lost?
This receipt page; I presume that is on authorize's site then, correct?
In that case, I guess you wouldn't be sent any post data, so nevermind about that.
The form is on our site, it passes required info to authorize. Can you please explain what 'Curl' is? Several people have asked and they didn't explain what it was when I asked them. Everything but the page that the customer fills the cc information out on (transact.dll) is on our page.
This may be easier than solving my issue, do you know how to do a custom form that collects the customer's data then submits that to authorize net? I believe authorize calls this AIM, we did SIM to save time. Let me know if I need to provide you with more information or anything.
Thanks in advance!
>>do you know how to do a custom form that collects the customer's data then submits that to authorize net?
Have you read the guide? -->http://www.authorizenet
I think it will be able to answer most of your questions, especially about setting up the form and the appropriate field names.
And curl is great! It allows you to easily use an array of protocols to transfer data. So, for example, instead of having to use a form to send the user's data to authorize, which will also send them away, you have the cc form post back to itself, compile the info and make a post request to https://../transact.dll. Then it will send data back telling you if the transaction was approved or not, among other things of course, and the user never leaves your page; just their data.
Good tutorial-->http://www.hudz
And now that I've done a little more searching, zend comes through as always and has a class that would do all that for you.
I wish I would've search for this previously. :) -->http://www.zend.com/cod
Although, that says it's for AIM. I'm not sure if curl will work w/ SIM because here's a sample authnet SIM script that uses a form instead-->http://www.scsys
If you have the time, I would definitely do as much on your own site for, as you said, profesionalism.
Good luck.
Looking through the manual, it appears you must use a form w/ SIM to post the data, but instead of a receipt page you can use Relay Response and specify a x_relay_url form field, which is on your site, then the api will post back to that location.
That'd probably be more transparent, so I'd go w/ that.
No comment has been added to this question in more than 21 days,so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
[Accept matt_mcswain's comment]
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
Kshitij Ahuja
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: AlanJDMPosted on 2005-03-04 at 11:46:42ID: 13461920
Are you sure you are checking for the return in the right place? Sounds to me like you are looking for the return in the parent page(page containing the iframe) when in actuality the results are returned to the child page(page within the iframe).
Alan