Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module allows you to use GoPay payment gateway in Drupal Commerce. GoPay is payment gateway similar to PayPal used in Czech Republic and Slovakia. It allows customer to pay with payment card, directly to your bank account, etc.

You can operate this module in one of the following three modes.

  1. Mockup mode - usable for "offline" testing. In this mode the module does not communicate with GoPay servers.
  2. Test mode - for GoPay's testing services.
  3. Production mode - for production.

This module creates a sole Drupal Commerce payment method for each enabled GoPay's payment method enabled. This means that customer doesn't have to choose payment method twice (once in e-shop and then in payment gateway).

GoPay gw module also supports a payment refunds. When the payment is refunded the module creates new payment with negative amount for an order.

The module uses GoPay's new REST API and does not contains any non-GPL third party libraries.

Module is deployed in real eshop http://chefshop.cz/

Installation/Integration

  1. First you have to register your shop on GoPay page http://gopay.cz/ and obtain GoID e-shop identifier and Client ID and Client secret credentials.
  2. Download Commerce GoPay gw from Drupal pages and deploy it into your e-shop.
  3. Open a module's settings form admin/commerce/config/commerce_gopay_gw add obtained information into required fields and enable payment methods. Bank account payment method has its own configuration in rules list.

Project information