|
|
|
Rank: Starting Member
Groups: Registered
Joined: 12/29/2002 Posts: 2 Location: ,
|
I've read through the online manuals and numerous coding examples.
I'm still unclear about the signup process. If a buyer clicks on a subscribe button and I have IPN enabled, does the buyer get redirected to a success URL AND do I receive a subscription signup IPN?
I would like to enable the user account immediately (I'll always have a free trial period). Should I enable the account in the Success URL or in the IPN URL?
Michael Beller
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 10/17/2002 Posts: 2,139 Location: ,
|
Your customers will be sent to the URL value that you set for the 'return' variable when they make a payment successfully via PayPal. The 'notify_url' variable or IPN feature in your Profile will send a string to your script. You will want to use the second post to your IPN script, verified payment, to allow access to the customer to your web site. I'ts better to activate the subscription based on subscr_signup in the IPN post than rely on the post to the return value. Stephen Ivaskevicius PayPal/eBay, Inc. www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 12/29/2002 Posts: 2 Location: ,
|
Why is it better to activate the subscription based on subscr_signup in the IPN post than rely on the post to the return value?
My understanding is that if you have IPN activated, the post back to the "success url" will contain all the same variables - including the payment type and payment status.
If I have a free trial to start the subscription anyway, why not activate the subscription right away?
More importantly, if not, how do you provide instant access? I plan on selling downloadable software as well, I want customers to purchase and then immediately have access to download. If I can't use the "success URL", how do I provide immediate access to their download? My understanding is that the IPN post could follow in seconds or hours.
Thanks
Michael Beller
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 11/16/2002 Posts: 37 Location: ,
|
How about the page at your success URL reads a DB entry that your IPN page has updated... If the IPN has beat your customer to your site, then the success page gives the URL to the download. If not, then put a "sorry" message up, explaining that you are waiting for confirmation. Give them the option to refresh your page to see if the IPN has happened, or if they cannot wait, send them an email with a link to the download page. (May as well drop a cookie on their machine as well, just for extra verification). Most of the time, the IPN will have happened before the success URL page is called. Web development - http://www.revilloc.com
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
If you do fulfill based on the "return" URL, make sure you have a plan for the users who for whatever reason do not press the "Continue" button. This is why fulfilling based ont he notify_url is more reliable. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.269 seconds.