sandbox paypal recurring billing post data issue..not receiving post data in auto return is on

StackOverflow https://stackoverflow.com/questions/15357971

  •  23-03-2022
  •  | 
  •  

Question

I am also facing many issues with new sandbox account, but by using ctrl+shift+N i can login to sandbox now.. My question is : i am using recurring payment..i have set auto return on with PDT on..but i am not getting details on return url...when i post the details to sandbox paypal..below is the my form details...please help me to resolve this issue..

            <input type="hidden' name="business" value="merch_1362652447_biz@yahoo.co.in">
            <input type="hidden" name="cmd" value="_xclick-subscriptions">
            <input type="hidden" name="item_name" value="Alices Monthly Digest">
            <input type="hidden" name="item_number" value="DIG Weekly">

            <input type="hidden" name="a1" value="0">
            <input type="hidden" name="p1" value="1">
            <input type="hidden" name="t1" value="M">

            <input type="hidden" name="a3" value="10">              
            <input type="hidden" name="p3" value="1">
            <input type="hidden" name="t3" value="M">
            <input type="hidden" name="rm" value="2">
            <input type="hidden" name="src" value="1">              

            <input type="hidden" name="return" value="http://sitename/test.php">
            <input type="hidden" name="cancel_return" value="http://sitename/test.php">
            <input type="hidden" name="notify_url" value="http://sitename/test.php">
        </form>"

with form action="https://sandbox.paypal.com/cgi-bin/webscr"

If i am not set auto return in that case..when user clicks return button then its gives me all required payment details ...but in case of auto return its not working...pls Thanks in advance...

Was it helpful?

Solution

You will not get any details back with the current button you are using, because you are setting up a free 1 month trail. PDT (Payment Data Transfer), only returns the information back to your site when there is a payment. In this case, since there is a free 1 month trial, no data is returned. If you were to change it from 0.00 to 1.00 for example, data would be returned. If you are going to want to capture the information once a buyer completes a checkout, I would suggest using IPN. IPN is also going to be more reliable than PDT as well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top