Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

return to site denied from paypal Rate Topic   - - - - -

 
  • yabbi
  • Junior Member
  • Members
  • Join Date: 27-Jul 07
  • 1 posts

Posted 11 October 2007 - 01:15 AM #1

Hi All,

Recently i've had a problem with my cs-cart 1.3.5 site. when paying for an item using paypal, i've been unable to return back to the site using the 'return to merchant' link that's available through paypal.

All I get is a simple page that says "Access denied!"

does anyone have any Ideas on how I can fix this?

Thanks

Mike

 
  • paulesport
  • Senior Member
  • Members
  • Join Date: 23-Aug 07
  • 144 posts

Posted 11 October 2007 - 09:16 AM #2

I was testing it out and that happened to me too!:confused:

 
  • ottopodo
  • Junior Member
  • Members
  • Join Date: 25-Jun 07
  • 9 posts

Posted 05 November 2007 - 06:52 PM #3

I think the problem is that the return link is wrong.
The return link point to index.php?target=cart instead of
index.php?target=checkout&mode=cart

Open payments/paypal.php and find the following line:
<input type=hidden name="cancel_return" value="$http_location/$index_script?$target_name=cart">

replace $http_location/$index_script?$target_name=cart with $http_location/$index_script?$target_name=checkout&$mode_name=cart
If you want to go back to a different step (this link go back to the cart view) simply change the "mode" value in the querystring to where you want to point.
I hope this help.
Marco