|
|
|
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.
|
|
|
|
|
|
|
|
|
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
|
|
|
|
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" ?
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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?
|
|
|
|
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
|
|
|
|
Guest (2)
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.207 seconds.