YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Express Checkout - Not redirecting to PayPal site Options
Vasan
#1 Posted : Monday, November 21, 2011 9:13:51 AM
Rank: Starting Member

Groups: Registered

Joined: 11/21/2011
Posts: 2
Location: Bangalore
Hello,

We are facing a strange issue, we are using ExpressCheckout flow and as you guys know we have the following 3 steps:
1. SetExpressCheckout
2. GetExpressCheckout
3. DoExpressCheckout

The first step works fine, that is 'SetExpressCheckout' we get the token, once we get the token, we have to redirect to the PayPal site, please find below the code that is doing that:
header("Location:".$CustomerRedirectTo.$EC_Value)

where $CustomerRedirectTo = 'https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=' and the $EC_Value contains the token.

This is not happening, basically the page is not getting redirected to the PayPal login page, the strange thing is that it works for us developers in India, however for my client in Australia it doesnt seem to work, here goes the link to the video:

http://screencast.com/t/GVDZTJ7bMR

Yes, i am sure the code is hitting the above line, there is no logical issue, the issue is that the redirect doesnt happen.

Any ideas? Thanks in advance.

Cheers

Vasan
Sponsor  
 
aydiv
#2 Posted : Monday, November 28, 2011 1:30:42 AM
Rank: Starting Member

Groups: Registered

Joined: 11/28/2011
Posts: 1
Location: India
Did you try these simple troubleshooting steps?

1. Call the redirect URL directly from your browser by copying the URL on to your address bar?
2. Use firebug or other browser plugins to see if your browser is getting a 302 redirect from your site to PayPal (Of course, your client may/may not be willing to do test this out with a browser add-on)
3. Do you have a exit right after your header call?

-aydiv
Vasan
#3 Posted : Monday, November 28, 2011 5:39:13 AM
Rank: Starting Member

Groups: Registered

Joined: 11/21/2011
Posts: 2
Location: Bangalore
Hi,

Thanks for your time.

We were able to sort out the issue, it was working fine for us while it was not working for the client. The issue was that client was opening the site using a domain name that was MASKED. To make it more clear, lets assume the site domain is originalsite.com, we were always testing it using originalsite.com, however the client was testing it using pseudomain.com which in turn was opening up 'originalsite.com' using frames. So PayPal was refusing to work under frames (at least in this case). Hope i made it clear, and now its all sorted out.

Thanks again.

Cheers

Vasan
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.199 seconds.