Blog

Blesta 3.0: NonMerchant Gateways (video)

August 3, 2012 | Posted by Cody


In the last developer commentary we took a look at creating a Merchant Gateway to process credit card payments in version 3. Today we’ll do the same for a Non-Merchant Gateway, which allows you to accept payments processed on the payment gateway processor’s own site (think PayPal).

Non-Merchant gateways are really quite basic. There are essentially two elements at play:

  1. Creating an HTML form to handle the payment button (NonmerchantGateway::buildProcess() method)
  2. Processing logic to handle the payment notification response from the gateway processor (NonmerchantGateway::validate() method)

The video is below, as usual you can make the video full screen, and be sure to turn on your sound.

Blesta 3.0: Merchant Gateways (video)

June 28, 2012 | Posted by Cody


In this developer commentary, I give a quick tutorial on creating a merchant gateway that supports credit card payments.

As you’ll see in the video, I’ve created a demo gateway to help streamline the process. This, and other payment gateway demos will be made available to developers at the launch of alpha, along with our detailed developer documentation.

We’re really excited about the payment gateway architecture, and after watching this tutorial I hope you will be too. If you’d like to learn more about why the gateway system is designed the way it is, read my post on Designing a Modular System.