Magic Link
What it does
Give the customer a personal link in the order confirmation and shipment emails that opens the withdrawal for their order directly, without signing in and without the order lookup. You set it in Stores → Configuration → MageMe Extensions → EU Withdrawal, group Magic Link. Magic Link is part of Pro. See What Pro adds.
Before you start
- Pro is installed and active. See Activate Pro.
- Your order confirmation and shipment emails use the module's templates with the withdrawal link. See Withdrawal link in order and shipment emails.
What a magic link does
Without Pro, the button in the email opens your withdrawal page, where the customer finds the order first. With Magic Link on, each email gets a link of its own for that order. The link carries a long random code that only the recipient of the email has. The module keeps only a fingerprint of the code, not the code itself.
Steps
-
Go to Stores → Configuration → MageMe Extensions → EU Withdrawal.
-
If your store has several websites or store views, choose the one you set up in the scope switcher at the top of the page. Clear Use Website or Use Default next to a field to edit it.
-
Expand Magic Link.
-
Set Enable Magic Link to Yes. It is Yes when installed.
-
In Token Lifetime (days), enter how many days a link works. The default is 30.

-
Click Save Config.
What the guest sees
The customer clicks the button in the email. The withdrawal page opens at the Select Items step of that order, with no order number or email address to enter. From there the steps are the same as for any withdrawal. See Withdrawing from an order, step by step.
How long a link works
A link works for the number of days in Token Lifetime (days), counted from the moment the email was sent. It can be opened as often as needed in that time. A changed lifetime applies to links sent from then on; links already sent keep their own end date.
When a link has expired, or is incomplete because the email client cut it, the withdrawal page opens at its first step instead: a guest enters the order number and email address, a signed-in customer picks the order. See Guest lookup without an account.
What you should see
The next order confirmation or shipment email has the Right of withdrawal box. Its button opens the order directly, as described in What the guest sees.
Limits
- A link opens the withdrawal for its order only. It does not sign the customer in and shows nothing else of the account.
- Anyone who has the email can use the link while it works, for example someone the customer forwarded it to.
- There is no button to cancel a single link. A link stops working at the end of its lifetime. Setting Enable Magic Link to No stops new links, but links already sent keep working until they expire.
- The withdrawal itself is checked when the page opens: an order outside the withdrawal period gets the same answer as through any other way in.
- With Audit, the module records when a link is created and when it is first opened. See Audit.
Troubleshooting
- The button opens the order lookup instead of the order. The link has expired, or the email client changed it. The customer can still find the order with the order number and email address.
- The emails have no withdrawal box at all. The order and shipment templates of the module are not selected. See Withdrawal link in order and shipment emails and Links in emails do not work.
What's next
- Settings: Magic Link: both fields of the group.
- Withdrawal link in order and shipment emails: where the link appears.
- Receipt Verify: let customers check their receipt later.