Skip to main content

Installation

What it does​

Install EU Withdrawal with Composer and get the withdrawal workflow into your store. After installing, you find it in the admin under Sales → Withdrawals, and its settings under Stores → Configuration → MageMe Extensions → EU Withdrawal.

Before you start​

  • Magento Open Source or Adobe Commerce 2.4.4 to 2.4.9, on PHP 8.1, 8.2, 8.3, 8.4 or 8.5. Older versions, such as Magento 2.4.3 or PHP 7.4, are not supported. See Compatibility.
  • Command-line access to your Magento root folder, and Composer.
  • A backup of your database and files. Install on a staging copy of your store first if you have one.
  • Magento cron set up and running. The module sends the receipt, the waiver confirmation and the overdue-refund digest from background jobs.
  • For Pro: the access keys for the MageMe Composer repository that came with your purchase. See Free vs Pro.

Steps​

Run every command in your Magento root folder.

Install the free module​

  1. Install the package, switch the module on and update the database:

    composer require mageme/module-eu-withdrawal
    bin/magento module:enable MageMe_Core MageMe_EUWithdrawal
    bin/magento setup:upgrade
    bin/magento cache:flush

    Composer also installs MageMe Core, which the module needs. You don't need a licence key for the free module.

On Luma and Breeze storefronts, continue with production mode.

Packages for a Hyvä storefront​

If your storefront uses a Hyvä theme, add the Hyvä package. It shows the withdrawal steps and the withdrawal card on the order page in Hyvä's own style. It needs the Hyvä theme module 1.3.11 or later.

  1. Install the package:

    composer require mageme/module-eu-withdrawal-hyva
    bin/magento module:enable Hyva_MageMeEUWithdrawal
    bin/magento setup:upgrade
    bin/magento cache:flush
  2. Rebuild your Hyvä theme's styles so the new pages get their styling:

    # in the web/tailwind folder of your Hyvä theme
    npm run build

Package for Hyvä Checkout​

If your checkout is Hyvä Checkout, also add the Hyvä Checkout package. It shows the pre-contract information and the waiver step for digital content in Hyvä Checkout. It needs Hyvä Checkout 1.3 or 3.x.

  1. Install the package:

    composer require mageme/module-eu-withdrawal-hyva-checkout
    bin/magento module:enable Hyva_MageMeEUWithdrawalCheckout
    bin/magento setup:upgrade
    bin/magento cache:flush
  2. Rebuild your Hyvä theme's styles, as for the Hyvä package above.

Add the Pro repository​

Pro comes from the MageMe Composer repository, not from Packagist. Install the free module first, then add the repository once:

composer config repositories.mageme composer https://repo.mageme.com

Composer asks for the access keys from your purchase. The nine Pro packages, the two extra Hyvä packages for Pro and the licence key are on Activate Pro. Install them from there, then come back for production mode and cron.

In production mode, compile at the end​

If your store runs in production mode, compile and deploy the static files once, after all packages you need are installed (free, Hyvä and Pro):

bin/magento setup:di:compile
bin/magento setup:static-content:deploy

Make sure cron and the queue consumers run​

The module runs four background jobs through Magento cron:

  • every minute, it sends receipts that are due for another try;
  • every minute, it sends digital-content waiver confirmations that are due for another try;
  • every hour, it deletes unused waiver records left over from checkouts that never became orders;
  • once a day, it sends the overdue refund digest.

It also uses two queue consumers: one sends receipts, the other sends waiver confirmations. By default, Magento cron starts them. If your host turns that off, run the two consumers as permanent processes instead:

bin/magento queue:consumers:start eu_withdrawal_receipt_send_consumer
bin/magento queue:consumers:start eu_withdrawal_waiver_confirmation_send_consumer

If neither cron nor the consumers run, receipt emails are not sent. See Cron, queues and email delivery.

Check the installation​

  1. Go to Sales → Withdrawals.

    The Sales menu open in the admin, with the Withdrawals block: Withdrawal Requests, Auto-Approval Rules, Auto-Approval History and Settings.

    With the free module, the block has Withdrawal Requests and Settings. With Pro, it also has Auto-Approval Rules and Auto-Approval History, as in the screenshot.

What you should see​

Sales → Withdrawals appears in the admin menu, and Stores → Configuration → MageMe Extensions → EU Withdrawal opens the settings. Customers don't see anything yet: you switch the module on after you set it up. See Quick start.

Limits​

  • The free module and the Hyvä package come from Packagist. Pro packages come only from the MageMe Composer repository.

Troubleshooting​

What's next​

  • Activate Pro: install the Pro packages and enter your licence key, if you bought Pro.
  • Quick start: set up the module, switch it on and handle a first test request.
  • Going-live checklist: check everything before real customers use it.

Last reviewed November 28, 2026