News Feed
Sections




News Archive
feed this:

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

SitePoint PHP Blog:
Memberships with Laravel Cashier
April 29, 2014 @ 10:38:51

The SitePoint PHP blog has posted a tutorial for those using the Laravel Cashier showing you how to work with memberships for the content or functionality of your application.

In this tutorial we're going to see how easy it is to create a basic paid membership website using the Laravel Cashier package. You can see a demo of the app here and download the source code here.

The tutorial walks you through setting up a functional environment and getting the new Laravel instance up and running. Migrations to run are included in the repository checkout too. The tutorial then gets into the setup of Stripe for payments and creation of the various pages you'll need. An "upgrade" option is also included.

0 comments voice your opinion now!
membership laravel cashier tutorial stripe content

Link: http://www.sitepoint.com/memberships-laravel-cashier/

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/

PHP/Cloudcast:
Getting Started with Stripe Webhooks
November 19, 2012 @ 09:20:51

On the PHP/Cloudcast site today they've released another screencast showing you how to integrate your application with Stripe, the popular (and programmer friendly) payment gateway for your applications. This is the third part of their series.

In this, the third episode of PHP Cloud Development Casts, we go through how to integrate Stripe Webhooks in to our PHP applications. We extend the PHP Kohana application we created in episode 2 and show how simple it is to create a webhook and to receive the information and store it in a MySQL database.

Through the use of Stripe's webhooks, you can have a transaction call back to your application on a specified URL and perform further actions. In his example, he shows how to make the request, handling the "payment success" event. He includes all of the code (controller, view, etc) that you'll need to plug into Kohana to make it all work.

0 comments voice your opinion now!
cloudcast screencast stripe tutorial callback webhook kohana


PHP Cloud Casts:
#3 Creating Charges with Stripe.com (Screencast)
October 29, 2012 @ 10:05:06

The PHP Cloud Casts site has posted another screencast-based tutorial showing you how to interface your application with Stripe.com, a developer-friendly payment solution with its own API.

In this, the second episode of PHP Cloud Development Casts, we go through how to creating charges with the Stripe.com libraries. We use a simple Kohana based PHP setup to create a token and an accompanying charge. We then login to our account and look at the details that Stripe stores about the transaction from tokens, charges, events and other logged data.

You can view the video either on their site or by heading to Vimeo for a bit larger version. He shows how to use Stripe's own Javascript and PHP scripts to connect to the API. He does it as a part of a Kohana-based application, but it can be easily adapted to any framework (or non-framework) site out there.

0 comments voice your opinion now!
screencast tutorial stripe payment gateway api


NetTuts.com:
So You Want to Accept Credit Cards Online?
June 14, 2012 @ 09:30:25

On NetTuts.com they're posted a new tutorial about using the Stripe service to accept credit cards on your site. Thanks to some handy libraries they provide, integration is a relatively simple process.

Until recently, accepting credit cards on a website was expensive and complicated. But that was before Stripe: a radically different and insanely awesome credit card processing company. Today, I'll show you how to start accepting cards in 30 minutes or less - without spending a dime.

They step you through the whole process you'll need to get the full flow set up:

  • Install an SSL Certificate (on your server)
  • Create an Account
  • Create Your Payment Form
  • Collect The Form Values
  • Request a Token
  • Create a Server-Side Script

Screenshots of the Stripe interface, HTML, Javascript and PHP code are all included - everything you need to make the simple card handling work. One of the keys to how Stripe deals with credit cards is that you provide it the card info, it gives you a token. Your app uses this to work with the card instead of storing the card information in your database (also making it more secure).

0 comments voice your opinion now!
creditcard stripe tutorial processing javascript html php library



Community Events





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


podcast list framework introduction interview opinion series bugfix install voicesoftheelephpant deployment api package release tips laravel symfony library language community

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