Blesta version 6 has been released! Read More.
All posts
Developer Corner 2012-08-03 · Cody · 1 min read

Blesta 3.0: NonMerchant Gateways (video)

A Blesta 3.0 developer commentary on building a non-merchant gateway like PayPal, covering the buildProcess() payment form and validate() notification logic.

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.

30-day free trial · No credit card · Your server

Read enough. Run it.

Everything on this blog ships in the box. Full product, free for 30 days, on your own server.

Download  6.0.0