maxipago

This project is not covered by Drupal’s security advisory policy.

Commerce support for Brazilian maxiPago payments.

IMPORTANT: at this moment, only onsite payments are supported.

REQUIREMENTS

Drupal 8/9
Drupal 7

INSTALLATION

Drupal 8/9
  1. Add the following lines to your project's composer.json, section "repositories":
        {
            "type": "package",
            "package": {
              "name": "maxipago/sdk_php",
              "version": "master",
              "source": {
                  "url": "https://github.com/maxipago/sdk-php.git",
                  "type": "git",
                  "reference": "master"
              }
            }
        }
    
  2. Add the following lines to your project's composer.json, section "autoload":
  3.       "autoload": {
            "files": [
                "vendor/maxipago/sdk_php/lib/maxipago/KLogger.php",
                "vendor/maxipago/sdk_php/lib/maxipago/RequestBase.php",
                "vendor/maxipago/sdk_php/lib/maxipago/XmlBuilder.php",
                "vendor/maxipago/sdk_php/lib/maxipago/Request.php",
                "vendor/maxipago/sdk_php/lib/maxipago/ServiceBase.php",
                "vendor/maxipago/sdk_php/lib/maxipago/ResponseBase.php",
                "vendor/maxipago/sdk_php/lib/maxiPago.php"
            ]
          }
    
  4. Install via composer and the appropriate maxiPago SDK will be downloaded to your /vendor folder:
  5.       'composer require drupal/commerce_maxipago'
    
    Drupal 7

    Download the maxiPago SDK-PHP Library and copy it under the folder /sites/all/libraries/maxipago. The file 'maxiPago.php' must be located in /sites/all/libraries/maxipago/lib.

    CONFIGURATION

    See README.md included in the module.

Supporting organizations: 

Project information

Releases