Forum Moderators: buckworks

Message Too Old, No Replies

Integrating online payments for website

members or similar

         

ukgimp

10:17 am on Mar 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I could I would just like to clarify the process of making a subscription member area to a site or to a particular post. It is something I have not had to do personally so I would be interested in the process.

If I have a members sign up page that collects all the information like email addresses etc and submit it to a db then when you require payment details you go to a SSL connections or to a third party supplier like worldpay. Would you have to update the db to make the account active manually or could the process be fitted in automatically.

As I am writing this there seems to be a near infinite amount of variations so this post looks a little scatty. So…

Any case studies (or posts here) on how to add a payment system to a site with ease?

Cheers

jamesa

10:50 am on Mar 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Would you have to update the db to make the account active manually or could the process be fitted in automatically.

Either way. If you wanted it fully automated, just keep the scripts on your server. So the process would look something like:

1) cust fills out secure info/payment form and submits it via HTTP POST to a script on your server.
2) Your script reads the form data, makes it's own separate secure connection to the payment gateway, sends the gateway the payment info, and waits.
3) The payment gateway replies (to your script) with an approval or deny response.
4) You script reads the response and acts accordingly. Example, if approved: updates your database, sends you an email, and displays a thank you page to the clients browser. If denied: displays a "we're sorry" message to the clients browser.

sun818

6:50 pm on Mar 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've seen scripts that directly edit the .htpasswd file in Apache to control access for specific users.