How do I send people buying via PayPal to different thank-you pages, based on the link they buy from?
January 1, 2009 2:20 PM   Subscribe

PayPal Multiple IPN Question: Given a single PayPal account, how do I, post-purchase, direct a customer to one of an array of different thank-you URLs, based on the domain he's ordering from or some other parameter?

I've purchased a couple of Multiple IPN scripts, both of which
a) rely on the 8 different email addresses you can attach to PayPal account;
b) imply you can specify different thank-you pages for each email address;
c) weirdly, have vendors that don't respond to my questions about how to do this, so I assume it's something extremely, embarrassingly simple.

PayPal's interface, so far as I can see, features only one spot for inserting a return URL, so I don't understand how to set one for each email address.

Thanks!
posted by darth_tedious to Computers & Internet (6 answers total)
 
Best answer: Pass the full thank-you page URL as the "return" parameter on the request to PayPal.
posted by nicwolff at 3:00 PM on January 1, 2009


Response by poster: >Pass the full thank-you page URL as the "return" parameter on the request to PayPal.

Thanks!

Is there any way to do that without displaying the URL within the html of the page?
posted by darth_tedious at 6:16 PM on January 1, 2009


I guess a form handler could redirect the user to a parameterized GET URL...
posted by nicwolff at 8:01 PM on January 1, 2009


Response by poster: Thanks! I guess, based on what you've written, that the multiple ipn scripts i've been fiddling with aren't supposed to pass URLs at all.

Offhand, then, is something like this the appropriate step, or am I misunderstanding something?

http://askmichel.icoder.com/2006/06/21/how-to-hide-the-return-url-of-your-order-form/
posted by darth_tedious at 8:24 PM on January 1, 2009


Yeah, something like that would work.
posted by nicwolff at 10:46 PM on January 1, 2009


Response by poster: Thanks!
posted by darth_tedious at 12:49 PM on January 2, 2009


« Older Connect me please   |   Please help me get my new MacBook Pro projecting... Newer »
This thread is closed to new comments.