cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect after SIM Checkout?

Hi! I'm having trouble doing the redirect after a SIM checkout. I'm adding the URL in name='x_relay_url', but apparently it works with some URLs and not others, and I can't see the pattern.

 

I'm using both a test sandbox account and a live account to try these. It appears to work with one of our domains, but not others, and it only works on the root page. It also gives an error when I add a URL which has any sort of structure (ex. http://www.domain.com/pages/auth/receipt.php). Sometimes it doesn't give an error. It just goes to the standard page showing the results of the form on Authorize's transact.dll page.

 

I figured this could be because I need to add the URL to the Response/Receipt URLs list in Authorize, but that didn't work. It gives the same issue.

 

I also figured this could be because I'm going to a different domain from the one on which I have the checkout form. No, that wasn't it either. I can put in the same IP or domain from whch I called the Authorize's SIM page, and still, no change.

 

Any ideas? I've looked at other threads in this forum and it seems others are having a similar problem, but the solution has not yet been identified.

 

Could I be missing something?

 

Thanks,

Brendan

 

 

bdparker
Contributor
2 REPLIES 2

I'm providing some of the  URLs I've tried (disguised from their actual URL for security) and the outcome:

 

URL of my Authorize form script:
http://190.10.10.10/~myurl/x/new/index.php

URLs Which Work (roots from other sites we own):
http://www.url.org
http://www.otherurl.org/

Gives "error"
http://www.url.org/Authorize/allreturns.cfm

Does nothing - just stays on the page:
http://190.10.10.10/~myurl/x/new/receipt.php

 

All of these URLs are in my Response/Receipt URLs list.

 

Thanks,

Brendan

bdparker
Contributor

Ok, there's something else I've noticed.

 

It appears that my problem is that I can only use relay responses for root levels only. If I were to relay to a page like http://www.example.com/receipt, it would not work, but http://www.example.com would. This doesn't make sense, and there isn't anything I've found in any documentation which details this.

 

Why is that? If I have any directories in my URL, the checkout page just stays put. If I don't, it actually takes me to the page.

 

Am I supposed to escape my characters as I pass them through? Do I need to run it through a PHP function? Is there a setting on my account I need to adjust in order to make this work the way it should?

 

Thanks,

Brendan