Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Creating a Subscription-Based Website with Laravel and Recurly, Part 2
Oct 01, 2013 @ 17:52:30

The SitePoint PHP blog has posted the second part of their series about making a subscription -based website with Laravel and Recurly (part one is here). Improving on the code from the previous part of the series, they create the interface with Recurly.

In the first part of this series we created the bare bones of a subscription-based website using Laravel. We also set the site up with roles, and granted a pending role to new users. We’re now at the point where we can perform basic registration, login, and logout. In this second part, we’ll integrate Recurly to set up our paid membership plans.

Using the Recurly javascript library and the PHP packages installed in the first part of the series, they show you how to set up the API and configure the script to connect with your account. They integrate this with the signup process and include the PHP (Laravel) code to handle the registration and the Javascript to make the Recurly call. There's also some code creating some of the management pages letting users update things like plan choice and billing information.

tagged: recurly payment recurring laravel tutorial subscription series part2

Link: http://www.sitepoint.com/creating-subscription-based-website-laravel-recurly-2/


Trending Topics: