Implement a paid subscription service on the website

I have a website and would like to implement a paid subscription service. Its a simple service with two types of plans. For now, just use Paypal. But they are a little lost before the start, mostly with a data model. At the moment, my main question is: what information do I need for each subscription? Should I use a shopping cart (right?) I am not asking for a detailed explanation, just a few lights or resources to find a way to start. Thank.

+5
source share
3 answers

Look at any subscription mailing list from any journal, and you can get an idea of ​​what data you will have to record. The start and end dates of the subscription will be a good thing to keep and which plan the user subscribes to. When you have an end date, you just need to run a query to get the records of users who have access. Sort of Select * from users where subscription_end_date is >= today

I'm sure there will be many other columns in your final product, but it's up to you what data you want to keep. What are the different subscription states? Can anyone sign up for both services at the same time?

+2
source

Depending on what technology you are using. Basic payments work something like this:

- > paypal ( paypal)   ,   ,

< - paypal ,   , GUID

- > paypal ", - , GUID , "

< - PayPal ""

- > , PayPal, "" -

...

+5

PayPal , ​​ . , , (/) , PayPal ... .

[ - Recurly.com]

( ) -. , .

, - PayPal , Recurly , PCI, . (PayPal ). Recurly, - .

, : http://blog.recurly.com/2010/08/top-ten-reasons-to-use-recurly-vs-paypal-for-recurring-billing/

- .

+2

All Articles