trying to redirect browser after authorize.net sim

Posted on 2005-04-13
Medium Priority
Last Modified: 2013-12-24
  I have created a catalog and shopping cart in coldfusion.  I have it processing transactions through authorize net.  That all works perfectly.  Now when it is done processing the card it comes back to the site (still on authorize net site - secure.authorize.net url in the address bar) it processes the return codes from authorize.net and then I want to direct the users browser to another page on the website thereby changing the url in the address bar to a page on our site.   unfortunately that is proving a little more difficult than it seems like it should.  Perhaps it is me :-).  After it processes the transaction I have a <cflocation url="http://www.mysite.com/thispage.cfm?user_id=#form.user_id#">  It goes to this location but since the url in the address bar *still* does not change (why does it stay on authorize.net's site at that point?  In php I just do a Header("Location: www.mysite.com/mypage.php");  and I am out of there.  But it does not seem to function the same way with the cflocation call.  It still stays on the authorize.net site/url.  I place a link on the page to "click here to go view and print your invoice". But if the user decides to click on any of the navigation buttons they are hosed.

Any ideas?

Question by:JGoyer
1 Comment
LVL 35

Accepted Solution

mrichmon earned 2000 total points
ID: 13774916
A cflocation should do that unless you are somehow inside a frame.  In that case you need to break out of the frame.

You should examine the source of the page that it returns to.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Original post  on Monitis Blog. Web performance monitoring is broken into two camps: passive and active. Passive monitoring is defined as looking at real-world historical performance by monitoring actual log-ins, site hits, clicks, requests for …
The online market is growing at an unprecedented rate and retail eCommerce sales are expected to reach $4 trillion by 2020. Yet, the profit is not just there for the taking because you have to set yourself apart from the competition.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question