PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 8th, 2013, 06:56 AM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
PHP-General - Pay to become a member php

pay to become a member php
pay to register

i wish i could add some more details in the registration page and the php registration script

and what would that be ?


so basicaly its about making a website where user has to pay few dollars to become a member in our site ...

so that the he can view our streaming videos in the members only page ...

Reply With Quote
  #2  
Old January 8th, 2013, 06:59 AM
Jacques1's Avatar
Jacques1 Jacques1 is offline
pollyanna
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2012
Location: Germany
Posts: 2,047 Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 5 h 5 m 45 sec
Reputation Power: 812
That's interesting. But what does this have to do with us?

Reply With Quote
  #3  
Old January 8th, 2013, 07:30 AM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
isnt this a help forum ? which is also sort of annoying with its ****ty avatar and ****ty images ?
Comments on this post
portcitysoftwar disagrees: Why would you come into our forums ask for help and then insult our site while asking for more
help!!!

Reply With Quote
  #4  
Old January 8th, 2013, 07:42 AM
gw1500se gw1500se is online now
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jul 2003
Posts: 2,907 gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Year 1 Month 1 Day 21 h 22 m 28 sec
Reputation Power: 581
It is a help forum but not a free programming forum. So what have you tried and what doesn't work?
__________________
There are 10 kinds of people in the world. Those that understand binary and those that don't.

Reply With Quote
  #5  
Old January 8th, 2013, 07:54 AM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
thanks for asking .. even little questions and little answers helps me to make my next little step .. ok


i have read a few books.. and few minutes ago downloaded "developer shed network php"

still cant find what i am looking for ..

an example model of a pay for membership or pay for registration type site

Reply With Quote
  #6  
Old January 8th, 2013, 08:01 AM
gw1500se gw1500se is online now
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jul 2003
Posts: 2,907 gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Year 1 Month 1 Day 21 h 22 m 28 sec
Reputation Power: 581
Not really very difficult just don't try to do everything at once. Start by creating a registration/login page and learn how to secure the pages that require login (plenty of tutorials on that). Once you have that working you can add a bit to your database that signifies if the user has paid and incorporate that into the login mechanism. Finally, you can add a payment method to your registration that sets that bit to bring it all together. The payment part will probably be the most challenging for a noobie but by the time you get there, you should have a pretty solid understanding of PHP and you can concentrate on the logic rather than the language.

Reply With Quote
  #7  
Old January 8th, 2013, 08:14 AM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
"I would suggest that register first then payment. Maybe you can store the registration data into database first, and with an extra column name 'valid' or 'paid', which default value of 0 So after the payment, normally the payment gateway will send back the notification of whether the transaction is valid or invalid, along with some data. For example, for paypal is Paypal IPN After verifying the transaction is valid, the 'valid' or 'paid' field is set to 1, mean the user has paid "

thats from another website which i bookmarked ...

a bit more clairty maybe .. ?

i mean basically its an html form.. php script and mysql databse and table ...


so where comes what ?

Reply With Quote
  #8  
Old January 8th, 2013, 08:33 AM
gw1500se gw1500se is online now
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jul 2003
Posts: 2,907 gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Year 1 Month 1 Day 21 h 22 m 28 sec
Reputation Power: 581
First you need to develop the database (table). Decide what information you want to store and design the schema.
Second would be the registration page that collects the user information and stores it in the database (HTML form and PHP).
Third is the login page that verifies the user information from the database (HTML form and PHP).
Fourth is to secure the pages that require a login to access.
Last is to add the payment method to the now working registration page.

As you go through this exercise you should be learning and using OOP and there are plenty of tutorials on that as well.

Reply With Quote
  #9  
Old January 8th, 2013, 10:02 AM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
thanks


i have been doing some little research on the php payment thing ..

after trying to implement it in a shopping cart with the help of paypal .. as an admin i get a notification from paypal .. and i get a notification via email

that is two notifications as a website administrator ...


now back to the trying to setup a pay for membership or pay for website registration

if the theoritical setup goes smoothly .. i get a notification from paypal ..

then i can validate the user in my database as an administrator ....

in its most simplest setup

thats my struggle with php and payment so far ...

Reply With Quote
  #10  
Old January 8th, 2013, 01:37 PM
portcitysoftwar portcitysoftwar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 163 portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 13 h 18 m 54 sec
Reputation Power: 17
From a coding point that would be the simplest but the worst way to do this. You should first learn php/MySql and utilize the PayPal XML Api to validate payments and pass data between your site and the paypal API.

Basically setup a simple register store the users data in a table then have another column to specify if they have paid for membership or an expiration date of their membership.

Quote:
Originally Posted by gether
thanks


i have been doing some little research on the php payment thing ..

after trying to implement it in a shopping cart with the help of paypal .. as an admin i get a notification from paypal .. and i get a notification via email

that is two notifications as a website administrator ...


now back to the trying to setup a pay for membership or pay for website registration

if the theoritical setup goes smoothly .. i get a notification from paypal ..

then i can validate the user in my database as an administrator ....

in its most simplest setup

thats my struggle with php and payment so far ...

Reply With Quote
  #11  
Old January 8th, 2013, 01:49 PM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
ok .. so an adminstrater trying to validate membership after receiving a paypal ipn notification is not a simple task

Reply With Quote
  #12  
Old January 8th, 2013, 01:52 PM
gw1500se gw1500se is online now
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jul 2003
Posts: 2,907 gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Year 1 Month 1 Day 21 h 22 m 28 sec
Reputation Power: 581
Depends on how many validations you get. I have a similar situation but I only get a validation once in a while so I set the bit in my database manually. It takes about 15 seconds. If you get many per day then obviously some kind of automation is needed.

Reply With Quote
  #13  
Old January 8th, 2013, 02:00 PM
portcitysoftwar portcitysoftwar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 163 portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 13 h 18 m 54 sec
Reputation Power: 17
it is a very simple task in coding but many people are going to want instant access as soon as they pay through paypal and not want to wait for admin to validate. Also if you are doing alot of business then you are not going to want to manually validate

Reply With Quote
  #14  
Old January 8th, 2013, 02:07 PM
gether gether is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 18 gether User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 22 m 31 sec
Reputation Power: 0
i have only seen few types of registration

1. where a user fills up a registration form and then registers..
he logs in to view the contents

2. a user fills up a registration form .. then gets a confirmation email .. and after clicking the confirmation email .. he becomes a registered user


i was thinking about manually registering a user ...

i guess i need to view the users table as an adminstrator and i should say yes.. on a pending something ... to validate the user ...

Reply With Quote
  #15  
Old January 8th, 2013, 11:30 PM
portcitysoftwar portcitysoftwar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 163 portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 13 h 18 m 54 sec
Reputation Power: 17
Well there are many types of registration and login systems and most subscription systems the user will register without entering payment information. Their info will be saved into the database and a column `ActiveSubscription` will be false. after they have paid the `ActiveSubscription` will be true or equal to an expiration date.

Then the login will check for ActiveSubscription ==1 or ActiveSubscription < time()

And also on a side note. Do not come into our forums and insult the website while asking for help. Not a good idea and im not sure why im even answering your question. Alright?
Comments on this post
sir_drinxalot agrees!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHP-General - Pay to become a member php

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap