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

Multiple sites (subdomains) seperate subscriptions Options
evansl6629
#1 Posted : Monday, January 06, 2003 9:19:25 PM
Rank: Starting Member

Groups: Registered

Joined: 1/6/2003
Posts: 5
Location: ,
I am setting up a content oriented subscription website. I have sucessfully installed the paypal.pl subscription script, activated IPN and tested it's functionality - it works fine. Access is granted to the specified path. My question relates to having multiple member areas that would be sold on seperate subscriptions, as they contain different content (i.e., if you publish a food magazine and a motorcycle magazine, you'd want to sell them seperately). In my case I intend to have seperate subdomains for my content, for example: 1) food.website.com 2) motors.website.com After looking at the IPN, subscription setup, and the paypal.pl script, it appears that it won't allow for multiple and seperate domains or access areas. Basically the subscriber gets access to all files below the specified path in the paypal.pl script. Is there a tool available or a way I can accomplish seperate member access areas on the same site? Example: subscribers to food.website.com cannot access motors.teachamber.com without buying a seperate subscription? I am not very adept at scripting or programming languages, but with directions can go through the motions .. Thanks for any help.
Sponsor  
 
paypal_pb
#2 Posted : Monday, January 06, 2003 10:08:20 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
You can specify the Notification URL in the sign up button by including "notify_url".

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
evansl6629
#3 Posted : Monday, January 06, 2003 10:23:15 PM
Rank: Starting Member

Groups: Registered

Joined: 1/6/2003
Posts: 5
Location: ,
Does that mean by default the notification url is where my paypal.pl script is located? (the same as my IPN url)

And if I create a seperate path & paypal.pl script for my subdomains I can accomplish what I've asked originally?

Where exactly does the "notify_url" line go?
What is the format "notify_url=http://www.mydomain.com/cgi-bin/paypal.pl" ?
paypal_pb
#4 Posted : Tuesday, January 07, 2003 6:01:05 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
notify_url goes in your sign up button. If it's a link, then:

notify_url=http://www.mydomain.com/cgi-bin/paypal.pl

If it's a <form> button:

<input type="hidden" name="notify_url" value="http://www.mydomain.com/cgi-bin/paypal.pl">

If you have both a notify_url and a Notification URL in your Profile, notify_url will over-ride.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
evansl6629
#5 Posted : Friday, January 10, 2003 4:16:43 PM
Rank: Starting Member

Groups: Registered

Joined: 1/6/2003
Posts: 5
Location: ,
My PayPal IPN is http://working.mydomain.com/cgi-bin/paypal.pl
Works fine.

I added <input type="hidden" name="notify_url" value="http://testing.mydomain.com/cgi-bin/paypal.pl"> to my subscription button inside the form tags at the very end.
Created testing.mydomain.com/cgi-bin/paypal.pl with the .htaccess pointer inside the script pointing to the path of my .htaccess file for testing.mydomain.com

I tested by subscribing and it's not working.
1) I don't see additions to the passwd file
2) Subscription does not show in my processed_txns file

paypal_pb
#6 Posted : Friday, January 10, 2003 5:26:00 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
There are a variety of reasons why the .htpasswd file might not be getting updated properly. Common ones are that the paypal.pl script errors, paths aren't correct, the terms don't match or permissions are incorrect.

Has the script ever worked properly? Are you getting an email from the script indicating an error? What happens when you go to http://testing.mydomain.com/cgi-bin/paypal.pl in your browser?

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
evansl6629
#7 Posted : Friday, January 10, 2003 6:38:39 PM
Rank: Starting Member

Groups: Registered

Joined: 1/6/2003
Posts: 5
Location: ,
duh... thanks Patrick...

I had the .pl script in a protected folder. Just moved it out to the same dir as the working one with a different name.

Tested it and it works!!!

Thanks again for you guidance.
evansl6629
#8 Posted : Monday, January 13, 2003 6:07:43 AM
Rank: Starting Member

Groups: Registered

Joined: 1/6/2003
Posts: 5
Location: ,
Can I have multiple notify_url's so access could be granted to two seperate folders under one subscription?
paypal_pb
#9 Posted : Monday, January 13, 2003 3:07:09 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Our system will only POST once but your script could in turn POST the IPN to a second script.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
Users browsing this topic
Guest (2)
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.207 seconds.