Forum Moderators: buckworks

Message Too Old, No Replies

Integrating Paid Subscriptions

         

l008comm

8:39 am on Mar 21, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



I wasn't sure which forum to put this post in, this seemed as relevant as many others.

So here's my situation. I've made plenty of websites over the years where users sign up for accounts and then log in to the site. My server-side language is PHP and this is pretty straight forward.

But one thing I have never done is had these accounts be paid. But I'm working on a new site that is going to be a paid service. I'm looking for some ideas of how I can integrate into some kind of payment service. Ideally, I'd be able to check the user's pay status when they log in. However I wouldn't want to mange their payment info myself, nor would I want to manually process the transactions. I'd like people to be able to sign up, enter their payment info on a payment processors website, then come back to my site. Then when their subscription runs out (or is going to run out soon) I can notify them and ultimately lock them out if they are unpaid. This kind of stuff I have not ever dealt with before.

I also want a service that is as reliable as possible. Reliable in the sense that... the service isn't going to change every month, and require me to change my code regularly. This isn't a website that's going to need much updating otherwise, so I'd like to just set it up and forget about it, more or less.

Let me know what you think.

brotherhood of LAN

11:51 pm on Mar 26, 2015 (gmt 0)

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



You have a lot of options available, Paypal is something that could get you easily started without any startup fees, though there are many other payment gateways to help you achieve the same thing. At its most simplest:

- You create a subscription and pass the relevant details/variables in a URL to paypal
- Paypal processes the payment and sets up a subscription to be paid to you over the terms you provide
- Paypal can contact a 'callback' URL that will let you know when payments have been processed.

There's quite a few examples going about if you Google, with some PHP examples readily available. Let us know how you get on.

l008comm

6:34 am on Mar 27, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



With a paypal system, do I have a way to ping their server to see if a user's account is currently paid up?

bhukkel

6:49 am on Mar 27, 2015 (gmt 0)

10+ Year Member



You can create billing plans and agreements with paypal and lookup there status.

See paypal docs here: [developer.paypal.com...]

l008comm

7:04 am on Mar 27, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



Before I start to commit to using paypal, are there any other companies that offer something similar? I'd like to avoid paypal if I can. I've tried to google for this but I get results for companies that offer invoicing services, not integrated web payment processing. I also need all of the sensitive info to be handled on the processors site as I don't have an SSL certificate and I don't plan on getting one.

paladin

9:16 pm on Apr 13, 2015 (gmt 0)

10+ Year Member



Depending on the niche you can also look at ClickBank or RevenueWire