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:
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/

SitePoint PHP Blog:
Creating a Subscription-Based Website with Laravel and Recurly, Part 2
October 01, 2013 @ 12: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.

0 comments voice your opinion now!
recurly payment recurring laravel tutorial subscription series part2

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

NetTuts.com:
Adding Bitcoin Payment Processing to Your Website
August 19, 2013 @ 12:38:53

On NetTuts.com there's a new tutorial that shows you how to integrate an up and coming payment method into your site's flow - Bitcoin. The tutorial uses a combination of Javascript and a PHP backend and BIPS as the payment processor.

Bitcoin has definitely started to become more mainstream, and with its global reach and minimal fees, it is a payment method worth considering. In this article, we will take a look at what Bitcoin is, as well as how to start accepting them in your applications. [...] I'm not going to get into the specifics, but essentially each time a transfer of currency takes place, the money is signed with the two parties keys and then hashed, and these transactions are appended to the global log. This allows coins to be publicly traced back, and to see if the money really belongs to someone or not.

He starts off explaining what the whole bitcoin system is based on and some of the common advantages and disadvantages around it. He then gets into the actual application, creating a simple structure using the Slim microframework and a bit of HTML to make a simple payment site. The BIPS processor is used to handle the payment and the Mandrill service to send the confirmation emails. Curl requests are used to call the services, so you'll need it installed as a PHP extension to make their examples work.

0 comments voice your opinion now!
bitcoin processing payment mandrill bips tutorial

Link: http://net.tutsplus.com/tutorials/javascript-ajax/adding-bitcoin-payment-processing-to-your-website

PHPMaster.com:
PCI Compliance and the PHP Developer
March 07, 2013 @ 11:08:11

On PHPMaster.com today there's a new tutorial that talks about PCI compliance with PHP applications and some of the technology you can use to help conform to its requirements.

In reality, PCI is a set of security guidelines drawn up by a consortium of credit card companies and industry security experts to govern how applications should behave when handling credit or debit card information. The card companies impose these standards on the banks who then impose them on those of us who operate e-commerce sites and the like. In this article we will dispel a couple of persistent myths about PCI, take a 20,000-foot look at what PCI encompasses, and then zero in on those requirements that are most closely associated with coding in general and PHP specifically.

He starts with some common myths about PCI (Payment Card Industry) compliance, including that it only applies to "the big guys" taking payments on the web. He then goes through some of the major points of the PCI requirements and talks about a few of them that specifically relate to the backend code side of things.

0 comments voice your opinion now!
pci compliance payment card industry fundamentals


Symfony Blog:
Static Page Caching & Payment Validators in Symfony 2.2
December 12, 2012 @ 11:46:39

On the Symfony blog, there's two new posts highlighting some recent improvements to the Symfony2 framework - the addition of static page caching and payment validators:

These features are all a part of the upcoming Symfony 2.2 release that's planned to be moved in the "stabilization" status in early 2013. It should be able two months following that when the stable version will be released.

0 comments voice your opinion now!
symfony framework page caching payment validator


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:
Accepting Payments with GoCardless
October 04, 2012 @ 11:18:17

On NetTuts.com there's a tutorial showing you how to use the GoCardless service to accept payments on your site (in the UK, unlike some other online payment services).

Online payments are increasingly becoming more and more popular. GoCardless is yet another payment service, which currently works in the UK, allowing you to accept payments online.

Most of the tutorial is used to explain what the service is, getting you set up with an account (complete with screenshots) and how you can work with their API via an SSL connection. Included are examples of this using their PHP Library and what the results look like in their interface.

0 comments voice your opinion now!
payment creditcard online gocardless tutorial library


John Conde's Blog:
Handling Online Payments With PHP And Authorize.Net
December 13, 2011 @ 14:05:14

John Conde has shared his multi-part guide to getting your application integrated with the popular payment service Authorize.net.

As an Authorize.Net blogger, I decided to write a series of articles that outlined not only the basics of handling an ecommerce transaction, but also included some best practices as well. These were demonstrated using a web-based payment form that when complete forms a real-world, production ready solution. Since there was a lot of ground to cover, I broke the tutorial into eleven parts.

Parts of the series cover topics like:

For those that want to jump straight into the code, he also links to his sample payment form and the Authorize.net PHP SDK.

0 comments voice your opinion now!
online payment authorizenet tutorial series


Eran Galperin's Blog:
Breaking Down The PayPal API
April 25, 2011 @ 09:50:54

In a recent post Eran Galperin takes a look at the PayPal API and breaks it down into smaller, easy to digest chunks to show you how to you can implement it in your application. Be warned, though - he mentions that it's the "among the worst API he's ever had to deal with" for several reasons.

PayPal is the most popular platform for receiving online payments. The relative ease of opening a PayPal account and receiving payments compared to opening a merchant account for a traditional payment gateway is the number one reason, and another is the comprehensive API they provide for their payment services. [...] There doesn't seem to be any better alternatives currently, so hopefully this guide will help ease the pain for some of you out there taking your lumps working the API into your applications.

Eran starts with a look at some of the different payment options, express, direct, recurring and mass, and what they're good for. From there, it's off to the code with his tool of choice being curl to make it simpler to make requests with headers, content and fetch the response message. He's put together a little custom function to make it easier to reuse. As an example, he shows how to make an Express Checkout request by grabbing a token and redirecting to the PayPal site for handling.

0 comments voice your opinion now!
paypal api connection tutorial payment soap request curl


9Lessons:
Payment System with Paypal
March 15, 2011 @ 08:55:53

On the 9Lessons blog today Srinivas Tamadashows you how to create a simple PayPal interface between their API and your site to make accepting payments easier.

I received a tutorial requests from my reader that asked to me how to implement payment gateway system with Paypal API. In this post I want to explain how to work with Paypal Sandbox test accounts for payment system development and sending arguments while click buy now button. It's simple and very easy to integrate in your web projects.

He includes the SQL to create a basic database for storing product and sales information (as well as a bit of user data linked to them) as well as instructions on creating the accounts you'll need on the PayPal side. The script creates a form that takes the payment information and pushes it to a script on the PayPal side for validation and charging.

0 comments voice your opinion now!
api paypal payment tutorial



Community Events





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


install configure code developer api application series library podcast release language community bugfix threedevsandamaybe unittest list interview wordpress introduction laravel

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