shopgate / cart-integration-magento2-base
shopgate/cart-integration-magento2-base
Shopgate base module for Magento 2, handles communication with merchant API and routing calls
Shopgate Magento2 Integration
The Shopgate Magento2 integration enables you to connect your Magento2 store with the Shopgate backend.
Getting Started
Download and unzip the latest releases into the root folder of your Magento2 installation.
Installation and Documentation
You can find more information in our support center and our developer documentation.
Changelog
See CHANGELOG.md file for more information.
Contributing
See CONTRIBUTING.md file for more information.
About Shopgate
Shopgate is the leading mobile commerce platform. Online retailers use our software-as-a-service (SaaS) to provide their mobile customers with successful native shopping apps. Developers can enhance the Shopgate Cloud platform by building extensions that customize the user experience and add new functionality to our powerful ecommerce solutions.
License
The Shopgate Magento2 integration is available under the Apache License, Version 2.0.
See the LICENSE.md file for more information.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
2.10.0 - 2026-03-23
Removed
- support for Magento 2 below version 2.4.4
- PHP Support below Version 8.1
Changed
- uses Shopgate Cart Integration SDK 2.11.0
2.9.34 - 2024-05-10
Removed
- usage of deprecated Laminas serializer
2.9.33 - 2023-11-08
Added
- support for enhanced gender options from Shopgate
Changed
- uses Shopgate Cart Integration SDK 2.9.91
Fixed
- error when browsing to the Shopgate configuration page and using german language
- issue with
set_settingswithout a scope set - issue with
get_settings& country data not loading
2.9.32 - 2022-11-24
Fixed
- character encoding issues in some cases when using PHP 8.1
Changed
- uses Shopgate Cart Integration SDK 2.9.90
2.9.31 - 2022-05-18
Added
- support for Magento 2.4.4
- support for PHP 8.1.x
Changed
- uses Shopgate Cart Integration SDK v2.9.89
2.9.30 - 2022-01-05
Changed
- fixed another incompatibility with Magento 2.4.3
2.9.29 - 2021-09-01
Fixed
- restored compatibility with Magento 2.4.3 and lower
2.9.28 - 2021-09-01
Fixed
- compatibility with Magento 2.4.3
2.9.27 - 2021-04-21
Fixed
- avoid logging or displaying a PHP "undefined index" notice on payment mapping
2.9.26 - 2020-12-16
Fixed
- an internal bug that would break the backend configuration page on some systems
2.9.25 - 2020-11-19
Added
- quote to checkout session
- support for custom product prices during check_cart and add_order
- support for Magento 2.4
Changed
- uses Shopgate Cart Integration SDK v2.9.79
2.9.24 - 2020-07-24
Added
- mapping for name prefix
- quote to checkout session
Fixed
- Order import for Estonia and Croatia when also states are used
2.9.23 - 2020-03-17
Fixed
- Inactive child products are not exported anymore
2.9.22 - 2020-02-05
Added
- support for regions based on text input fields
2.9.21 - 2019-11-26
Added
- Security enhancements
- PluginInfo and ShopInfo to ping action
Removed
- Support for PHP < 7.1
- Support for Magento < 2.2
2.9.20 - 2019-11-01
Added
- support for including customer data in cart validation by exposing the getCustomer method in checkCart
- export custom attributes as extra fields with customer and customer address data
2.9.19 - 2019-09-18
Fixed
- Export of child products
2.9.18 - 2019-09-13
Added
- filter for website specific items in product export
2.9.17 - 2019-08-22
Added
- registered internalCartInfo cart helper method
2.9.16 - 2019-08-08
Fixed
- app only coupons not working
2.9.15 - 2019-07-18
Added
- Magento 2.3.2 CsrfValidation support which fixes the 302 errors
Fixed
- Error "unknown shop number" when using Shopgate with different store views connected
2.9.14 - 2019-06-17
Added
- Support for Export shopgate order collection calls
Fixed
- Region/state mapping for get_customer calls, e.g. returns US-TX instead of TX
2.9.13 - 2019-06-05
Fixed
- Cart validation for products with the same item id
2.9.12 - 2019-06-04
Fixed
- Check_cart now returns the correct item_number
- Order import when ordering a product more than once with different custom option values
2.9.11 - 2019-02-13
Added
- Support for Mage 2.3 controller CsrfValidation with backwards compatibility for older versions
2.9.10 - 2018-10-27
Changed
- Uses Shopgate Cart Integration SDK 2.9.78
2.9.9 - 2018-08-01
Added
- Empty implementation of the cron action
- Shopgate config variables to DI to support app:config:dump call
- App-only cart rules, not compatible with CustomerSegment
Changed
- Uses Shopgate Cart Integration SDK 2.9.74
Fixed
- Issue importing config.php when CMS Map config is empty
- Travis release zipping logic
- Missing IP address for guest orders
Removed
- Import of prefixes in customer addresses
2.9.8 - 2018-04-19
Fixed
- Incompatibility with Magento 2 SOAP API
- Option validation for child products
- Corrected order addresses to pass validation
- Saving of addresses in order import
- Issues with displaying configuration menu on Magento v2.2.0+
Added
- Possibility to exclude specific items from the export
[2.9.7]
Fixed
- Addresses being saved more than once
- Added support when installing module for Magento 2.2.2
Changed
- Uses Shopgate Cart Integration SDK 2.9.66
- Changed the GitHub composer naming so that it does not clash with Marketplace repo
Version 2.9.6
- Uses Shopgate Cart Integration SDK 2.9.64
- Fixed issue with missing folders and Magento Cloud
Version 2.9.5
- Fixed incorrect permission reference in acl.xml
- Fixed set_settings not saving properties that are not defined in the di.xml
- Fixed ping call returning supported_fields_check_cart as JSON instead of Array
- Added version upper bounds for composer module require declarations
Version 2.9.4
Added
- Review export via XML
- Cache invalidation on configuration save
Updated
- Uses Shopgate Library 2.9.64
Fixed
- Fix frontend store translations
- Fix when an item's internal_order_info is empty, e.g. SG coupons
- Fix for registered customer coupon not showing in order imports
- Fix for empty Shopgate configuration page in EE >= 2.1.0
Version 2.9.3
Added
- check_stock call
- Logic for shipping method export and import mapping
Fixed
- Translation issues by replacing relative path for xsd files with magento style pathes
- Missing product in imported order, in case 2 different configurations of a product were bought
Version 2.9.2
- Added new plugin configuration for exporting descriptions of child products
- Children of grouped products are now exported in the correct order
- Improved export of sale prices
- Added new plugin configuration for exporting invisible attributes
- Improved order import, order items now contain the original price
- Improved category mapping in item export, now taking care of anchor categories
Version 2.9.1
Added
- Config initialization
- get/set_settings calls
- check_cart call
- add_order call
- update_order call
Version 2.9.0
- Created Initial Plugin
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 2.10.0 | stable | Fail | 2026-03-23 17:42:57 |
| 2.9.34 | stable | Not tested | 2024-05-10 09:53:32 |
| 2.9.33 | stable | Not tested | 2023-11-08 14:24:20 |
| 2.9.33-alpha.1 | alpha | Not tested | 2023-05-03 08:22:00 |
| 2.9.32 | stable | Not tested | 2022-11-24 14:54:20 |
| 2.9.32-alpha.2 | alpha | Not tested | 2022-11-24 14:42:50 |
| 2.9.32-alpha.1 | alpha | Not tested | 2022-11-17 15:15:03 |
| 2.9.31 | stable | Not tested | 2022-05-18 10:35:26 |
| 2.9.30 | stable | Not tested | 2022-01-05 16:07:05 |
| 2.9.29 | stable | Not tested | 2021-09-13 16:22:16 |
| 2.9.28 | stable | Not tested | 2021-09-01 10:12:17 |
| 2.9.27 | stable | Not tested | 2021-04-21 12:26:17 |
| 2.9.27-alpha.10 | alpha | Not tested | 2021-04-20 10:32:36 |
| 2.9.27-alpha.9 | alpha | Not tested | 2021-04-20 10:30:44 |
| 2.9.27-alpha.8 | alpha | Not tested | 2021-04-20 10:22:35 |
| 2.9.27-alpha.7 | alpha | Not tested | 2021-04-20 10:20:59 |
| 2.9.27-alpha.6 | alpha | Not tested | 2021-04-20 09:49:52 |
| 2.9.27-alpha.5 | alpha | Not tested | 2021-04-20 09:47:47 |
| 2.9.27-alpha.4 | alpha | Not tested | 2021-04-20 09:41:24 |
| 2.9.27-alpha.3 | alpha | Not tested | 2021-04-20 09:20:44 |
| 2.9.27-alpha.2 | alpha | Not tested | 2021-04-20 09:16:49 |
| 2.9.27-alpha.1 | alpha | Not tested | 2021-04-20 09:14:31 |
| 2.9.26 | stable | Not tested | 2020-12-16 12:42:11 |
| 2.9.25 | stable | Not tested | 2020-11-20 16:54:00 |
| 2.9.25-rc.1 | RC | Not tested | 2020-11-19 13:22:26 |
| 2.9.24 | stable | Not tested | 2020-07-24 09:54:39 |
| 2.9.24-rc.2 | RC | Not tested | 2020-07-17 08:53:54 |
| 2.9.24-rc.1 | RC | Not tested | 2020-07-16 06:52:23 |
| 2.9.23 | stable | Not tested | 2020-03-17 16:58:06 |
| 2.9.23-rc.1 | RC | Not tested | 2020-03-16 15:22:50 |
| 2.9.22 | stable | Not tested | 2020-02-05 07:37:04 |
| 2.9.22-rc.1 | RC | Not tested | 2020-01-28 12:11:51 |
| 2.9.21 | stable | Not tested | 2019-11-26 13:55:03 |
| 2.9.20 | stable | Not tested | 2019-11-01 08:51:15 |
| 2.9.19 | stable | Not tested | 2019-09-18 13:04:11 |
| 2.9.18 | stable | Not tested | 2019-09-13 14:21:51 |
| 2.9.17 | stable | Not tested | 2019-08-22 11:19:31 |
| 2.9.16 | stable | Not tested | 2019-08-08 09:35:00 |
| 2.9.15 | stable | Not tested | 2019-07-18 06:45:50 |
| 2.9.14 | stable | Not tested | 2019-06-17 14:55:41 |
| 2.9.13 | stable | Not tested | 2019-06-05 15:35:13 |
| 2.9.12 | stable | Not tested | 2019-06-04 15:17:49 |
| 2.9.11 | stable | Not tested | 2019-02-27 08:58:13 |
| 2.9.11-rc1 | RC | Not tested | 2019-02-27 08:49:54 |
| 2.9.10 | stable | Not tested | 2018-11-27 14:48:43 |
| 2.9.9 | stable | Fail | 2018-08-01 08:23:22 |
| 2.9.8 | stable | Not tested | 2018-04-20 09:06:25 |
| 2.9.7 | stable | Not tested | 2018-01-14 12:12:09 |
Requires 5
| Package | Constraint |
|---|---|
| php | ~8.1.0||~8.2.0||~8.3.0 |
| shopgate/cart-integration-sdk | ^2.11.0 |
| magento/module-grouped-product | ^100.0 |
| magento/module-bundle | >=100.0 <102.0 |
| magento/module-configurable-product | ^100.0 |
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 31 | 31 errors (gating threshold: error-severity=10, ruleset: Magento2) |
| PHPStan | Fail | 212 | 212 errors (level 5, ruleset: phpstan + bitexpert/phpstan-magento) · +557 advisory to level max |
| Cpd | Fail | 1 | 1 duplicated chunk spanning 62 total lines (min-lines=5, min-tokens=70) |
| Security | Pass | 0 |
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.