YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

auto return Options
Pamela Whittaker
#1 Posted : Saturday, March 13, 2010 8:53:34 AM
Rank: Starting Member

Groups: Registered

Joined: 3/13/2010
Posts: 2
I have set up an auto return url in paypal but I want it to return the customers Email and first name for use in an Email sent from the return url page. How do I do that? Will they be posted back automatically? The site is php. It can be returned as a query string if you use <input type="hidden" name="return"> to call paypal but I need to force poeple to return rather than hope they click the return button. Am I tight in thinking that <input type="hidden" name="return"> overrules the return url so for teh reutn url to work I shouldn't have it?



Thnaks
Sponsor  
 
nds_webdesign
#2 Posted : Monday, March 15, 2010 5:02:15 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
You would want to get the information through IPN or use PDT. IPN would allow for you to receive the information and send the email regardless of if they returned or not. PDT would still require that the user returns. I only use PDT if a user is going to return and view a dynamic page such as an invoice receipt or something like that. Otherwise I use IPN, PayPal's IPN is much more reliable than hoping a user clicks a button no matter what you put in that button. By default it says "Return to Merchant" you can change that text using the 'cbt' variable in the post:

Code:
<input type='hidden' name='cbt' value='Click here to complete your order'>


that would make the button say "Click here to complete your order" but they still might not click it.

All in all IPN would be the way to go.

If you have questions let me know.

Pamela Whittaker
#3 Posted : Monday, March 15, 2010 10:32:38 AM
Rank: Starting Member

Groups: Registered

Joined: 3/13/2010
Posts: 2
I am a bit confused. I thought if you set up a return url in you Paypal account instead of the hidden return parameter that it went there automatically? If that is the case how do you access the first name etc
nds_webdesign
#4 Posted : Wednesday, March 17, 2010 4:04:08 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
If you set up the "Auto Return" in your PayPal account the buyer will be directed there automatically, IF they pay with a PayPal account. If they pay via Credit Card they will have to click the "Return to Merchant" link on the page. That is because there is information on the payment on that page and the buyer needs to be able to gather that Receipt number if they need it, and the Buyer paying by credit card can not login to their PayPal account to see the details because they don't have one, they are paying directly by credit card. So, you would want to collect the information to update your cart/database/website by using IPN. IPN is not dependent on a user action of clicking a link where the "Return method" or "rm" type is.

Use IPN it will save you many headaches in the future. What are you trying to do with the data when you get it?

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.155 seconds.