Return from Paypal to last page

I have a website using the Paypal hosted buttons. I have added a variable to the Paypal button that takes the user back to my catalogue page when continue shopping is clicked. The variable is shopping_url= It works fine but what I would really like is to return the user to the last page they were looking at before heading to Payapl. Is there a means of doing that?
Thanks John

Not sure how you put the URL into the shopping url.

The only way I can think of to get to the previous page would be JavaScript DOM history.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.