News Feed
Sections




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

SitePoint PHP Blog:
Selling Downloads with Stripe and Laravel
October 24, 2013 @ 12:17:30

On the SitePoint PHP blog there's a new tutorial posted showing you how to integrate Laravel and Stripe to make a simple system for selling downloads of software. Stripe is a developer friendly, easy to use payment system that helps you take and manage payments.

Digital goods are an increasingly valuable commodity. [...] In this article I'll show how you can implement a simple store selling digital goods using PHP along with Stripe, a payment provider who aims to make it easier than ever to take online payments since you don't need to set up special merchant accounts or deal with complex payment gateways.

He points you to the Stripe site to set up an account before getting started. With that in hand, They start in on the Laravel setup and project creation. He helps you make a "downloads" table to handle path to the file and price. Also included are the model for the Downloads and a "seeder" with some fixture data to work with. From there he shows how to make a simple home page and a "buy" page with a form for the payment information. The Stripe javascript library is then integrated and the response is handled. If it's a success, the user is then forwarded to another endpoint to download the file they paid for.

0 comments voice your opinion now!
download stripe laravel tutorial payment system

Link: http://www.sitepoint.com/selling-downloads-stripe-laravel/

blog comments powered by Disqus

Similar Posts

Federico Cargnelutti' Blog: Adding theme support to your Zend Framework application

Brian Swan's Blog: Using the Zend Framework and the PDO_SQLSRV Driver

Channel 9 Forums: Installing PHP Applications on IIS7

PHPMaster.com: Understanding OAuth - Tweeting from Scratch, Part 2

DevShed: Developing an Extensible Template Processor in PHP 5 (Part 1)


Community Events

Don't see your event here?
Let us know!


podcast psr7 opinion community development laravel extension voicesoftheelephpant video introduction unittest api interview laravel5 language conference release series framework library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework