Jump to content


Photo

Paypal Not Returning User Back To My Site


  • Please log in to reply
1 reply to this topic

#1 JamiePattison

JamiePattison

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 12 November 2013 - 04:53 PM

I have created a HTML form which is sent to sandbox as below

 

<form name="Form1" method="POST" action="https://www.sandbox..../cgi-bin/webscr" >
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="somevalue"/>
<input type="hidden" name="item_name" value="somevalue"/>
<input type="hidden" name="amount" value="4.00"/>
<input type="hidden" name="currency_code" value="GBP"/>
<input type="hidden" name="return" value="http://mysite.com/ThankYou.aspx"/>
<input type="hidden" name="rm" value="2"/>
<input type="hidden" name="cancel_return" value="http://mysite.com/Cancel.aspx"/>
<input type="hidden" name="shopping_url" value="http://mysite.com/shop"/>
<input type="hidden" name="notify_url" value="http://mysite.com/ThankYou.aspx"/>
<input type="hidden" name="no_shipping" value="1"/>
<input type="hidden" name="lc" value="GB"/>
<input type="hidden" name="no_note" value="1"/>
</form>
 
1. I can process the payment but the site remains on "You just completed your payment.". I am trying to get the user to return back to my Thankyou.aspx page. This doesnt happen, could anyone advise why and how to fix please?
 
2. I have set the Thankyou.aspx page as the notify URL too. Again this page never hits but i dont know how to get the invoice number or how i should set it to send to paypal?
 
Thanks for any help


#2 paypaldev

paypaldev

    Administrator

  • Administrators
  • 29 posts

Posted 13 November 2013 - 02:48 PM

Enabling auto return is an account setting in PayPal, not just in the purchase button code. It is likely under Website Payment Recieving Preferences in the Profile section. It may also be under teh PDT and IPN settings. PDT for sure.


Paymetrics.com - Sales Alanytics and Metrics for PayPal.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users