Skip to main content

Settings: Magic Link (Pro)

Overview​

The Magic Link group controls the Pro one-click withdrawal link in order and shipment emails, and how long the link stays valid. You find it in Stores → Configuration → MageMe Extensions → EU Withdrawal, group Magic Link. These settings appear only when the Pro bundle is installed. The link appears only in order and shipment emails that use the module's own templates: they are not selected when installed, see Withdrawal link in order and shipment emails. See What Pro adds.

How the link works is on Magic Link. Where it appears is on Withdrawal link in order and shipment emails.

Settings​

Setting Scope Default Description
Enable Magic Link Store View Yes When enabled, the withdrawal CTA in order/shipment confirmation emails uses a one-click ?t=TOKEN URL (lifetime configurable below). When disabled, the CTA falls back to the lookup-form URL /withdraw-contract/ (the base module default) — customers enter their order number + email manually. Tokens already issued keep resolving until their lifetime expires; toggling this flag does not revoke active tokens.
Token Lifetime (days) Store View 30 How many days a ?t=TOKEN link in the order/shipment email stays valid. Default 30 — enough to cover the typical EU timeline of shipment plus the 14-day post-delivery withdrawal window, so a customer opening an old email can still use the one-click link. The new value applies only to tokens issued from now on; previously issued tokens keep their original expiry.

Notes​

When Enable Magic Link is No, the emails link to the order lookup form instead. If a link does not work, see Links in emails do not work.

Last reviewed November 4, 2026