Magento 2

Technical manual for MultiSafepay's free plugin.

Magento 2 changelog

Changelog

All notable changes to this project will be documented in this file.

You can also view the Magento 2 changelog on GitHub.

[Unreleased]

[4.4.2] - 2026-11-30

Fixed

  • PLGMAG2V2-927: Fix credit memo adjustment sign when building refund adjustment item.
  • PLGMAG2V2-928: Fix Response::extractVersion/extractMessage fail on HTTP/1.1, breaking payments with nyholm/psr7 >= 1.8.3, thanks to @hostep

Changed

  • PLGMAG2V2-922: Bumped minimum required version of multisafepay/magento2-adminhtml to ^1.40 in the module 'magento2-internal-frontend' composer.json
  • DAVAMS-1065: Upgrade Billink payment icon

Security

  • PLGMAG2V2-924: Secure token only depends on the first 16 characters of the order increment ID, thanks to @lbajsarowicz
  • PLGMAG2V2-926: Add missing ADMIN_RESOURCE ACL check to MultiSafepay log download and API key validation controllers, thanks to @lbajsarowicz

[4.4.1] - 2026-11-10

Changed

  • PLGMAG2V2-919: Add Mage-OS to the CI matrix, thanks to @michielgerritsen
  • PLGMAG2V2-918: Update docker images in CI - Testing, thanks to @michielgerritsen

Security

  • PLGMAG2V2-920: Improve webhook notification validation by rejecting notifications for store views without a configured API key and verifying the order belongs to the notified store

[4.4.0] - 2026-09-01

Changed

  • PLGMAG2V2-912: Bumped version of multisafepay/magento2-core to ^3.21 to fix the show/hide payment method icons configuration in the checkout

Fixed

  • PLGMAG2V2-913: Fix PriceUtil cart item + shipping totals now reconcile with grand total across all tax configurations

[4.3.0] - 2026-07-21

Added

  • PLGMAG2V2-912: Added a new configuration to show/hide payment method icons in the checkout

Fixed

  • PLGMAG2V2-911: Fixed custom success url not being used in new browser session

[4.2.0] - 2026-05-18

Added

  • PLGMAG2V2-906: Added a new controller that can be used to retrieve a MultiSafepay API Token

Fixed

  • PLGMAG2V2-906: Fixed an issue where a 'Temporary Unavailable' message would be shown after being idle in the checkout for a while, due to the API token expiring and not being refreshed

[4.1.0] - 2026-04-29

Added

  • PLGMAG2V2-893: Prevent duplicate completed webhooks from overwriting order totals
  • DAVAMS-990: Added used card info to Apple Pay and Google Pay payment methods
  • PLGMAG2V2-890: Added prerequisite acknowledgement validation for Apple Pay and Google Pay direct buttons configuration activation

Fixed

  • PLGMAG2V2-900: Fixed PriceUtil tax calculations for sales display settings
  • PLGMAG2V2-904: Fixed issue where gift cards were always using the fallback icon

Changed

  • PLGMAG2V2-887: Changed instances where we were using getRealOrderId() to getIncrementId()
  • PLGMAG2V2-891: Handle ApiException in GetNotification

[4.0.0] - 2026-03-17

Added

  • PLGMAG2V2-888: Implemented token-based redirect handling and removed the dependency on the checkout session when redirecting to the payment page.

[3.16.0] - 2026-02-18

Added

  • DAVAMS-913: Added several EAA improvements

Changed

  • PLGMAG2V2-886: When retrieving the order for GET notification requests, we now first check if the transaction Order ID matches the Magento Order ID
  • PLGMAG2V2-884: Changed when to retrieve issuers and the api_token from the MultiSafepay API, e.g. it will not happen on the cart page anymore
  • DAVAMS-954: Rebranded iDEAL - Wero and in3

Fixed

  • PLGMAG2V2-885: Fixed an issue with E-invoicing Payment Component Direct transactions not being able to be placed

[3.15.0] - 2026-01-21

Added

  • PLGMAG2V2-871: Added changes that enable Google Analytics cross browser/device tracking
  • PLGMAG2V2-881: Added a REST API endpoint to trigger the notification through the Magento 2 API

Fixed

  • PLGMAG2V2-882: Fixed an issue where an old cart overwrites new cart items when an order was previously placed but not finished

Changed

  • PLGMAG2V2-861: MultiBanco now initialises in pending state
  • PLGMAG2V2-880: Improved the logs for the 'cancel' & 'success' controllers

Removed

  • PLGMAG2V2-810: Deprecated the Sofort payment method

[3.14.0] - 2025-09-12

Changed

  • PLGMAG2V2-872: Changed it so that payment links for bank transfer transactions are immediately added as an order comment, instead of on 'Initialized' status notification
  • PLGMAG2V2-867: Improved when to save the quote on the Cancel controller, it will now save if the payment actually has any additional information that needs to be removed
  • PLGMAG2V2-868: Updated the American Express fallback icon to the latest version

Removed

  • DAVAMS-918: Deprecated Zinia payment method

[3.13.1] - 2025-08-22

Fixed

  • PLGMAG2V2-864: Fixed automatic gateway detection switch for generic giftcards
  • PLGMAG2V2-855: Fixed an issue with restoring the cart when using the browser back button on the payment page for Amasty Checkout (Pro) (Now also fixed for Magento version 2.3.7)

[3.13.0] - 2025-07-29

Added

  • PLGMAG2V2-852: Added support for Bancontact WIP in Magento Vault
  • PLGMAG2V2-859: Added CODE_OF_CONDUCT.md

Fixed

  • PLGMAG2V2-860: Fixed an issue where some orders do not have correct values after invoice creation with a specific Amasty Checkout Pro configuration
  • PLGMAG2V2-862: Fixed CancelOrder process error when transaction_id param can not be found, thanks to @CanvasCompanyHylke

[3.12.0] - 2025-07-09

Added

  • PLGMAG2V2-850: Added customer company name to the order request
  • PLGMAG2V2-856: Added logging for payment component requests

Fixed

  • PLGMAG2V2-854: Fixed Fooman Surcharges not being picked up for BNPL refunds
  • PLGMAG2V2-853: Fixed BNPL refund processing of bundle product items with non dynamic pricing
  • PLGMAG2V2-855: Fixed an issue with restoring the cart when using the browser back button on the payment page for third party checkouts like Amasty Checkout (Pro)

[3.11.0] - 2025-05-20

Fixed

  • PLGMAG2V2-846: Fix an issue with some orders going back to pending payment right after customer account creation after checkout

Removed

  • DAVAMS-901: Removed the deprecated payment method 'Alipay'

[3.10.1] - 2025-05-01

Fixed

  • PLGMAG2V2-840: Fix Monolog issue in Magento 2.4.8, thanks to @jissereitsma
  • PLGMAG2V2-841: Fix shopping cart refund issue due to version comparison bug
  • PLGMAG2V2-842: Fix PHP 8.4 deprecations

Changed

  • MAGWIRE-32: Move some generic gateway logic to own util

[3.10.0] - 2025-04-02

Added

  • PLGMAG2V2-831: Added invoice_url to invoice update request for E-invoicing
  • PLGMAG2V2-832: Added setting for adding iDEAL payment page step

Fixed

  • PLGMAG2V2-835: Fixed broken Einvoicing refund
  • HYVA-31: Fixed Cart Alive Issue in Hyvä Checkout

Removed

  • PLGMAG2V2-838: Removed .svg as allowed file type for generic gateway image upload

[3.9.1] - 2025-02-24

Fixed

  • PLGMAG2V2-826: Fix uncleared orders not being able to be invoiced
  • PLGMAG2V2-823: Fix Fooman surcharge rate calculation above 100%

Changed

  • PLGMAG2V2-829: Enable Sofort and Dotpay payment methods
  • PLGMAG2V2-815: Add delay for cancel controller to wait for order to cancel

Removed

  • DAVAMS-840: Remove gender requirement for in3

[3.9.0] - 2025-01-09

Added

  • DAVAMS-817: Added the Bizum payment method
  • DAVAMS-852: Add the Billink payment method
  • PLGMAG2V2-814: Added instructions field to payment methods
  • PLGMAG2V2-788: Added coupon names to item names for more clarity about which coupon was used
  • PLGMAG2V2-809: Added the transaction ID to the comment in the order overview for orders canceled by MultiSafepay

Fixed

  • PLGMAG2V2-805: Fixed payment_review orders unable to be canceled
  • PLGMAG2V2-647: Fixed Fast Checkout duplicated transactions

Removed

  • PLGMAG2V2-810: Removed deprecated methods: Santander, Giropay, Sofort, Request to pay and Dotpay
  • DAVAMS-869: Refunding has been disabled for Multibanco

[3.8.1] - 2024-09-20

Fixed

  • PLGMAG2V2-794: Fixed an issue that sometimes occurred after the last update related with placing an Apple Pay and Google Pay transaction

Changed

  • DAVAMS-795: Rebrand the logo's, titles and labels from AfterPay to Riverty

[3.8.0] - 2024-08-30

Added

  • PLGMAG2V2-779: Added payment component for BNPL methods

Changed

  • PLGMAG2V2-785: Upgraded payment icon for MultiSafepay method

Removed

  • PLGMAG2V2-784: Removed issuers from iDEAL
  • PLGMAG2V2-706: Removed payment component Onload console.log

[3.7.1] - 2024-08-06

Fixed

  • PLGMAG2V2-753: Fixed an issue where a coupon could be decremented multiple times on multiple calls to the 'Cancel' controller
  • PLGMAG2V2-780: Fixed an issue where Store Credit would be returned twice

Changed

  • PLGMAG2V2-778: Coupons will now be canceled through the OrderService on order cancelation and will happen either through the Notification webhook request or when restoring the cart, depending on the type of transaction

[3.7.0] - 2024-07-05

Added

  • PLGMAG2V2-741: Added Manual Capture support for the Card payment, Visa, Mastercard and Maestro gateways. For more information about this feature, please check the MultiSafepay Manual Capture documentation .
  • PLGMAG2V2-760: Added to the order payment description with which type of card was paid for the Card Payment method
  • PLGMAG2V2-768: Refund requests are now logged on debug mode

Fixed

  • PLGMAG2V2-759: Fixed an issue which happened because the getPath method no longer exists on DirectDebitConfigProvider
  • PLGMAG2V2-769: Fixed HTTP Response code being 0 in custom MultiSafepay HTTP Client

Changed

  • PLGMAG2V2-757: Remove payment additionalData when the quote has been restored
  • PLGMAG2V2-767: Google Pay Direct AbortError is not being displayed on screen anymore when user closes the Payment Request dialog

[3.6.0] - 2024-05-15

Added

  • DAVAMS-764: Add in3 B2B

Fixed

  • PLGMAG2V2-755: Fixed an issue where a type error can occur when retrieving the tax rate during transaction creation

[3.5.1] - 2024-05-01

Fixed

  • PLGMAG2V2-738: Fixed orders stuck on pending after REST API Invoice creation
  • PLGMAG2V2-752: Fixed Payment Component Temporarily Not Available message after token expiry

Changed

  • PLGMAG2V2-739: PayPal, AliPay, AliPay Plus, CBC, KBC and Trustly now have the option to redirect to the MultiSafepay payment page when placing the order

[3.5.0] - 2024-04-02

Added

  • PLGMAG2V2-731: Added VVV Cadeaubon gateway
  • DAVAMS-733: Added Pay After Delivery (BNPL_MF) gateway
  • PLGMAG2V2-736: Added browser info to the transaction
  • PLGMAG2V2-734: Added more integration tests for Magento Vault
  • DAVAMS-745: Fixed template id and added merge value for payment component

Fixed

  • PLGMAG2V2-733: Make frontend messages translatable
  • PLGMAG2V2-735: Fix an issue where wrong shipping cost is sent in OrderRequest when VAT is exempted during checkout

Changed

  • DAVAMS-756: Rebrand in3 B2C

[3.4.0] - 2024-02-16

Added

  • DAVAMS-716: Add Multibanco
  • DAVAMS-724: Add MB WAY

Fixed

  • PLGMAG2V2-728: Add recurring data when customer_id is in additional info
  • PLGMAG2V2-725: Fix broken gift card gateway ids
  • PLGMAG2V2-727: Fix payment component sometimes not loading

Removed

  • PLGMAG2V2-726: Remove startSetup and endSetup commands from UpgradeData

[3.3.2] - 2024-01-24

Changed

  • PLGMAG2V2-718: Remove gateway codes from Edenred title
  • PLGMAG2V2-716: Refresh API Token and component after expiry
  • PLGMAG2V2-720: Only set order canceled on notification controller

[3.3.1] - 2023-12-28

Fixed

  • PLGMAG2V2-715: Fixed an issue where pretransaction notifications would be processed for canceled orders

Changed

  • DAVAMS-700: Refactored in3 Direct to only make gender mandatory
  • PLGMAG2V2-714: POST notifications will now always be logged, instead of only when the verification fails
  • PLGMAG2V2-709: The DataAssignObserver for Card payments will now return early whenever the payload is already defined

Removed

  • DAVAMS-708: Removed Santander Betaal Per Maand

[3.3.0] - 2023-11-30

Fixed

  • PLGMAG2V2-705: Fixed a bug where the notification process would not finish due to an empty 'Auth' header in the POST webhook request
  • PLGMAG2V2-708: Fixed Hyva React Checkout OutOfBoundsException when it is installed through app/code
  • PLGMAG2V2-688: Fixed an issue where coupons would not be restored if the payment was canceled/declined
  • PLGMAG2V2-711: Fixed an issue where it was not possible to do refunds for a generic gateway that requires the shopping cart

Added

  • DAVAMS-531: Added an advanced setting for adding a template ID to be used for payment components
  • DAVAMS-676: Added preset gateway filters for Zinia
  • DAVAMS-596: Added a setting to choose SVG icons instead PNG.

Changed

  • PLGMAG2V2-704: For E-invoicing, there will be no invoice e-mails sent from Magento, since E-invoicing handles invoice e-mails on the payment side

[3.2.1] - 2023-10-16

Fixed

  • PLGMAG2V2-702: Fixed an issue where in some cases the wrong transaction_type would be used for some 'Direct' payment methods

[3.2.0] - 2023-10-11

Added

  • PLGMAG2V2-700: Added Edenred Consumption Voucher (EDENCONSUM)
  • PLGMAG2V2-699: Added support for simple products that have custom options configured with no custom SKU
  • DAVAMS-661: Added the Zinia payment method
  • PLGMAG2V2-687: Added support for adjustment refunds

Fixed

  • PLGMAG2V2-690: Fixed direct payment methods doing redirect when direct is configured
  • PLGMAG2V2-692: Fixed bundle product shopping cart refund

Changed

  • PLGMAG2V2-688: Changed notification delay to add Canceled, Void, Expired and Declined statuses
  • PLGMIRAKL-58: Excluded custom total 'marketplace_shipping' from Mirakl since it will be added by the MultiSafepay Mirakl module instead
  • DAVAMS-643: Refactored and improved the processing of payment component recurring tokens

[3.1.3] - 2023-09-04

Added

  • PLGMAG2V2-681: Added translations for title and placeholder HTML attributes

Fixed

  • PLGMAG2V2-691: Fixed an issue with Pay After Delivery Installments refunds
  • PLGMAG2V2-696: Fixed an issue where notification requests would require a lot of time to process, in some cases causing a timeout

Changed

  • PLGMAG2V2-683: API tokens are now stored and retrieved through the cache
  • PLGMAG2V2-680: Replaced var with let in validate API key button function

Removed

  • PLGMAG2V2-694: Removed class import dependency on Magento_Giftcardaccount for CustomTotalBuilder
  • PLGMAG2V2-676: Removed unused getCheckButtonId() function

[3.1.2] - 2023-07-17

Fixed

  • PLGMAG2V2-682: Fixed an issue where Google Pay and Apple Pay were not redirecting to the payment page
  • PLGMAG2V2-675: Fixed an issue where cron job sales_clean_orders failed when order contains no payment method
  • PLGMAG2V2-679: Fixed an issue where the integration tests were reporting the wrong code coverage percentages

Changed

  • PLGMAG2V2-664: Refactored the CreateInvoice procedure.

Removed

  • PLGMAG2V2-669: Removed the setup_version from the module.xml
  • PLGMAG2V2-674: Removed use of SecureHtmlRenderer to be backwards compatible with version 2.3

[3.1.1] - 2023-06-13

Added

  • PLGMAG2V2-671: Added the functionality to add plugin data information for other enabled third party plugins, starting with Hyva React Checkout

Fixed

  • PLGMAG2V2-670: Fixed an issue where incorrect item prices would show in combination with the Meetanshi Vat Excemption module

Changed

  • PLGMIRAKL-26: Changed the OrderItemBuilder to make the procedure of modifying the merchant item id using a plugin interceptor class easier
  • DAVAMS-607: Changed the 'Credit Card' method default title to 'Card Payment' according to the latest standards
  • PLGMIRAKL-2: Changed the scope of some variables in Config and SdkFactory

Removed

  • PLGMAG2V2-669: Removed the setup_version from the module.xml

[3.1.0] - 2023-05-17

Added

  • PLGMAG2V2-661: Add payment component for Pay After Delivery installments
  • PLGMAG2V2-657: Give the option to set 3 different icons for payment method Credit Card
  • PLGMAG2V2-667: Add a setting field to exclude utm_nooverride from the redirect_url

Changed

  • PLGMAG2V2-632: Refactor Credit Card Payment Components
  • PLGMAG2V2-653: Rebranded Sofort

Fixed

  • PLGMAG2V2-665: Fixed Riverty and in3 component rendering, failing in some third party checkouts

[3.0.0] - 2023-04-03

Added

  • PLGMAG2V2-573: Added new service interfaces, processes and a controller for processing notification webhooks

Changed

  • PLGMAG2V2-642: Changed to use asString methods in Customer and Delivery Builders
  • PLGMAG2V2-617: Refactored notification webhook process. Notification webhooks are now processed in the core module and not in the frontend module

Removed

  • PLGMAG2V2-648: Removed the dependency for zendframework/zend-http and laminas/laminas-http, to be compatible with Magento ^2.3.0 and ^2.4.0
  • PLGMAG2V2-649: Removed capture options from manual invoice in credit card methods to make that process have one manual action less

[2.23.0] - 2023-03-07

Added

  • Added configuration for the Pay After Delivery installments payment method
  • Added missing class variables for deprecation support with PHP 8.2
  • Added Pay After Delivery installments payment method

Fixed

  • Fixed missing checkbox in rare cases for placing a transaction with iDEAL and Direct Debit Vault
  • Fixed broken docs links for Apple Pay Direct
  • Fixed the customer ID not being able to be null, thanks to @Jade-GG
  • Fixed a bug where payment methods were missing after a cancelled order
  • Fixed translations for OrderPlaceAfterObserver error messages, thanks to @mlaurense

Changed

  • Gateway info objects are now passed as a string instead of an object
  • Rebrand Pay After Delivery
  • Removed the PWA mention from the custom url labels, since that functionality is not only available when using a PWA

Removed

  • Copyright mention has been removed from the files and is only mentioned from now on in the disclaimer. Please read it if you haven't already

[2.22.0] - 2022-12-07

Added

  • Added support for optional customer city argument
  • Added raw response data to Apple Pay Merchant Session request logs for better debugging possibilities
  • Added improved response handling for Pay After Delivery and Klarna refunds

Fixed

  • Made all the config field labels translatable
  • Fixed '1000 Required Fields error' in rare cases when creating a shipping update request
  • Made sure checkout loads correctly if API is unreachable

Changed

  • Rebranded AfterPay to Riverty
  • Changed labels of when to send the order confirmation email
  • Retrieving issuers for a gateway will only be done when the gateway has been activated
  • The payment will now only be saved after redirect whenever sensitive information has been detected and removed from the payment additional information
  • Changed the POST notification process to only retrieve the order after POST validation has passed
  • Improved the error message that is shown to the customer whenever the payment fails.
  • Checking for recurring tokens will only occur now when Magento Vault is enabled.

[2.21.1] - 2022-10-24

Fixed

  • Fixed a TypeError which happened in some instances when trying to retrieve E-invoicing dynamic checkout fields.
  • Fixed an issue where overriding when to send the order confirmation e-mail on gateway level sometimes did not work.
  • Fixed an issue where it was not possible to refund orders created with a generic gateway
  • Fixed references related to the E-Invoicing configurable 'account_number' field

Changed

  • Skipped E-invoicing validation if payment method is set up as redirect

[2.21.0] - 2022-10-04

Added

  • Payment links will now always be added to the order comment history again. For backend orders it happens immediately, for frontend orders it now happens when the first MultiSafepay notification arrives.
  • Added Amazon Pay.
  • Added an option for E-invoicing to assign collecting flow ids to specific customer groups.
  • Added an option for E-invoicing to turn on and off certain checkout fields.

Changed

  • Magento Vault stored payment methods now change to the gateway where the card was last used.

[2.20.1] - 2022-09-12

Fixed

  • Fixed a bug where in rare instances Magento Vault would cause a 'unique constraint violation' when trying to save a payment token.
  • Fixed an Uncaught TypeError when trying to log the order if the order ID can't be found.

[2.20.0] - 2022-08-23

Added

  • Added the MyBank payment method
  • Improved logging for failed POST notifications
  • Added support for keeping the cart alive when using FireCheckout (Thanks to @mlaurense)

Fixed

  • Fixed an issue where in some cases VISA transactions could not be refunded through the backend
  • Fixed dead docs links in the configuration and support page for specific articles like tokenization and vault.
  • Prevented double execution of order transaction processing when the POST notification fails

Removed

  • Removed payment method docs links in the configuration page

[2.19.0] - 2022-07-11

Added

  • Added a configuration option for overriding when to send the order confirmation e-mail for pay later methods

Fixed

  • Fixed an issue where the order state switches to 'Pending payment' after 'Completed' in rare cases

Changed

  • Added logging for the notification webhook response

Removed

  • Removed the payment link order comment for frontend orders, because of multiple processes trying to save the order, which causes an issue in some instances

[2.18.0] - 2022-06-29

Added

  • Added Vault for Maestro
  • Added the Alipay+ payment method
  • Added Tokenization (embedded) for the following gateways:
    • American Express
    • Credit Card
    • Maestro
    • Mastercard
    • Visa

Fixed

  • Fixed an issue where placing orders through some gateways with GraphQL returns an error
  • Fixed an issue where there would be duplicated tokens stored in Vault in some rare cases
  • Fixed the sorting of the generic gateways to be always at the bottom
  • Fixed field dependencies of all the gateways to always depend on the 'active' field

Changed

  • Changed the styles and images according to the new rebranding guidelines

[2.17.2] - 2022-05-13

Fixed

  • Fixed an issue with the timing of request timeouts for incoming notifications

[2.17.1] - 2022-05-10

Fixed

  • Fixed an issue where in rare cases the salable quantity would be incremented twice when a transaction is canceled or declined

[2.17.0] - 2022-04-28

Added

  • Added an option to skip the bank details page after placing an order for the Bank Transfer payment method

Fixed

  • Fixed an issue where MultiSafepay orders in state pending_payment could not go to processing if the order was paid through another way.
  • Fixed an issue with a circular dependency in the Config, which shows up during a setup:upgrade command.
  • Fixed an issue with the custom REST API endpoint for retrieving the payment URL for a specific logged in customer, where it returned an incorrect type use error.
  • Fixed an issue with the Amasty_OrderStatus module where it wasn't able to correctly save an order comment after placing it.
  • Fixed the alignment of the CCV field inside the Credit Card Payment Component

Changed

  • Deprecated ING Home'Pay
  • Added changes that are required for PHP 8.1:
    • Added function type declarations
    • Changed namespaces to be declared on a single line
    • Added null coalescing operator for when haystack parameter for the strpos() function is null
  • Removed the dependency for Guzzle 6 and replaced it with a custom client implementation based on the Magento Curl Adapter
  • Removed the dependency for php-http/guzzle6-adapter and replaced it with nyholm/psr7

[2.16.1] - 2022-02-22

Fixed

  • Fix notification process for sequential offline actions

[2.16.0] - 2022-01-11

Added

  • Added checker if order is actually processing before returning 'ok' for notification requests
  • Added options for selecting separate behaviours of cancelling MutliSafepay order payment link
  • Added options for selecting separate order status for different MultiSafepay statuses
  • Added error when using adjustment for shopping cart refund

Changed

  • Shipping prices excluding tax are now re-calculated based on the shipping prices including tax

Fixed

  • Fixed an issue where sometimes no error message shown with declined AfterPay transaction
  • Fixed an issue where validate API key button uses default store view always (Thanks to @thlassche)
  • Fixed an issue where encrypted password doesn't get correct
  • Fixed an issue where failed shopping cart refunds in rare cases wouldn't be able to log ApiException and ClientExceptionInterface errors.
  • Fixed an issue where the setting order comments fails on Magento 2.4.3 (Thanks to @Tjitse-E)
  • Fixed an issue where the wrong Api key is used to generate SecureToken (Thanks to @Hexmage)
  • Fixed an issue related to Swagger error

[2.15.0] - 2021-11-30

Added

  • Added a separate option for when to send the order confirmation email for the Bank Transfer payment method
  • Added a button to verify the API Key before saving the config.
  • Added compatibility with Adobe Commerce Gift Card Accounts
  • Added back REST API compatibility, including an end point for retrieving the payment link after order creation.
  • Added the possibility to fetch transaction data in the transaction overview.

Fixed

  • Fixed an issue where the wrong shipping tax rate was being sent when using VAT ID validation
  • Fixed an issue where frontend fetches API tokens for CC component, while payment type is configured as redirect (Thanks to @thlassche)

Changed

  • Changed the API Key fields to be obscured for added security, they are now also stored with encryption provided by the Encryptor from the Magento Framework
  • Updated the credit card logo
  • MultiSafepay Account data is now dynamically retrieved via an API request for Google Pay Direct
  • Improved logging for Magento payment gateway, client and shipping requests.
  • Changed the Google Pay button background to be transparent instead of white.
  • Made changes in the way the payment link is retrieved from the order.
  • Extended direct ApplePay with requiredBillingContactFields

[2.14.2] - 2021-11-03

Fixed

  • Fixed an issue with AfterPay Date of Birth date picker field

[2.14.1] - 2021-11-01

Fixed

  • Fixed an issue related to empty Edenred payment method config

[2.14.0] - 2021-10-29

Added

  • Added iDEAL and Direct Debit Vault
  • Added Edenred

Fixed

  • Fixed an issue with Vault and Manual capture
  • Fixed an issue where the transaction type for Direct Debit would not be saved

Changed

  • Changed the dependency on Guzzle6-adapter from '*' to '^2.0', because Guzzle6-adapter '^1.0' does not implement Psr-7
  • Changed composer type from 'library' to 'metapackage'
  • Changed the Vault 'Save for later use' checkbox to be default unchecked instead of checked for MultiSafepay payment methods
  • Changed the module to not only return an 'ng' on notification failure and show more information about why the notification process failed

[2.13.0] - 2021-10-15

Added

  • Added Apple Pay Direct
  • Added Google Pay Direct/Redirect
  • Added WeChat Pay Redirect

Fixed

  • Fixed an error notice when postal code was left empty (Thanks to @thlassche)
  • Fixed Credit Card Payment Component not showing on IE due to new JS syntax (thanks to @thlassche)
  • Fixed the utm_nooverride parameter not being picked up in Google Analytics because of a trailing slash (Thanks to @peterjaap)

Changed

  • Changed the placement of the iDEAL issuers dropdown to be on top of the billing address instead of below it.

[2.12.4] - 2021-10-07

Fixed

  • Fixed a refund issue for manual captured payments

Changed

  • Updated the MultiSafepay credit card component javascript library from V1 to V2.

[2.12.3] - 2021-10-04

Fixed

  • Fixed a bug where division by zero issue appeared for custom totals in getting tax rate method.
  • Fixed a bug where an error would be thrown if the locale was null.
  • Fixed a bug with the FPT/WeeeTax calculation when set excluding tax.

[2.12.2] - 2021-09-07

Fixed

  • Fixed a bug where some specific orders with other than credit card payment methods couldn't be refunded.
  • Fixed an issue where invoice emails were being sent after some time for orders with Billing Suite payment methods from the legacy plugin.
  • Fixed an issue where there were duplicate controllers with the legacy plugin, causing an error on transaction placement.

[2.12.1] - 2021-09-02

Fixed

  • Fixed a bug related to incorrect shipping tax calculation with a specific tax configuration.
  • Fixed a bug which causes an 'Integrity constraint violation: 1052 Column ‘increment_id’ in where clause is ambiguous' error if there is another increment_id.

[2.12.0] - 2021-08-27

Added

  • Added compatibility with Adobe Commerce Gift Wrapping plugin.
  • Payment links can now be used for both order confirmation emails and order comment emails.

Changed

  • Code refactored for order service methods.
  • We are now removing sensitive data from the payment after the customer has been redirected.
  • Changed the resolution of payment icons to be more in line with Magento core payment icons
  • Added date picker field for Date of Birth checkout fields to further increase the consistency of input
  • Dropped support for Magento 2.2.x versions.
  • Deleted unnecessary order savings for better performance
  • Changed event listeners from controller_action_predispatch to backend_auth_user_login_success for checking the new released plugin versions. (Thanks to @Tjitse-E)
  • Improved the UX/UI for General Information page

Fixed

  • Fixed a bug where some POST notification can be restricted because of CSRF validation.
  • Fixed PHP Mess detector issues.
  • Fixed a bug where Vault cards would not be stored because of a type error.
  • Fixed a bug where for some custom totals with a value of '0.0' an error would occur on transaction creation.

[2.11.0] - 2021-07-30

Added

  • Added automatic cancellation of MultiSafepay pretransactions for non-paid canceled orders.
  • Added plugin version to the system report log
  • Added possibility to skip automatic invoice creation after MultiSafepay payment.

Fixed

  • Fixed a bug where manual invoices for backend created orders did not go to processing state.
  • Fixed a bug where filling in certain wrong values for the Date of birth field for AfterPay and in3 caused an error
  • Fixed a bug where "Unable to unserialize value" errors were logged for every product.
  • Fixed a bug where the shipping description in the transaction would cause an error if it was null (thanks to @florisschreuder)
  • Fixed a bug where some header elements were still visible inside the checkout (Thanks to @Davie82)
  • Fixed a bug where the MultiSafepay payment component external js file could not be loaded when using Magento javascript minification

Changed

  • Improved several UI and UX elements:
    • Added a notice with a link to the MultiSafepay Account under the API key field
    • Added enabled/disabled indicators next to the gateways and giftcards
    • Added a MultiSafepay mention to the Payment configuration page at Stores > Configuration > Sales > Payment Methods with a link to sign up. Clicking on configuration will redirect to the MultiSafepay General Settings page

[2.10.2] - 2021-07-20

Fixed

  • Fixed a bug where the default store url was being used for payment links in backend orders.
  • Fixed a bug related to generating secure token in Magento Open Source 2.4.2
  • Fixed a bug where shopping cart refunds with 0 amounts would not throw an error. (Thanks to @reense)
  • Fixed a bug where if an FPT is used, it in some cases wouldn't get picked up

[2.10.1] - 2021-06-25

Fixed

  • Fixed a bug related to TypeError in ShipmentSaveAfterObserver. (Thanks to @Davie82)
  • Fixed a bug related to GET notifications where orders would stay in pending_payment status
  • Removed trailing comma for compatibility with IE11 in frontend plugin. (Thanks to @barryvdh)

[2.10.0] - 2021-06-17

Added

  • Added support MultiSafepay Credit Card component support for credit card payment methods.
  • (dev) Added integration test coverage for secure token class, custom total builder and additional data builders.

Fixed

  • Fixed a bug related to special cases where some invoices skip the order payment method.
  • Fixed a bug related to wrong showing qty on the payment page for items with decimal qty
  • Fixed issue related to preselected customer group id for customer session
  • Fixed support page typo's.

Changed

  • Moved setting pending_payment status from Redirect controller to Gateway Request Builder
  • Changed the notification method from 'GET' to 'POST'.
  • Updated the PHP-SDK version to version 5.
  • Dropped support for PHP 7.1. Because of this, Magento versions up to version 2.2.9 are not supported anymore.
  • Improved the logging for the notification actions

[2.9.0] - 2021-06-03

Added

  • (dev) Added integration test coverage for all the plugin utils, services and order request builders.
  • Added check if order was paid by gifcard, then will change payment method to one of giftcard payment methods.
  • Added translations for some checkout fields. (Thanks to @Davie82)
  • Added possibility to translate description phrase on MultiSafepay payment page.
  • Added new logo for Bancontact payment method.

Fixed

  • Fixed a bug related to combined payment filters.
  • Fixed a bug where in some cases the customer group id would retrieve wrong value.
  • Fixed a bug where in some cases the shipping tracks array can't contain 0 index.
  • Fixed TypeError for MultiSafepay payment method on notification.
  • Fixed a bug where the checkout would restore the first quote, when trying to create a second order in the same session.

Changed

  • Deleted sensitive payment data from the transaction logs.

[2.8.1] - 2021-05-19

Fixed

  • Fixed a bug in payment validation transaction type constant scope, changed it from private to public.
  • Fixed a bug in AfterPay and in3 payment methods related to phone_number field name.

[2.8.0] - 2021-05-12

Added

  • Added separate phone number field for AfterPay & in3, which will already be filled in if the phone number is present in the billing address.
  • Added notification about new versions of plugin in admin panel.
  • Added System report to downloadable log archive for improved debugging.
  • Added the possibility to change direct gateway methods to redirect.

Fixed

  • Fixed a bug where 'File not found' error would occur when trying to download log files with ROOT path set to 'pub'.
  • Fixed a bug where in some cases the order confirmation e-mail would be sent when a transaction is expired. (Thanks to @basvanpoppel)

Changed

  • Changed the logs zip archive to be stored temporarily inside the var/tmp directory instead of the root directory.
  • Changed the retrieval of the shipping tax from a calculation based method on the amount to retrieving it via a rate request to improve the accuracy.
  • Changed the info logs into debug and added transaction data to the log. Also deleted unnecessary multisafepay-debug.log file.

[2.7.1] - 2021-04-19

Changed

  • Code refactored for gateway additional data validators.
  • (dev) Orders are now being retrieved with OrderRepositoryInterface instead of OrderInterfaceFactory
  • (dev) Reduced multiple orderRepository save calls

Fixed

  • Fixed an issue where the shipment status update was only being done in the adminhtml scope. It will now trigger from all scopes, including the REST API.
  • Fixed validators giving an error when field for choosing specific has been left empty
  • (dev) Fixed DS constant not being available and replaced it with DIRECTORY_SEPARATOR constant

[2.7.0] - 2021-04-09

Added

  • Added option to set no default for default selected payment method.
  • Added a download button to download a zip file with the MultiSafepay log files

Fixed

  • Fixed an error that happened when trying to open orders with an expired transaction.
  • Fixed issue related to a missed tax amount in Fooman Surcharge custom totals
  • Fixed error when choosing 'miss' gender with AfterPay
  • Fixed an error that happened during checkout when there is a custom total in the cart with float as a string value ("0.000")
  • Fixed issue where default pending status would get used instead of the one from the MultiSafepay config

Changed

  • For bank transfer payments, the redirect to the payment page has been brought back. Like with Magento 1, customers will now get redirected to the payment page where they can see the bank transfer details.

Removed

  • Removed order status check and reopening a cancelled order process from the Success controller, since it is already being done by the Notification controller instead.

[2.6.0] - 2021-03-26

Added

  • Added support for disabling the shopping cart on the MultiSafepay payment page
  • Added information about the Magento edition to the order request.
  • Added additional quote masked_id and entity_id parameters to the cancel and success payment urls

Fixed

  • Fixed error when creating transaction without available phone number
  • Fixed a bug where the wrong processing status was set for the notifications

Removed

  • Removed obsolete emandate field from Direct Debit checkout

Changed

  • Changed validation for direct payment methods to prevent 400 (Bad Request) errors on selecting payment method
  • Improved the logging for the notification offline actions

[2.5.0] - 2021-03-11

Added

  • Added 3 generic gateways and 3 generic giftcards.
  • Added customizable pending_payment status when redirecting to the payment page.
  • Added the possibility to modify the "Success page" and cancel payment return URLs for PWA storefronts.
  • Added compatibility for the MagePrince ExtrafeePro extension. (Payment fees are now correctly displayed in the checkout)

Fixed

  • Fixed missing preselected flag for creditcard gateways
  • Fixed wrong default title in the config for American Express.
  • Fixed a checkout error when creditcard is preselected
  • Fixed a bug where recurring methods that are used for Magento Vault were always active

Changed

  • Code refactoring in the generic gateways and transaction shopping cart parts of the plugin for code improvement, readability and better performance.
  • Refactored the payment components by decreasing the amount of javascript files
  • Changed composer dependencies to support Magento 2.2.
  • Removed the recurring methods from the default preselected payment method list.

[2.4.0] - 2021-02-22

Added

  • Added generic gateway feature for the possibility to add a gateway, which you can customize yourself.
    For more information, please see our Magento 2 plugin docs .
  • Added Magento 2 Vault support for credit card payment methods. For more information about the Magento 2 Vault feature, please see Magento DevDocs
  • Added support for Magento 2 Instant Purchases (Works only for Vault supported payment methods). Please see the guide how to use and configure Magento 2 Instant purchase feature in Magento DevDocs

Changed

  • Code refactoring in big parts of the plugin for code improvement, readability and better performance

[2.3.1] - 2021-02-16

Added

ConnectCore [2.2.1]

Fixed

  • Fixed undefined index for AfterPay and in3
  • Fixed wrong api key being used for MultiSafepay requests with a multi store setup
  • Fixed wrong store locale being sent in orders that were created in the admin backend

ConnectAdminHtml [1.3.1]

Fixed

  • Alphabetically ordered the payment gateways in the 'Payment Gateways' tab and 'Default selected method' list

ConnectFrontend [1.3.1]

Fixed

  • Fixed wrong api key being used for MultiSafepay requests with a multi store setup
  • Fixed order status sometimes not going to processing after it has been invoiced

[2.3.0] - 2021-01-26

ConnectCore [2.2.0]

Added

  • Added support for Mageplaza Reward Points

Fixed

  • Fixed wrong store locale being sent in admin backend orders
  • Fixed Uncaught TypeError with string to float conversion for Fooman Surcharge
  • Fixed order e-mails not being sent in some cases for backend orders

Changed

  • Added retrieval of icons from local directory for Givacard, Wellness gift card and Winkel Cheque
  • Improved custom totals and added support for exclusions

ConnectAdminHtml [1.3.0]

Added

  • Added sensitive and environment types to configuration fields
  • Added configuration field for excluding custom totals

ConnectFrontend [1.3.0]

Added

  • Added function to restore quote when using back button on the MultiSafepay payment page
  • Added icons for Winkel Cheque, Wellness gift card and Givacard

Fixed

  • Fixed bug "Uncaught TypeError: Cannot read property 'observe' of undefined"
  • Fixed duplicate id's for birthday checkout field for in3 and AfterPay

Changed

  • Changed the way checkout fields are observed and default method is selected.
  • Updated Trustly logo to new branding standards

Removed

  • Removed duplicate check for sending invoice e-mail

[2.2.0] - 2020-12-10

ConnectCore [2.1.0]

Added

  • Added in3 payment method
  • Added support for preselected default payment method in the checkout

Fixed

  • IP Address is now filtered, preventing error when retrieving 2 ip addresses from the customer.
  • Fix error 'Type "" is not a known type.' when placing a backend order with a non-MultiSafepay payment method.

ConnectAdminHtml [1.2.0]

Added

  • Added configuration for in3 payment method
  • Add configuration option for choosing default preselected payment method in the checkout

ConnectFrontend [1.2.0]

Added

  • Added in3 to checkout
  • Added support for preselected default payment method in the checkout

[2.1.1] - 2020-11-30

ConnectCore [2.0.1]

Fixed

  • Fixed instantiation error of fileDriver interface in backend and after placing a transaction
  • Disabled Billing Suite payment methods for admin backend orders

ConnectAdminHtml [1.1.1]

Fixed

  • Fixed instantiation error of fileDriver interface in backend and after placing a transaction

[2.1.0] - 2020-11-11

ConnectCore [2.0.0]

Added

  • Added support for order currency
  • Added Good4Fun gift card
  • Added support for custom transaction description and custom refund description
  • Added MultiSafepay refund_id to the refund transaction in the Magento Payment.
  • Added http-factory-guzzle package as a dependency for PSR-17 factories
  • Added an event for adding or changing the transaction request data before it is sent to MultiSafepay
  • Added support for Magento 2.4.1 and PHP 7.4
  • Added delivery details to every transaction request
  • Added user-agent to every transaction request

Fixed

  • Trying to refund with 0 amount will now throw an error
  • Disable Second Chance for admin backend orders
  • Added support for all the street lines (Before only street line 1 and 2 were supported)
  • Added dependencies in module.xml and composer.json

Removed

  • Removed the use of pending_payment order status. For new orders, the 'new' order state will be used.
  • Removed version constant. Versions are now retrieved from the composer.json file
  • Removed custom factories to be replaced by http-factory-guzzle factories

Changed

  • Rebrand Klarna to the latest standards
  • Upgraded the PHP-SDK to version 4

ConnectAdminHtml [1.1.0]

Added

  • Added Good4Fun gift card to the gift cards configuration
  • Added custom description configuration fields
  • Added a section in the 'General Information' tab where all the MultiSafepay module versions can be found
  • Added a configuration option for using either the base currency or order currency

Fixed

  • Added dependencies in module.xml and composer.json
  • Removed setup_version from module
  • Enabled all configuration fields to be configured for seperate store views
  • Fixed the link to the Github CHANGELOG.md in the 'General Information' tab

Changed

  • Changed the config settings to 'Stores > Settings > Configuration > MultiSafepay' due to exceptionally large POST data
    on the 'Payment Methods' page
  • Rebrand Direct Bank Transfer to Request To Pay
  • Rebrand Klarna to the latest standards

ConnectFrontend [1.1.0]

Added

  • Added Good4Fun gift card to the checkout
  • Added missing gift card logos

Fixed

  • Fixed notification url leading to ReflectionException on some server configurations
  • Fixed error message when SecureToken parameters are missing
  • Added support for Magento terms and services checkbox agreement
  • Added dependencies in module.xml and composer.json
  • Removed setup_version from module
  • For some billing suite methods, an automatic invoice will not be sent anymore

Changed

  • Rebrand Klarna to the latest standards

ConnectMSI [1.0.1]

Fixed

  • Added dependencies in module.xml and composer.json

ConnectCatalogInventory [1.0.1]

Fixed

  • Added dependencies in module.xml and composer.json

Our plugin is supported by a certified Magento 2 Solution Specialist and receives regular updates for the latest features from Magento and MultiSafepay.

Prerequisites

  • MultiSafepay account
  • Magento Open Source version 2.3.6+ & 2.4.x or Adobe Commerce version 2.4.x (For GraphQL, only Magento Open Source versions 2.4.x are supported)
  • PHP 7.2+

Modules

Magento modules

The plugin consists of several Magento modules:

ModuleDescription
Multisafepay/magento2-core Provides core functionalities
Multisafepay/magento2-frontend Enables payment gateways in the Magento checkout
Multisafepay/magento2-adminhtml Enables/disables payment gateways, and changes settings in the Magento backend
Multisafepay/magento2-msi Handles stock when MSI is enabled
Multisafepay/magento2-catalog-inventory Handles stock when MSI is disabled
Multisafepay/magento2 Meta package that installs all the above
Multisafepay/magento2-graphql For GraphQL support, extends and adds GraphQL queries and mutations
Multisafepay/hyva-checkout Adds support for Hyvä Checkout
Module dependencies

The meta-package has a dependency on MSI. This means the MSI modules must be available (but not necessarily enabled) in your store.

If you have removed MSI (e.g. with a composer-replace trick like yireo/magento2-replace-inventory ), you can't install the meta-package. To integrate with MultiSafepay, instead of installing the meta-package, install the magento2-frontend module and the magento2-catalog-inventory module.

The magento2-frontend module has a dependency on the magento2-core and magento2-adminhtml modules, so they are all installed together. In some cases, you also then need a stock-handling module. Since MSI is not available, you can install the magento2-catalog-inventory module instead.

The installation process is the same for the Adobe Commerce version.

Installation

  1. We recommend installing the meta-package using Composer:

    composer require multisafepay/magento2
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
  2. To enable all modules, run in the Magento 2 root directory:

    ./bin/magento module:enable `./bin/magento module:status | grep MultiSafepay_`

Stock handling

When you disable MSI in Magento 2, you must also disable the MultiSafepay MSI module by running:

php bin/magento module:disable MultiSafepay_ConnectMSI

If you have a Magento 2 environment with MSI disabled, to enable the MultiSafepay CatalogInventory module instead, run:

php bin/magento module:enable MultiSafepay_ConnectCatalogInventory

Configuration

  1. Sign in to your Magento 2 backend.

  2. Go to Stores > Configuration > MultiSafepay.

    Specific settings
    • General information: Contains all the main support information. We recommend reading this first.
    • General settings: Contains all main settings.
    • Here you can configure all gateways and gift cards.
    • Enter your website API key. Ensure to use the correct API key for your environment (test or live).
    • Payment methods: Contains the configuration options for all MultiSafepay payment methods.
      • Make sure you have activated your selected payment methods in your MultiSafepay dashboard.
    • Gift cards: Contains the configuration options for all gift cards supported by MultiSafepay.
      • Make sure you have activated your selected gift cards in your MultiSafepay dashboard.
      • For more information, see Gift cards.


User guide

Checkouts

The plugin is compatible with most Magento checkouts. The supported checkouts are listed below:

CheckoutModule
Amasty One Step Checkout By default, Amasty One Step checkout is supported.
Hyvä React checkout Hyvä checkout module
MagePlaza One Step checkout By default, MagePlaza One Step checkout is supported.
Hyvä Checkout Hyvä Checkout module
OneStepCheckout.com By default, OneStepCheckout.com is supported.
Loki Checkout Loki Checkout module
⚠️

Note

We recommend testing compatibility with your configuration.

Custom totals

From version 1.9.0 and higher, all order totals from shopping cards are automatically read and displayed on MultiSafepay payment pages.

Sometimes this results in unwanted custom totals appearing on payment pages.

How to exclude custom totals from payment pages

  1. Sign in to your Magento 2 backend.
  2. Go to Stores > Configuration > MultiSafepay.
  3. Select General settings > Advanced settings > Exclude custom totals.

If you have included a custom total and it is not being read, make sure it implements the following methods:

  • getCode()
  • getTitle() or getLabel()
  • getValue() or getAmount() and getBaseAmount()
  • getTaxRate() or getBaseTaxRate()
  • getTaxAmount() or getBaseTaxAmount()

The base values are required if you have enabled the use base currency setting under MultiSafepay > General settings.

Custom URLs

How to set up custom URLs

  1. Sign in to your Magento 2 backend.
  2. Go to Stores > Configuration > MultiSafepay.
  3. Select General settings > Advanced settings.
  4. In the Use custom return urls field, select Yes.
  5. Enter your custom URL in either:
  • The Custom redirect url after canceling the payment field, or
  • The Custom "Success page" url field.
  1. Click Save Config.

Generic gateways

The plugin supports generic gateways, which allows you to add a payment method manually. This is particularly useful for integrating gift cards specific to your business.

Supported since release: 2.4.0, February 22nd 2021.

How to configure generic gateways for payment methods

  1. Sign in to your Magento 2 backend.
  2. Go to Stores > Configuration > MultiSafepay > Payment Gateways > Generic gateway.
  3. Set the relevant payment method gateway IDs and upload a custom gateway image.
  4. For BNPL orders, specify whether to include a shopping cart.
How to configure generic gateways for giftcards

  1. Sign in to your Magento 2 backend.
  2. Go to Stores > Configuration > MultiSafepay > Gift cards > Generic giftcard.
  3. Set the relevant payment method gateway IDs and upload a custom gateway image.
  4. For BNPL orders, specify whether to include a shopping cart.

Logs

How to download MultiSafepay logs

  1. Sign in to your Magento backend.
  2. Go to Stores > Configuration > MultiSafepay > General settings > MultiSafepay payment logs.
  3. Click Download.

You receive a ZIP package containing a system report file and any MultiSafepay log(s) stored in the /var/log directory.

Magento Vault and Instant Purchase

Magento Vault allows you to use Instant purchase , a feature that helps make repeat payments faster and easier, increasing your conversion rate.

To activate Magento Vault, and enable recurring payments , email a request to [email protected]

How it works

  1. After filling out their card number, CVC, and expiry date at checkout, customers can give permission to store these details for future payments.
  2. MultiSafepay encrypts the sensitive payment details and stores the encrypted version on our secure, GDPR compliant servers.
  3. We return a non-sensitive identifier for the payment details, known as a token, which can only be used in your Magento webshop.
  4. The token is automatically stored in your Magento Vault.
  5. For subsequent payments, the customer can simply click Instant purchase at checkout. They don't need to re-provide any details.
Mastercard and Visa requirements

You must:

  • Include a checkbox at checkout for customers to give permission to tokenize their payment details (provided as standard by Magento Vault).
  • Explain in your terms and conditions how you use and store their details.
  • Inform customers how they can delete stored payment details.
Vault security

If you host Magento yourself, the security of the vault depends on the security of your server.

However, the vault only contains tokens valid in your webshop. If your server is compromised, no actual payment details are at risk, only stored customer data.

Manual Capture

The Magento 2 integration supports Manual Capture from version 3.7.0 and up.

How to use manual capture in magento

It has been implemented for the following supported payment gateways:

  • Card payments
  • Maestro
  • Mastercard
  • Visa

For more information about Manual capture and how to enable it for your MultiSafepay account, please check our Manual capture https://docs.multisafepay.com/docs/manual-capture#integration instructions.

To enable Manual capture in your Magento environment:

  1. Go to Stores > Configuration > MultiSafepay > Payment Gateways
  2. Select a supported payment gateway, e.g. 'Card Payment'
  3. Select Enable Manual Capture > Yes

Please note that the full shipping amount will be captured whenever the first shipment has been made, even if it was just a partial shipment of the items. If the rest of the items in the order will not be shipped anymore, you can initiate a refund for the shipment costs of those items.

Order lifetimes

The default lifetime of Pending payment orders in Magento 2 is 480 minutes (8 hours). For payment methods with a longer authorization period, the order status changes to Cancelled after 8 hours.

How to extend order lifetimes

To extend the lifetime of pending payments orders, increase the Order Cron settings value to longer than the validation period.

For instructions, see Magento – Pending payment order lifetime .

Order requests

How to modify order requests

To modify an OrderRequest before a transaction is processed, create an observer based on the before_send_multisafepay_order_request event in the plugin.

For an example, see MultiSafepay GitHub – Magento 2 example module.

ERP systems

For ERP systems, if the order status is Declined, successful payments often fail to process for orders with Cancelled status.

The lifetime of bank transfers is 86400 minutes (60 days).

The order status in Magento 2 changes to Cancelled before the payment can be matched to the order.

Payment components

The plugin supports Payment Components, which:

  • Provide a seamless checkout experience to increase conversion.
  • Encrypt customer payment details for secure processing.
  • Shift responsibility for PCI DSS compliance to MultiSafepay.

Payment components are supported across all checkouts. See our list of checkout options for more details.

How to activate the payment component in your backend

  1. Sign in to your Magento 2 backend.
  2. Go to Stores > Configuration > MultiSafepay > Payment Gateways.
  3. Select the relevant payment methods and then click Configure.
  4. Click Payment type and select Card payment component.
  5. Click Save config.

⚠️ Note: If you have a custom checkout and encounter a conflict with the payment component, the Integration Team will do their best to provide support, but we can't guarantee compatibility in all cases.

A

Payment links

From version 2.0 and higher, payment links are automatically generated for every order.

How to fetch a payment link

To get a payment link for a customer, follow these steps:

  1. Sign in to your Magento 2 backend.
  2. Go to Sales > Orders > Create new order, and then create an order.
  3. Go to the Orders overview, and then select the newly created order.
  4. Go to Comments history.
  5. Under Notes for this order, copy the payment link.
  6. Send the payment link to the customer.
How to add payment links to order confirmation emails

  1. Sign in to your Magento 2 backend.
  2. Go to Marketing > Email templates.
  3. Under New order, import a template.
  4. Add the following code snippet to the template:
{{depend order.getPayment().getAdditionalInformation('payment_link')}}
<a href="{{var order.getPayment().getAdditionalInformation('payment_link')}}">Pay now with {{var order.getPayment().getAdditionalInformation('method_title')}}</a>
{{/depend}}

Backend emails

To add payment links to order confirmation emails from your Magento backend, you can use the payment_link variable and an if/else statement in the template.

Frontend emails

You cannot add payment links to order confirmation emails created in your frontend, but you can display the name of the payment method:

{{if payment_link}}
<a href="{{var payment_link}}">Pay now with {{var order.payment.additional_information.method_title}}</a>
{{else}}
<p>{{var order.payment.additional_information.method_title}}</p>
{{/if}}
  1. Go to Stores > Configuration > Sales > Sales emails.
  2. Replace the New order confirmation template with your template.
  3. Test the template to confirm it is working.

  💡 Tip! You can also implement this directly in the email template files.

Payment methods

Supported payment methods

  • Cards: All
  • Banking methods: All
  • BNPL: All
  • Wallets: All
  • Prepaid cards:
    • Baby gift card
    • Beauty and Wellness gift card
    • Boekenbon
    • Edenred
    • Fashioncheque
    • Fashion gift card
    • Fietsenbon
    • Gezondheidsbon
    • Givacard
    • Good4fun
    • Goodcard
    • Nationale tuinbon
    • Paysafecard
    • Parfumcadeaukaart
    • Podium
    • Sport en Fit
    • VVV gift card
    • Webshop gift card
    • Wellness gift card
    • Wijncadeau
    • Winkelcheque
    • Yourgift

Progressive web apps

The plugin is compatible with GraphQL queries and can be integrated into PWA stores using an additional GraphQL support module .

We also offer full extensions for ScandiPWA and Vue Storefront.

Refunds

Refund rules

PlatformSupported refunds
MultiSafepay dashboardFull and partial refunds
Orders with Fooman surcharges
Orders from the deprecated plugin
⚠️ Note: Credit memos are not generated
BackendFull and partial refunds, and credit memos
You can't refund more than the original amount in your backend
APISee Refund order > BNPL refund
PATCH requests not supported
How to process refunds

To process backend refunds:

  1. Sign in to your Magento 2 backend.
  2. On the Invoices tab, click the invoice created by MultiSafepay, and then click Credit memo.
  3. Click the relevant refund button:
    • Offline refund: Doesn't send a refund request to MultiSafepay.
    • Refund: Sends a refund request to MultiSafepay.

To process refunds via the REST API:

  1. Use the following endpoint in your request:
POST V1/invoice/:invoiceId/refund

For more information, see Magento REST API - Refunds

  1. Add is_online parameter to the JSON body:
"is_online": true

Second Chance

Second Chance emails are sent 1 hour and 24 hours after orders are created. By default, the order status changes from Pending payment to Cancelled after 8 hours (480 minutes).

If the customer pays via the second email (24 hours later), the payment is processed but the transaction update may not be handled correctly in Magento 2 because the order has expired. This may cause issues with external services, e.g. ERP/inventory management, if items are low in stock, or for one-off products like antiques.

To avoid this, match the order lifetime to the payment link lifetime.

See Order lifetimes above.

  💡 Tip! We recommend setting order lifetimes to 2 days (2880 minutes) to allow enough time for the customer to pay, but avoid issues with external services.

How to set payment link lifetimes

  1. Sign in to your Magento 2 backend.
  2. Go to Stores > Configuration > MultiSafepay > Payment gateways, and select the relevant gateway.
  3. Go to Custom payment link lifetime, select Pending payment order lifetime, and set to 2880 minutes.

Shipping orders

When you ship BNPL orders, you need to change the order status from Completed to Shipped. This prevents the order expiring and triggers invoicing.

If you do so in your Magento 2 backend, the updated status is passed to your MultiSafepay dashboard automatically.

Surcharges

The plugin does not support surcharges, but you can use third-party service Fooman to apply them.

How to use Fooman for surcharges

To apply a surcharge or payment fee to a payment method, you can use the third-party Fooman package.

Refunds

You can refund orders with a Fooman surcharge applied in your MultiSafepay dashboard, but not from your Magento 2 backend.

BNPL orders

For Dutch merchants, We strongly recommend not applying surcharges to BNPL orders. This is now considered providing credit under the Wet op het consumentenkrediet and article 7:57 of the Burgerlijk Wetboek, and requires a permit from the Authority for Financial Markets (AFM).

Support

The Integration Team will do their best to support you with installing Fooman, but bear in mind that it is a third-party package. We can't guarantee perfect compatibility.

Tax settings

How to configure Magento tax settings

To configure tax settings in Magento, go to Stores > Configuration > Sales > Tax > Calculation settings.

Recommended tax settings

To avoid discrepancies between item amounts in MultiSafepay transactions and Magento orders, we recommend using the following tax settings in Magento.

To show prices excluding tax, use the following settings:

  • Tax calculation method based on: Row total
  • Catalog prices: Excluding tax
  • Apply customer tax: After discount
  • Apply discount on prices: Excluding tax

To show prices including tax, use the following settings:

  • Tax calculation method based on: Row total
  • Catalog prices: Including tax
  • Apply customer tax: After discount
  • Apply discount on prices: Including tax

These recommended settings are based on Magento's standards. For more information, see Magento – Warning messages .

Updates

You can update the plugin via Composer .

How to update

  1. Make sure you have a backup of your production environment, and that you test the plugin in a staging environment.
  2. Sign in to your Magento 2 backend.
  3. Run the following commands via the CLI:

    composer update multisafepay/magento2 --with-all-dependencies
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
  4. Depending on your web server/webshop configuration, you may also need to:
    • Check the 'rights' on files are correct. For the MultiSafepay files, see vendor/multisafepay.
    • Empty static files when running in production mode.
    • Clear your cache.

Troubleshooting

How to troubleshoot Magento 2 issues

Order Status Update

If you experience issues with order statuses not being updated correctly (e.g., incongruous pending and processing), this might happen randomly and be difficult to replicate. This is generally caused by third-party solutions interfering in the order processing flow and the observer being based on a different instance of the order object.

Tip: This issue might appear after upgrading to our latest plugin version, possibly due to faster notification processing times surfacing an already existing update conflict.

To debug this issue on your side:

  1. Set to debug mode.
  2. Use our Order Save Inspector to check which module might interfere (for example, delivery software, ERP).

💬

Support

Contact MultiSafepay:

Support

The Integration Team will do their best to support you with installing Fooman, but bear in mind that it is a third-party package. We can't guarantee perfect compatibility.

Tax settings

How to configure Magento tax settings

To configure tax settings in Magento, go to Stores > Configuration > Sales > Tax > Calculation settings.

Recommended tax settings

To avoid discrepancies between item amounts in MultiSafepay transactions and Magento orders, we recommend using the following tax settings in Magento.

To show prices excluding tax, use the following settings:

  • Tax calculation method based on: Row total
  • Catalog prices: Excluding tax
  • Apply customer tax: After discount
  • Apply discount on prices: Excluding tax

To show prices including tax, use the following settings:

  • Tax calculation method based on: Row total
  • Catalog prices: Including tax
  • Apply customer tax: After discount
  • Apply discount on prices: Including tax

These recommended settings are based on Magento's standards. For more information, see Magento – Warning messages .

Updates

You can update the plugin via Composer .

How to update

  1. Make sure you have a backup of your production environment, and that you test the plugin in a staging environment.
  2. Sign in to your Magento 2 backend.
  3. Run the following commands via the CLI:

    composer update multisafepay/magento2 --with-all-dependencies
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
  4. Depending on your web server/webshop configuration, you may also need to:
    • Check the 'rights' on files are correct. For the MultiSafepay files, see vendor/multisafepay.
    • Empty static files when running in production mode.
    • Clear your cache.

Troubleshooting

How to troubleshoot Magento 2 issues

Order Status Update

If you experience issues with order statuses not being updated correctly (e.g., incongruous pending and processing), this might happen randomly and be difficult to replicate. This is generally caused by third-party solutions interfering in the order processing flow and the observer being based on a different instance of the order object.

Tip: This issue might appear after upgrading to our latest plugin version, possibly due to faster notification processing times surfacing an already existing update conflict.

To debug this issue on your side:

  1. Set to debug mode.
  2. Use our Order Save Inspector to check which module might interfere (for example, delivery software, ERP).

💬

Support

Contact MultiSafepay:


Did this page help you?