Commerce Gestpay module allows to accept payments using Axerve E-commerce Solutions (formerly known as Gestpay by Banca Sella / Easynolo). Currently it supports off-site payment, redirecting the user on Banca Sella's page to finish payment.

Drupal 7 version

Drupal 7 version implements basic plan. Support for advanced and professional plan is currently not planned on this version.

Features:

  • Global setting for live/sandbox mode.
  • Payment configuration settings per payment type (shop login and currency).
  • No needs for external and third part libraries, the module use the Gestpay webservice called WSCryptDecrypt.

Notes:

  • Gestpay support only a small currencies set. Supported currencies are: EUR, USD, GBP, CHF, DKK, NOK, SEK, CAD, JPY, HKD, BRL.
  • Basic plan redirects the customer to the Gestpay website for completing the payment process.

Gestpay settings:

The Gestpay back office settings needs the following paths:

  • "URL Server to Server": http://www.example.com/commerce_gestpay_capture
  • "URL per risposta positiva": http://www.example.com/commerce_gestpay_continue
  • "URL per risposta negativa": http://www.example.com/commerce_gestpay_error

Drupal 8 version

Requirements

This module uses PHP Soap to initiate the communication with remote server. Make sure to install and enable PHP Soap library on your server.

Usage

First you have to setup the module on Drupal Commerce:

  1. Install the module.
  2. Enable the module.
  3. Add the payment gateway from /admin/commerce/config/payment-gateways.
  4. Configure the payment gateway:
    • Gateway name. The /machine name/ will be used to configure Gestpay Backoffice
      settings, put as {payment_gateway_id} in Gestpay URLs settings (see below).
    • Plugin: Gestpay (redirect to Gestpay).
    • Mode: select Test if you want to use the Gestpay sandbox, select Live otherwise.
    • Shop login: put your Gestpay ID (something like GESPAY1234).
    • Select the currency code.

When you've create the payment gateway you can configure the settings on
Gestpay Backoffice:

  • Environment settings:
    • MOTO: Unify transaction
    • URL for positive response:
      https://example.com/payment_commerce_gestpay/continue/{payment_gateway_id}
    • URL for negative response:
      https://example.com/payment_commerce_gestpay/error/{payment_gateway_id}
    • URL Server to server:
      https://example.com/payment_commerce_gestpay/capture/{payment_gateway_id}
  • Security:
    • Security Level: IP
    • IP Address: your server IP address

Drupal 8 Roadmap

  • Add /APIKEY/ security level.
  • Add on-site payment support.

Credits and sponsor

This module has been developed by

Siti-Drupal.it and Realizzazione Siti Vicenza.

Drupal 8 version was sponsored by Digital km zero Srl.

Project information

Releases