# hipay/hipay-fullservice-sdk-magento2

> The HiPay Fullservice module for Magento 2 is a PHP module which allows you to accept payments in your Magento 2 online store.

`composer require hipay/hipay-fullservice-sdk-magento2`

Canonical URL: https://packagento.com/hipay/hipay-fullservice-sdk-magento2

## At a glance

- **Vendor**: hipay (https://packagento.com/hipay.md)
- **Latest version**: 1.33.0 — released 2026-06-26
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/hipay/hipay-fullservice-sdk-magento2 and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require hipay/hipay-fullservice-sdk-magento2:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

The HiPay Fullservice module for Magento 2 is a PHP module which allows you to accept payments in your Magento 2 online store.

## README

[![Build Status](https://hook.hipay.org/badge-ci/build/pi-ecommerce/hipay-fullservice-sdk-magento2/develop?service=github)](https://hook.hipay.org/badge-ci/build/pi-ecommerce/hipay-fullservice-sdk-magento2/develop?service=github)
[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/hipay/hipay-fullservice-sdk-magento2/master/LICENSE.md)

The **HiPay Fullservice module for Magento 2** is a PHP module which allows you to accept payments in your Magento 2 online store. It offers innovative features to reduce shopping cart abandonment rates, optimize success rates and enhance the purchasing process on merchants’ sites in order to significantly increase business volumes without additional investments in the Magento 2 e-commerce CMS solution.

### Getting started

Read the **[project documentation][doc-home]** for comprehensive information about the requirements, general workflow and installation procedure.

### Resources

- [Full project documentation][doc-home] — To have a comprehensive understanding of the workflow and get the installation procedure
- [HiPay Support Center][hipay-help] — To get technical help from HiPay
- [Issues][project-issues] — To report issues, submit pull requests and get involved (see [Apache 2.0 License][project-license])
- [Change log][project-changelog] — To check the changes of the latest versions
- [Contributing guidelines][project-contributing] — To contribute to our source code

### Features

- Compatibility with Magento 2
- 3-D Secure enabling/disabling
- Oneclick option configuration with custom rules
- Management of multiple cards per customer for one-click payment
- iFrame integration, hosted page and custom card API
- Mail management for transactions pending fraud validation (challenged)
- Manual and automatic capture
- Partial capture and refund
- Payment in x installments without fees
- Subscription management (development in progress)

### Support

HiPay frequently releases new versions of the modules. It is imperative to regularly update your platforms to be compatible with the versions of HiPay’s APIs, which are also evolving.
HiPay offers support services provided that your platforms run on maintained PHP versions and updated CMS versions with the latest security patches (see the list below).
We are obligated to follow each publisher’s minimum recommendations.
If you encounter an issue while using the modules, before contacting our Support team, we invite you to:

- analyze your platform’s PHP logs as well as the logs specific to the HiPay module,
- update the module to the most recent version,
- perform similar tests on your stage environments,
- analyze possible overloading in the code and interferences with third-party modules,
- perform tests on a blank environment without your developments or any third-party modules.

### Requirements

If you encounter problems when saving the configuration, you must increase the value of the php property "**max_input_vars**"

Minimum value:  

`max_input_vars = 10000`

### License

The **HiPay Fullservice module for Magento 2** is available under the **Apache 2.0 License**. Check out the [license file][project-license] for more information.

[doc-home]: https://developer.hipay.com/cms-modules/magento/magento-2-enterprise
[hipay-help]: http://help.hipay.com
[project-issues]: https://github.com/hipay/hipay-fullservice-sdk-magento2/issues
[project-license]: LICENCE.md
[project-changelog]: CHANGELOG.md
[project-contributing]: CONTRIBUTING.md

## Changelog

### UNRELEASE

### 1.33.0

- **Fix** : Fixed Apple Pay sending a static `payment_product` (`cb`) instead of the card brand returned by tokenization, causing "acquirer not found" for non-CB cards.
- **Fix** : Added supported Apple Pay payment products (`visa`, `mastercard`, `cb`, `maestro`).
- **Add** : Added Bizum Pay payment method.
- **Fix** : Fixed missing invoice email sending after capture notification from HiPay.
- **Fix** : Fixed saved card number wrapping on narrow containers

### 1.32.1

- **Fix** : Fixed Delayed ApplePay instance creation

### 1.32.0

- **Fix** : Fixed fatal error when saving OneClick card without payment method data in notification.
- **Add** : Added Bancomat Pay payment method.
- **Add** : Added Apple Pay multi-browser configuration and checkout support with popup/modal display modes.

### 1.31.2

- **Fix** : Improved REFUND_REFUSED (165) handling when no operation ID is provided.

### 1.31.1

- **Fix** : Updated picqer/php-barcode-generator constraint to ^3.2 to avoid dependency conflicts.
- **Fix** : Prevent duplicate AUTHORIZED (116) notifications from returning an error when the order is already authorized.
- **Fix** : Resolved PHP 8.4 deprecated warnings (implicit nullable parameters) and upgraded Docker environment to PHP 8.4.6.

### 1.31.0

- **Fix** : Fixed compatibility with php 8.4 and 8.5
- **Add** : Enforced sending a validated Magento shipping address to PayPal V2 to prevent address changes on PayPal.
- **Fix** : Improved PayPal availability checks to prevent unnecessary API calls and errors.

### 1.30.0

- **Fix** : Restricted the Alma payment method to France only.
- **Add** : Added configurable email to send Multibanco and Mooney/SisalPay payment instructions when HiPay sends a notification.
- **Fix** : Fixed duplicate entries showing in Mapping Categories and Mapping Shipping grids.
- **Fix** : Improved detection of checkout agreement checkboxes for Apple Pay and PayPal payment methods.
- **Fix** : Removed the "Accept and Capture Payment" button and controller, relying on Magento's native "Accept Payment" action instead.

### 1.29.2

- **Fix** : Fixed Apple Pay card brand detection using payment_product property
- **Fix** : Fixed frontend scope for ResponseNotFoundOrderRepositoryInterface preference, thanks to [zfmaster](https://github.com/zfmaster) for issue [#170](https://github.com/hipay/hipay-fullservice-sdk-magento2/issues/170)

### 1.29.1

- **Fix** : Enhanced payment method validation with smart button visibility control for PayPal and Apple Pay.
- **Fix** : Handle manual capture notifications from Magento when HiPay response arrives before invoice creation, by generating the invoice with the operationId to avoid blocked orders.
- **Fix** : Enhanced One-Click functionality by adding a layer of validation for hosted field payment method

### 1.29.0

- **Add** : Made the cancellation delay configurable per payment method.
- **Add** : Use JS SDK for Oney, add Oney widget & include oney.io domain in CSP
- **Fix** : Improved RestoreBasketObserver to handle missing order during early HiPay notifications.

### 1.28.0

- **Add** : Enhanced SDK JavaScript security by implementing Subresource Integrity (SRI) with automatic integrity hash fetching
- **Fix** : Improved synchronization between mini cart and checkout cart for PayPal.
- **Fix** : Fixed PayPal environment switching (sandbox/production) per store view.
- **Fix** : Apple Pay failure occurring during timeout responses scenarios.
- **Fix** : Multibanco SIBS SPG integration -> Order API
- **Fix** : Handle "on hold" orders during authorization status update (status 116)

### 1.27.6

- **Fix** : Fixed payment product api store id
- **Fix** : Fixed default env stage value in config.xml for payment methods
- **Fix** : Improved efficiency of PayPal config provider service

### 1.27.5

_(Changelog truncated for .md surface. Full history on https://packagento.com/hipay/hipay-fullservice-sdk-magento2.)_

## Recent Versions

| Version | Released |
|---|---|
| 1.33.0 | 2026-06-26 |
| 1.32.1 | 2026-06-18 |
| 1.32.0 | 2026-05-11 |
| 1.31.2 | 2026-04-16 |
| 1.31.1 | 2026-03-23 |
| 1.31.0 | 2026-02-18 |
| 1.30.0 | 2025-12-23 |
| 1.29.2 | 2025-11-03 |
| 1.29.1 | 2025-10-10 |
| 1.29.0 | 2025-09-18 |

Showing 10 of 98 versions. Full release history on https://packagento.com/hipay/hipay-fullservice-sdk-magento2.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| giggsey/libphonenumber-for-php | ^9.0.18 |
| hipay/hipay-fullservice-sdk-php | ^2.22.0 |
| picqer/php-barcode-generator | ^3.2 |

## Quality

Latest release (1.33.0) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | 1 | 1 |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 517 | 14 errors, 503 warnings (ruleset: Magento2) — 347 auto-fixable with phpcbf |
| PHPMD | Warning | 145 | 145 rule violations (MissingImport:60, UnusedFormalParameter:13, IfStatementAssignment:11, CyclomaticComplexity:11, NPathComplexity:10) |
| Cpd | Warning | 13 | 13 duplicated chunks spanning 887 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 600 | 600 | – | – |
| 2.4.8 | – | 600 | 601 | – |
| 2.4.9 | – | – | 601 | 605 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["hipay/hipay-fullservice-sdk-magento2"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

hipay is a Magento 2 vendor on Packagento. See https://packagento.com/hipay.md for their full catalogue.

