
Chris
Staff

Oct 10, 2002, 5:26 PM
Post #2 of 20
(14922 views)
Shortcut
|
|
Re: [ken707] Charging a subscription fee with PAYPAL
[In reply to]
|
Can't Post
|
|
Hi Ken, I'm not familiar with PayPal, but let me try my hand at a possible solution... You will then activate the username/password pair on your website's server through code you write or, if you are using Basic Authentication (with an Apache web server on Linux), through a sample Perl script we provide. ... Step 3: Activate usernames and passwords on your server The Instant Payment Notification posted to your server will include your new subscriber's username and password. If I'm reading this correctly, when a payment is successful, and the user has selected a username and password, the payment system will run a Perl script on your site. Presumably, you supply the URL that will run, and the URL will be run by the payment system, meaning that the user will not be aware of the URL. If the system allows you to insert the username and password directly into the URL, the solution should be simple: http://www.yoursite.com/rm/exec/signup.cgi?name=$fullname$&login_id=$username$&login_pw=$password$ Otherwise, you may need to write a small intermediete Perl script to convert the information into a format that signup.cgi can understand, and call signup.cgi. The trick here is that the URL to your signup.cgi script is known only to the payment system, and is never given out to users. For added security, I would suggest renaming the script so that users familiar with Realty Manager won't be able to guess the URL. Please let me know if this solution works for you, or if you have any problems along the way. Chris
(This post was edited by Chris on Oct 10, 2002, 5:28 PM)
|