Blesta 3.0: NonMerchant Gateways (video)

August 03, 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.

Tags: | | | |