SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

going automatically to the requested url after succes paypal

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
multinet



Joined: 28 Nov 2004
Posts: 34
Location: France

PostPosted: Thu Apr 07, 2005 11:48 am    
Post subject: going automatically to the requested url after succes paypal

I want that people that pay with paypal go directly to the initial url they have requested.

Today they go back to the shopping cart because that's i've put in "success return path" (cart.php)

Is it possible to put redirect.php instead of cart.php ?

thanks
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Fri Apr 08, 2005 3:52 am    
Post subject:

The closest solution to your trick is to put login_form.php instead of cart.php in the "success return path". Users who pay with paypal will be redirected to the initial url after logging in.

Jason
_________________
~ Patronsoft Limited ~
Back to top
dcgilpin



Joined: 29 Jan 2005
Posts: 19
Location: Oklahoma

PostPosted: Tue Apr 12, 2005 3:25 am    
Post subject: similar issue

when an existing user logs in and has no time left that user is redirected to the shopping cart, they select a plan, then redirected to PayPal, the user pays, on the PayPal payment confirmation page there is a "Return to Merchant Page" button - no automatic redirect. After clicking the "Return to Merchant Page" the user is redirected to the FS Home screen(login screen) and prompted to login again. After loging in again the "Please wait while being redirected to the original URL" page is shown -- then after a short wait the default "Page Cannot be Displayed" page comes up. The user can click their HOME button or manually type in a public URL and they go to that page.

What am I missing between PayPal payment and being redirected to a functional page.
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Wed Apr 13, 2005 3:42 am    
Post subject:

Are you using the solution that i suggested? Has any user been successfully redirected?

what URL is in the address bar when you get the "Page Cannot be Displayed" error?
_________________
~ Patronsoft Limited ~
Back to top
dcgilpin



Joined: 29 Jan 2005
Posts: 19
Location: Oklahoma

PostPosted: Fri Apr 15, 2005 4:49 am    
Post subject: similar issue

Jason,

Sorry it took so long to get back with you.

Your QUESTION: "what URL is in the address bar when you get the "Page Cannot be Displayed" error?"

My ANSWER: http://mypublicFirewallIPaddress/cart.php?:5788
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Fri Apr 15, 2005 5:24 am    
Post subject:

please post your config.ini.

what is in the "Success return path" now?

What was the initial URL that the user put in before he/she got this http://mypublicFirewallIPaddress/cart.php?:5788 error?

Jason
_________________
~ Patronsoft Limited ~
Back to top
dcgilpin



Joined: 29 Jan 2005
Posts: 19
Location: Oklahoma

PostPosted: Tue May 10, 2005 6:02 pm    
Post subject:

Jason,

Return path is: http://my_server_public_address:5788/cart.php.

Your question:
What was the initial URL that the user put in before he/she got this http://mypublicFirewallIPaddress/cart.php?:5788 error?

Answer: the user is in the PayPal payment confirmation page and clicks the "Return to Merchant" button. This takes the user back to the FS login screen not cart.php.

Do I need to modify my paypal account confirguration so my users don't get the "Return to Merchant" button after they pay -- I don't even know if I have that option in Paypal.
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Tue May 10, 2005 6:16 pm    
Post subject:

Try to put http://your_server_public_address:5788/login_form.php in "Success return path" and tell me the result
_________________
~ Patronsoft Limited ~
Back to top
dcgilpin



Joined: 29 Jan 2005
Posts: 19
Location: Oklahoma

PostPosted: Tue May 10, 2005 9:51 pm    
Post subject:

The result is the same. After clicking the "Return to Merchant" button in the Paypal interface the user get sent back the the FS login screen as if to be prompted to login in again. After loging in again the "Please wait while being redirected to the original URL" page is shown -- then after a short wait the default "Page Cannot be Displayed" page comes up. The user can click their HOME button or manually type in a public URL and they go to that page.

The URL in the address bar when the user gets the "Page Cannot be Displayed" error is http://your_server_public_address:5788/login_form.php. This is also the address in the "Success return path".
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Wed May 11, 2005 6:45 am    
Post subject:

Sorry, I thought that was your server private ip address in the "success return path".

Instead of putting this: http://your_server_public_address:5788/login_form.php,
you should put something like: http://your_server_private_address:5788/login_form.php

let me know if it works
_________________
~ Patronsoft Limited ~
Back to top
dcgilpin



Joined: 29 Jan 2005
Posts: 19
Location: Oklahoma

PostPosted: Wed May 11, 2005 2:07 pm    
Post subject:

So, the "success return path" would be:

http://10.20.7.1:5788/login_form.php

If so is the format for the "failure return path" the same?
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Wed May 11, 2005 6:02 pm    
Post subject:

So, the "success return path" would be: http://10.20.7.1:5788/login_form.php

answer: yes, if your server private ip is 10.20.7.1

If so is the format for the "failure return path" the same?

answer: you might want to put http://10.20.7.1:5788/cart.php, so that the client will be redirected back to the shopping cart if the transaction fails.
_________________
~ Patronsoft Limited ~
Back to top
dcgilpin



Joined: 29 Jan 2005
Posts: 19
Location: Oklahoma

PostPosted: Wed May 11, 2005 6:08 pm    
Post subject:

That worked. I was using my server's public address for the success and failure paths. Thanks for you help and patience.

- dg
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group