Skip to content
Menu

PAYMENT GATEWAY

B.3.2 Integration Flows – Plugin Integrations [Magento]

Overview

The SIBS Magento plugin enables secure payment acceptance directly within the Magento checkout experience.
It integrates with the Magento order lifecycle and provides built-in support for SIBS SPG payment methods and notifications.

The plugin abstracts direct interaction with SPG APIs, including payment execution, notifications, and status handling. Merchants are not required to implement SPG API calls directly, but must ensure that order states within Magento correctly reflect the actual payment outcome, including for payment methods whose final outcome is not immediately available.

Refer to B.3.1 – Common Configuration for the general plugin execution flow, notification handling, and transaction-status mechanisms.

Benefits

  • Native Magento checkout experience
  • Automatic order status synchronization
  • Support for payment methods with immediate or delayed final outcomes
  • No direct API integration required

Before You Start

Ensure you have the following credentials from SIBS Onboarding team:

  • Terminal ID: the terminal ID assigned to the merchant, by the SIBS Onboarding team
  • Client ID: merchant application identifier assigned by the SIBS Onboarding team
  • Authentication token: Authentication Token obtained from SIBS Backoffice
  • Environment: Sandbox or Production

These credentials are provided during SIBS onboarding and are required for plugin configuration and authentication with SPG services.

Installation

Step 1 – Install the plugin

Download the SIBS Magento plugin package provided during onboarding.

NOTE: Installing the plugin requires some technical knowledge. If you are comfortable making changes to your web hosting settings and accessing your server, you can follow the technical guide below.

Magento plugin package install

Install and enable the module following Magento extension procedures.

Step 2 – Access plugin settings

Navigate to:

Step 3 – Open sales configuration

Navigate to:

Step 4 – Enter SIBS SPG Credentials

All plugins require authentication parameters provided during onboarding.

Required fields:

  • Terminal ID – Identifies the merchant terminal within SPG
  • Client ID – Used for API authentication and validation
  • Authentication Token – Bearer token used for secure communication with SIBS Payment Gateway APIs

Step 5 – Select environment

Plugins support two environments:

Sandbox

  • Used for development and testing
  • No real transactions

Production

  • Used for live payments
  • Requires onboarding approval

Always validate the integration in Sandbox before switching to Production.

Step 6 – Save changes

Apply configuration changes before enabling payment methods.

Step 7 – Customize your payment Options

The Magento plugin supports a range of SPG payment methods, including:

  • MB WAY
  • MULTIBANCO References
  • Cards (Visa, Mastercard, etc.)

Notes:

  • Payment method availability depends on your SPG contract and merchant setup
  • Some screens and configuration labels may vary depending on the Magento version
  • If you change credentials or environment, re-test a full payment flow before going live

Operational Behaviour

The following sections describe how the Magento plugin behaves after configuration, including transaction-status notifications, order lifecycle management, and transaction visibility.

Notifications and Order Synchronization

The Magento plugin relies on transaction-status notifications to update order states.

These notifications reflect payment events such as:

  • MB WAY confirmations
  • Multibanco settlement updates
  • Fraud or cancellation signals

The plugin processes these notifications internally and automatically updates the order lifecycle in Magento.

Merchants are not required to implement webhooks or call SPG APIs directly. However, they must ensure that order states in Magento correctly reflect the actual payment outcome, including for payment methods whose final outcome is not immediately available.

Final transaction status must be reliably reflected through the platform and plugin mechanisms. Status retrieval or reconciliation should be performed when required by Magento, plugin capabilities, or operational process.

Order Lifecycle Behaviour

Order lifecycle transitions depend on the payment method and its execution model.

Typical synchronous flow: Pending → Processing → Completed

Typical asynchronous flow (e.g., MB WAY, Multibanco Reference): Pending → Awaiting Payment → Paid / Expired

Magento updates order states automatically through the plugin, but merchants must ensure consistency between order status and actual transaction outcome.

Logging and Troubleshooting

Troubleshooting depends on Magento logging capabilities and plugin diagnostics.

If issues occur:

  • Verify SPG credentials and environment configuration
  • Confirm onboarding completion
  • Check Magento system logs and plugin logs
  • Reproduce the issue in Sandbox

For effective troubleshooting, merchants should correlate Magento order identifiers with SPG transaction identifiers to ensure traceability across systems.

Refer to F.5 Logging and Monitoring Best Practices for guidance on correlation and observability.

Transaction Visibility

Transactions processed via the Magento plugin are handled through the SIBS Payment Gateway infrastructure.

Transaction lifecycle management (status tracking, reporting, reconciliation) is available through:

  • SIBS Backoffice
  • Notifications / callbacks
  • Magento order management interface

Merchants should rely on SIBS Backoffice and Magento reporting tools to ensure proper reconciliation and verification of transaction outcomes.

Related Topics

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.