Returns Portal: Guest Returns & Return Labels DHL, UPS, DPD, GLS
Returns portal for your shop: customers and guests register returns with order number and postcode. The label from DHL, UPS, DPD or GLS comes from your own carrier contract.
On this page
- Introduction
- What you achieve with this plugin
- Who is this plugin for?
- Installation
- Getting Started
- Settings
- General: period, identification and approval
- Portal: entry points, photos and protection
- Withdrawal
- Return address
- Carriers, stock & refund, privacy
- Refund by bank transfer: account and payment methods
- Store credit: offer and validity
- How to set up the carriers
- General: which carrier applies when
- Testing the connection
- DHL
- UPS
- GLS
- DPD
- How to process returns in the administration
- The returns list
- How to create a return yourself
- The detail page of a return
- How to record the goods receipt
- How to create a credit note and a refund
- How to refund through PayPal, Mollie or Klarna
- How to refund by bank transfer
- How to refund as store credit
- Following the history
- Maintaining return reasons
- Evaluating the figures
- Returns at the order
- How to automate processes and embed the form
- Flow Builder: triggers and actions
- Rule Builder: conditions
- The returns form in Shopping Experiences
- Adjusting the email templates
- How your customers register a return
- As a guest on the portal page
- Via the customer account
- Returns in the customer account
- The status page
- Choosing money back or store credit
- Entering the bank details for a refund
- Redeeming a store credit code
- Withdrawing from a contract
- On a smartphone
- Troubleshooting
- A carrier is not offered in the portal
- The label was not created
- DPD no longer signs in
- The DPD verification cannot be prepared or sent
- GLS rejects the contact ID or reports no ShopReturn service
- The connection test reports rejected access data
- The customer cannot find their order
- Portal, footer link or entry in the customer account are missing
- The label reaches the customer very late
- The credit note cannot be created
- The payment provider did not refund
- The refund dialog does not offer a bank transfer
- The email with the bank details link does not arrive
- The SEPA file is not created
- The payment state does not change after “Mark as transferred”
- The email with the store credit code does not arrive
- The customer cannot redeem their store credit code
- ”Too many attempts” appears when redeeming
- The “Redeem store credit code” field is missing
- An order with store credit cannot be completed
- A return cannot be deleted
- The invoice shows less VAT for orders with store credit
- All settings
- General
- Portal
- Withdrawal
- Return address
- Stock & refund
- Refund by bank transfer
- Store credit
- Privacy
- FAQ
- For Administrators / Technical Details
- System requirements
- Installation via the command line
- Direct link in email templates
- Privacy and access data
- Permissions
- Database tables
- Connecting an ERP system
- Store API for headless frontends
- Updates and flows
Introduction
The returns portal helps you handle returns without back-and-forth emails: your customers register returns themselves in your shop, and the return label comes from your own contract with DHL, UPS, DPD Germany or GLS.
What you achieve with this plugin
- Your customers register returns themselves. Guests only need their order number and postcode, no customer account.
- Logged-in customers start the return directly from their order in the customer account.
- The return label is created automatically through your own carrier contract. The plugin charges no fee per return.
- With DHL, senders in Germany also receive a QR code and can hand in the parcel without a printer.
- Your customers see the progress of their return and their refund on a status page of its own, and logged-in customers see all their returns together under Returns in the customer account.
- You record goods receipt, stock, credit note and refund directly at the return.
- For prepayment, invoice and cash on delivery you refund by bank transfer: your customer enters their bank details through a secure link, and you submit all refunds to your bank together as one SEPA file.
- If you wish, you refund a return as a store credit code. Your customer redeems it with their next order, in full or in part, and any remaining balance stays on the code.
- The figures show you which products come back most often and why.
- Your customers can also withdraw from a contract in the portal and receive a confirmation of receipt by email.
Who is this plugin for?
For shop owners who want to handle returns from within their own shop without booking an additional returns service. For each carrier you want to use, you need your own business customer contract with access data. The portal also works without a carrier: your customers register the return and receive the instructions for sending it back by email.
Installation
After the purchase the plugin is available directly in your administration — you do not need to download anything.
- Log in to your Shopware administration (
YourShop.com/admin). - Open Extensions → My extensions.
- Next to Returns Portal: Guest Returns & Return Labels DHL, UPS, DPD, GLS, click Install.
- Activate the plugin with the switch next to the entry — done.
Fig. 1: The plugin under Extensions → My extensions, with the switch on and the “Configure” link
If the plugin does not appear in the list, your Shopware account is not yet connected to the shop. You can do this under Extensions → My extensions by signing in with your Shopware account.
The installation already creates everything you need to start: seven return reasons, nine email templates and the matching flows in the Flow Builder that send these emails.
When updating: If you update the plugin from a version without refund by bank transfer and store credit, the update creates the two new email templates Bank details for refund requested and Return refunded as store credit together with their flows and switches these flows on right away. Without them your customer learns neither about the request for their bank details nor about their store credit code.
Getting Started
- Open the settings: Under Extensions → My extensions, click Configure next to the plugin.
- Enter the return address: In the Return address card, enter where the parcels are sent back to. This address appears on the label and the return slip.
- Check the period: In the General card, use Return period (days) and Period starts on to set how long your customers may register a return.
- Set up a carrier: In the Carriers card, click Open carrier settings, enter your carrier’s access data and test the connection (see How to set up the carriers).
- Click Save.
- Check the result: Open your shop. The footer now shows the link Register a return. It leads to the portal page where your customers enter their order number and postcode.
Tip: Leave the carrier’s Use sandbox switch on at first and run a return through with a test order. Labels from the sandbox are not valid for shipping. Switch the sandbox off only when everything works.
Settings
You find the settings under Extensions → My extensions → Configure for the returns portal. At the top, use Sales channel to select which shop the values apply to. With All sales channels, the values apply everywhere, as long as a sales channel has no value of its own. This lets you configure each sales channel differently.
The Open documentation button takes you to this manual at any time.
General: period, identification and approval
Fig. 2: The General card of the plugin configuration
Enable plugin for this sales channel
This switch decides whether the returns portal works in the selected sales channel. It is on by default. When you switch it off, the portal, the footer link, the entry in the action menu of the orders and the page Returns in the customer account disappear from this shop without uninstalling the plugin. If you run a B2B and a B2C shop, for example, you use the portal only where you need it.
Return period (days)
Enter how many days your customers have to register a return. The preset is 14 days. When the period has expired, the portal tells your customer so and no longer accepts a registration. In the administration you can still create the return.
Period starts on
Choose when the period starts: Shipping date, Delivery date (shipping date + transit time) or Order date. The preset is the shipping date. Shopware does not record the actual delivery day. “Delivery date” therefore means the shipping date plus the transit time from the next field. Orders without a shipping date count from the order date.
Transit time until delivery (days)
These days are added to the shipping date when the period starts on the delivery date. The preset is 3 days.
Postcode used for identification
Guests identify themselves with order number and postcode. Here you choose which address of the order the postcode is compared with: Billing address, Shipping address or Billing or shipping address. The last option is preset and is the most convenient for your customers.
Additionally require email address
When switched on, guests also have to enter the email address of the order. This makes guessing other people’s order data harder. The switch is off by default.
Approval required and Approval from goods value
Here you decide whether you have to approve a return before your customer receives a label:
- Never — the label is created right after the registration (preset).
- Always — every return waits for your approval.
- From a goods value — only returns from the gross goods value in Approval from goods value wait for you. The preset is 250.
In addition, each return reason can require an approval (see Maintaining return reasons).
Why this is useful: With high-value goods you look at the return and its photos before a label that costs money is created.
Show prices in the portal
When switched on, your customers see the unit price and total of each item in the item selection and on the status page, as stated in the order. When switched off, they see pictures, names and quantities only. The switch is on by default.
Portal: entry points, photos and protection
Fig. 3: The Portal card and the start of the Withdrawal card
Show entry link in footer
Adds the link Register a return to the service area of your shop’s footer. On by default.
Entry in the action menu under “My orders”
Logged-in customers start a return from the action menu of an order in their customer account and stay inside the account while doing so. On by default. The page Returns in the customer account does not depend on this switch; it only disappears with Enable plugin for this sales channel.
Provide direct link for emails
Provides a link in your order emails that opens the portal directly for that order — your customer does not have to type in order number and postcode. On by default. For the link to appear in an email, add it to the template of your choice, for example the shipping confirmation (see For Administrators / Technical Details).
Portal URL per language
Here you set the address of the portal page in each language. With Add entry you choose a language and enter the path, for example “send-back”. Lowercase letters, digits and hyphens are allowed. Without an entry, the default of the language applies: “retoure”, “returns” or “retour”.
Allow photo upload, Photos per item (max.) and Maximum photo size (MB)
Your customers can upload photos for each returned item, for example of a damage. The presets are at most 3 photos per item of at most 8 MB. JPEG, PNG and WebP are accepted. Individual return reasons can make a photo mandatory.
Captcha on the form
Protects the order lookup form with the captchas that are active for this sales channel in the basic information. Off by default. Switch it on if you see many automated requests on the form.
Rules for non-returnable items
Select rules from the Rule Builder here. Items matched by one of these rules cannot be returned — useful for hygiene products or vouchers, for example. You can exclude single products more easily on the product itself: its custom fields contain the field Not returnable. Variants inherit the value of the main product.
Withdrawal
Fig. 4: The Withdrawal and Return address cards
Enable withdrawal function in the portal
Offers the two-step withdrawal from a contract on the portal page. On by default. The plugin provides the process and editable texts, not legal advice. Have the texts checked by your legal advisor.
Show withdrawal link in footer
Adds a withdrawal button of its own to the footer. Off by default. Leave it switched off if the withdrawal button of Shopware already appears there — otherwise there are two buttons in the footer.
Withdrawal button label
Here you can change the text of the withdrawal button. The text applies to the whole sales channel, not per language. If your shop has several languages, leave the field empty and maintain the text snippet instead.
Adopt withdrawals from the Shopware form
When a customer sends a withdrawal with the withdrawal form of Shopware, the plugin adds it to your returns if contract number and email address match an order. On by default. This keeps all withdrawals in one place.
Return address
Enter Name, Company, Street and house number, Postcode, City and Country of the address your customers send their returns to. It appears on the label and the return slip. The plugin passes Phone and Email to the carrier for queries and notifications about the parcel.
Important: Without a complete return address no label can be created. With GLS, even the connection test needs the postcode of this address.
Carriers, stock & refund, privacy
Fig. 5: The link to the carrier settings and the Stock & refund and Privacy cards
Carriers
You do not set up the carriers here but on a page of their own. The Open carrier settings button takes you there directly (see How to set up the carriers).
Restock on receipt (“flawless” only)
Items you record as flawless at goods receipt go back into stock automatically. Damaged or missing items are never restocked. Off by default. If your ERP system manages the stock, leave the switch off — otherwise the stock is booked twice.
Prepare credit note automatically
Prepares a credit note for the flawless items at goods receipt. An invoice for the order must already exist. Off by default.
Refund through PayPal, Mollie and Klarna
When the PayPal plugin (PayPal Products for Shopware 6), the Mollie plugin or the Klarna plugin (Klarna Checkout and Klarna Payments) is installed and active, Request refund refunds orders paid with it directly through that plugin. On by default. Switched off, the dialog treats these orders as before version 6.7.0: nothing is refunded through the provider. More under How to refund through PayPal, Mollie or Klarna.
Photo retention (days) and Label retention (days)
The plugin deletes customer photos this many days after the return has been closed, and labels and QR codes this many days after delivery or after closing. The presets are 180 days for photos and 90 days for labels, the maximum is 180 days. This way you keep data only as long as you need it.
Refund by bank transfer: account and payment methods
The Refund by bank transfer card is located between Stock & refund and Privacy. How to create and carry out a bank transfer is described in How to refund by bank transfer.
Fig. 34: The Stock & refund card (with the switch “Refund through PayPal, Mollie and Klarna”), Refund by bank transfer and Store credit cards
Refund by bank transfer
In Shopware, prepayment, invoice and cash on delivery work without a payment provider, so nobody pays the money back automatically. With this switch, Request refund creates a bank transfer for such orders. You download open transfers as a SEPA file, submit it to your bank and then mark the transfers as transferred. Only then does the payment state of the order change to refunded. On by default.
Payment methods refunded by bank transfer
Here you choose for which payment methods the plugin refunds by bank transfer. The Shopware payment methods for prepayment, invoice and cash on delivery are preselected. You can add direct debit. Payment methods that refund through a payment provider do not belong here.
Validity of the bank details link (days)
When you ask your customer for their bank details by email, they receive a secure link. Here you set for how many days this link is valid. The preset is 14 days; 1 to 60 days are possible. You can send a new link at any time.
Name of the debtor account, IBAN of the debtor account and BIC of the debtor account (optional)
Here you enter your shop’s account the refunds are paid from. Write the name the way your bank holds the account holder, with at most 70 characters. The plugin writes out umlauts in the SEPA file. The account must be in the SEPA area. You only need the BIC if your bank asks for it. Without a valid account no SEPA file is created, and the list of bank transfers points this out to you.
What this is good for: If each sales channel has its own account, you enter it per sales channel. Sales channels with the same IBAN share one payment block in the SEPA file.
Store credit: offer and validity
The Store credit card follows directly after Refund by bank transfer. How to issue a store credit is described in How to refund as store credit.
Refund offer in the returns portal
Here you decide per sales channel whether your customers can choose a store credit code instead of their money when registering a return:
- Refund only — the portal does not ask; your customer gets their money back (default).
- Customer chooses — your customer chooses between Money back and Store credit code. Money back is preselected; they have to choose the store credit actively.
- Store credit only (with consent) — the portal offers store credit only, and your customer has to agree explicitly. The portal always shows the way to the withdrawal, through which they get their money back.
Regardless of this setting you can refund any return as store credit in the administration.
Important: If your customer withdraws from a contract, they are entitled to their money. Store credit instead of a refund is only allowed with their express consent. Have the setting and the texts in the portal checked by your legal adviser.
Validity of a store credit code (months)
Here you set how long a store credit code is valid: until the end of the day that lies this many months after it was issued. The preset is 36 months; 1 to 120 months are possible. A validity below 36 months is legally contestable.
What this is good for: Store credit keeps the revenue in your shop. Your customer receives the amount by email right away and uses it with their next order.
Note for shops on several servers: So that two simultaneous orders cannot redeem the same store credit twice, the plugin locks a store credit code while it is being redeemed. If your shop runs on more than one application server, Shopware’s lock store (Symfony Lock) must be shared by all servers, e.g. Redis or the database. With the default (a file lock on each server separately), the lock only works on one server. With a single server there is nothing to do.
How to set up the carriers
What this gives you: Once a carrier is set up, your customer automatically receives a return label as a PDF after registering, also by email. You no longer create labels by hand in the carrier’s customer portal.
You find the carrier settings under Settings → Extensions → Returns portal: Carriers or via Open carrier settings in the plugin configuration. The page has the Sales channel selection at the top and below it the tabs General, DHL, UPS, GLS and DPD.
Important: For each carrier you need your own business customer contract and your own access data. The plugin creates labels only through your contract. What a parcel costs is set by your contract with the carrier.
Without a selected sales channel you edit the values for all sales channels. A selected sales channel inherits these values until you enter a value of its own there. Access data is shown masked in the interface.
General: which carrier applies when
Fig. 6: The General tab of the carrier settings
- Default carrier: this carrier applies when no country mapping matches. With No carrier, your customer receives no label, only the instructions for sending the parcel back by email, and sends it at their own expense.
- Customer may choose: when switched on, your customer chooses in the portal between all carriers available for their country — that is enabled, fully set up and, for GLS and DPD, listed under Sender countries for returns. If only one is available, it is used without a choice.
- Mapping delivery country → carrier: with Add entry you assign a carrier to single delivery countries, for example Germany to DHL and Austria to GLS. Countries without an entry use the default carrier.
- Default parcel weight (kg): this weight is used on the label when the returned items carry no weight. The preset is 1 kg.
Testing the connection
Below the fields of each carrier tab you find Save and test connection. The button first saves all changes on the page and then signs in at the carrier with the stored access data. No label is created and no shipment is registered. Without a selected sales channel the values for all sales channels are tested. If a sales channel has its own values, select it at the top to test them. If everything works, Connection successful appears.
This page requires the permission Set up carriers and test access in the role of your administration user. If it is missing, the plugin configuration shows a notice.
DHL
Fig. 7: The DHL tab (the values in the picture are placeholders)
Where the access data comes from: You need an app in the DHL developer portal, your access to the DHL business customer portal and a returns agreement with DHL, which provides the receiver IDs.
How to fill in the tab:
- Switch on Enable DHL. Only then is data sent to DHL.
- Leave Use sandbox on for tests. Switch it off for live operation.
- Enter the API key (client ID) and API secret of your app from the DHL developer portal.
- Enter the Business customer user and Password of your DHL business customer portal.
- Under Receiver ID per sender country, use Add entry to add the receiver ID from your DHL returns agreement for each country your customers send returns from. Without a receiver ID for a country, no label is created for senders from that country.
- Leave Offer QR code (mobile return) on if your customers should be able to hand in parcels without a printer. DHL offers the QR code for senders in Germany only.
- Click Save and test connection.
UPS
Fig. 8: The UPS tab (the values in the picture are placeholders)
Where the access data comes from: You need an app in the UPS developer portal and a UPS account number that the return shipments are billed to.
How to fill in the tab:
- Switch on Enable UPS.
- Leave Use sandbox on for tests.
- Enter the Client ID and Client secret of your app from the UPS developer portal.
- Enter your UPS account number.
- Choose the Label type: with Printable label, your customer downloads the label in the portal. With Label by email from UPS, UPS sends the label to your customer itself.
- Choose the UPS service: UPS Standard, UPS Saver, UPS Express or UPS Expedited. Which services are available depends on your UPS contract and the sender country.
- Click Save and test connection.
GLS
Fig. 9: The GLS tab with access via the GLS Developer Portal (the values in the picture are placeholders)
Where the access data comes from: You need a GLS contract with the ShopReturn service enabled and the Contact ID of your shipping account. The contact ID is not the client ID of an app. It is in your GLS contract documents or comes from your GLS contact. In addition, choose one of two kinds of access:
- GLS Developer Portal (client ID/secret) — an app in the GLS Developer Portal, approved for “Authentication API v2” and “ShipIT-Farm API v1”. GLS must assign your depot’s contact ID to your app, otherwise GLS rejects the contact ID for this access data.
- ShipIT web service (user/password) — user, password and endpoint address that GLS gives you.
How to fill in the tab:
- Switch on Enable GLS.
- Choose your way under Access. The tab then shows only the fields of this access.
- With the GLS Developer Portal: leave Use sandbox on for tests and enter the Client ID and Client secret of your app. In the portal the client ID is called “Key” and is listed under “Apps”.
- With the ShipIT web service: enter the ShipIT endpoint URL, ShipIT user and Password as given by GLS. For tests, enter the GLS test address here.
- Enter the Contact ID. It applies to both kinds of access.
- Under Sender countries for returns, enter the countries from which your customers may send returns with GLS, as two-letter country codes separated by commas, for example “DE, AT”. Only include countries your GLS contract covers.
- Switch on Send return address to GLS only if GLS has confirmed this for your contract. Otherwise returns go to the address GLS holds for your contact ID.
- Click Save and test connection.
Important: The GLS connection test needs the postcode of your return address from the plugin configuration. So enter the return address first. With the Developer Portal, the test checks the sign-in, the contact ID and whether GLS reports the ShopReturn service for this contact ID.
DPD
Fig. 10: The DPD tab with access via the DPD Webservices (the values in the picture are placeholders)
Where the access data comes from: You need a contract with DPD Germany with returns enabled and one of two kinds of access:
- DPD Webservices (Delis ID/password) — your Delis ID and password. For tests there are test credentials from “DPD Entwickler”. For live operation, DPD issues the Delis ID after checking your connection. The plugin prepares the verification for this, see Sending the verification to DPD. Sandbox and production have separate credentials.
- DPD Cloud Service (partner/cloud user) — the partner credentials and your cloud user credentials from DPD, plus, for live operation, the address of the live service that DPD provides on activation.
How to fill in the tab:
- Switch on Enable DPD.
- Choose your way under Access. The tab then shows only the fields of this access.
- Leave Use sandbox on for tests.
- With the DPD Webservices: enter the Delis ID and Password. The DPD customer number is optional. Only enter it if DPD requires it for your contract (digits only).
- With the DPD Cloud Service: enter the Partner name, Partner token, Cloud user ID and User token. For live operation, also enter the Live service URL.
- Choose the Label format: A6, A4 or A7. A7 prints the return label only and exists with the DPD Webservices only.
- Under Sender countries for returns, enter the countries from which your customers may send returns with DPD, for example “DE, AT”.
- Click Save and test connection.
Important: DPD prohibits more than 10 sign-ins per Delis ID and day. The plugin keeps a sign-in until the end of the DPD business day (around 3 am) and signs in at most 9 times in 24 hours. Repeated connection tests therefore use no further sign-ins as long as a valid sign-in exists.
Note: With DPD the plugin does not query shipment tracking. The state “In transit” only arises there when you set it or record the goods receipt. With DHL, UPS and GLS the plugin updates the tracking status automatically.
Sending the verification to DPD
Before live operation, DPD requires proof that your connection works. DPD offers no acceptance procedure like the one for shipping connections for returns only. Instead, DPD accepts request and response of an order to the DPD test environment. The plugin does this with one click, for both kinds of access (DPD Webservices and DPD Cloud Service).
Requirements: Enable DPD and Use sandbox are switched on, the access data for the test environment is complete and saved, and the Return address in the plugin configuration is complete. The shop also needs two real email addresses: a sender address (email address under Settings → General → Basic information or sender address under Settings → System → Mailer) and an address DPD can reply to (email address of the return address in the plugin configuration, otherwise the email address from the basic information).
Note: Placeholders do not count as an address. These are Shopware’s default
doNotReply@localhost.comand addresses on domains that do not exist on the internet (localhost,.local,.test,.invalid,.example,example.com,example.org,example.net). No-reply mailboxes such asnoreply@…ordo-not-reply@…are not accepted as reply address either — as sender they are fine. If one of the two addresses is missing, the plugin stops before it calls DPD, and the message names the setting you have to complete. This way no failed attempt counts against DPD’s login limit.
How to send the verification:
- Open the DPD tab and choose the Sales channel at the top for which you send the verification. Without a choice, the values for all sales channels apply.
- Save open changes. As long as there are unsaved changes, the action is locked — the verification uses stored values only.
- At the bottom of the tab, click Prepare DPD verification. The plugin sends a real return order to the DPD test environment. This is free of charge, and DPD does not pick up a parcel there.
- The dialog Send verification to DPD shows the finished mail to DPD: recipient, company, reply address, subject, mail text and the attachments.
- Check the Recipient. It is filled in with
cit@dpd.de, the address from the DPD developer guidelines. If DPD gave you another address, enter it. - Check Company (DPD customer). It is filled in with the company of your return address. Enter the name under which you are a DPD customer — it appears in the subject and the mail text. The company is required, a single line and 100 characters at most.
- Check the Reply address for DPD. It is filled in with the email address of your return address, otherwise with the shop address from the basic information. The copy of the mail and DPD’s reply go to this address. Placeholders and no-reply mailboxes are not allowed.
- When you change the company or the reply address, the mail text updates shortly afterwards. Until the new text is there, you see the previous one with a loading indicator, and Send to DPD is locked. Your changes apply to this mail only; the plugin configuration stays unchanged.
- Click Send to DPD. The mail goes out through your shop’s mailer, the sender is the email address from the basic information (otherwise the sender address from the mailer settings).
- Alternatively, click Download ZIP and send the package to DPD yourself.
After sending, the tab shows “Verification sent to DPD on … to …”. The note applies per sales channel.
What DPD receives:
| File | Content |
|---|---|
request.xml | The order sent to DPD. Password, token, customer number and partner credentials are blacked out (REDACTED). Your account name (Delis ID or cloud user ID) stays readable; DPD recognises you by it. |
response.xml | DPD’s answer with the parcel number. The label data is shortened; the label is attached as a file of its own. |
login-request.xml, login-response.xml | With the DPD Webservices only, and only if a sign-in was needed for the verification. Password and token are blacked out. |
label.pdf | The return label created by DPD. |
anbindung.txt | Fact sheet of the connection: plugin and Shopware version, access and services, token cache, sign-in limit, label format, parcel number and scope (returns only, no shipping, no pickup stations, no dangerous goods). The file name stays German, as DPD Germany reads it. |
No customer data is included: the sender of the test order is a fixed test address in Germany, all other details come from your merchant data. The package is deleted automatically after 24 hours.
Note: If you switch off Use sandbox while no verification is noted for the sales channel, the tab shows a hint. It locks nothing: DPD grants the approval for live operation, not the plugin. To send the verification, switch to the sandbox for a moment.
Important: With the DPD Webservices, the plugin only signs in for the verification if there is no valid sign-in. That sign-in counts towards the maximum of 9 sign-ins in 24 hours.
How to process returns in the administration
The returns list
What this gives you: All returns and withdrawals of all sales channels in one place, with state and carrier.
You find the list under Orders → Returns.
Fig. 11: The returns list with state, type and carrier, with the “Bank transfers” button
For each return the list shows Return number, Order number, State, Type (return or withdrawal), Registered on and Carrier. In the search bar you find a return by return, tracking or order number. The filter icon on the right lets you narrow the list down by state, type, carrier, sales channel, period and return reason.
At the top right you find Figures, Bank transfers, Return reasons and Create return. Bank transfers opens the list of return bank transfers.
A return passes through these states: Requested, Approved, Label created, In transit, Received, Completed. In addition there are Rejected and Cancelled.
How to create a return yourself
What this gives you: If a customer contacts you by phone or email, you record the return yourself — even after the period has expired.
- In the returns list, click Create return.
- Select the order under Order number. You see the Order date and the End of the return period.
- Under Items, enter the Quantity to return for each product and select a Reason. Quantity 0 leaves an item out. Under Comment you can add a note on the item.
- Under Return shipment and notes, select the Carrier. The carriers enabled for the delivery country of the order are offered. Without label creates the return without a shipping label.
- Add a Customer comment and an Internal note if needed.
- Click Create return. With a carrier selected, the label is created in the background.
Fig. 12: Creating a return for an order
The detail page of a return
Click a return in the list. The detail page has the tabs General, Goods receipt and History.
Fig. 13: The General tab with overview, items and return shipment
The General tab shows:
- Overview: return number, order (with link), type, the way the return was registered, sales channel, language, goods value and the key dates.
- Items: product, quantity, reason, comment and your customer’s photos.
- Return shipment: carrier, tracking number, tracking status and whether label and QR code are available. Here you download the files with Download label and Download QR code. Create label orders a label again, and Print return slip creates a return slip as a PDF. If a return has no carrier, enter the number your customer gives you under Tracking number.
- Comments: the customer comment and your Internal note, which is only visible in the administration.
- Credit note and refund: see below.
How to change the state: Click Change state at the top and choose, for example, Approve, Reject, Mark as in transit, Complete, Cancel return or Reopen. Which changes are offered depends on the current state. You can add a note that appears in the history. When you approve a return with a carrier selected, the label is created afterwards. A cancelled return releases its items for a new return.
Deleting returns: A return with a refund, credit note, store credit or an ongoing bank transfer (requested, open, exported or transferred) cannot be deleted. The administration then reports: “Return … has already been refunded, credited, transferred or paid out as store credit, so it cannot be deleted.” It is kept as a record for the order. If you no longer need it, cancel it. If you delete the whole order, Shopware deletes its returns with it.
How to record the goods receipt
What this gives you: You record what has actually arrived. Flawless goods go straight back into stock if you wish.
- Open the return and switch to the Goods receipt tab.
- Select the Condition for each product: Flawless, Damaged or Not arrived.
- Enter the quantity that arrived under Received.
- Click Record receipt.
Fig. 14: Recording condition and quantity per product
If Restock on receipt (“flawless” only) is switched on, the plugin adds flawless products back to stock. The Stock booked column shows whether this has happened. You can still change items without a stock booking afterwards with Correct receipt.
How to create a credit note and a refund
After the goods receipt you find the Credit note and refund card in the General tab.
- Create credit note opens a dialog with a proposed amount based on the unit prices of the order, minus the share of the promotion discounts. You can change the Credit note amount. The credit note is created as a document of the order. An invoice must exist. Exactly one credit note is created per return.
- Request refund opens the refund dialog. The proposed amount results from the items received flawless, minus their share of the promotion discounts. You can change it. Depending on the payment method of the order you refund in one of these ways:
- Through the payment provider: the dialog passes the Refund amount to the payment method of the order. This works with payment plugins that support refunds through Shopware, for example MultiSafepay together with Shopware Commercial, and with PayPal, Mollie and Klarna through their own plugin, see How to refund through PayPal, Mollie or Klarna.
- By bank transfer: for prepayment, invoice and cash on delivery, see How to refund by bank transfer.
- As store credit: for any payment method, see How to refund as store credit.
Good to know: Many common payment providers do not refund through Shopware but in their own plugin. For PayPal, Mollie and Klarna the dialog uses that plugin directly. With Amazon Pay, Adyen and easyCredit (as of October 2026) the dialog reports Nothing was refunded, and so it does with Stripe, which refunds only in the Stripe dashboard. You then refund in the provider’s plugin or dashboard with the suggested amount.
There is exactly one refund path per return. Once you have refunded a return as store credit, the dialog no longer offers money, and vice versa. All refunds of an order together never exceed the amount that was paid, so a second return of the same order only gets the rest.
The credit note requires the permission Create credit note for a return. The refund requires the permission of the respective path: Request refund for a return (through Shopware and through PayPal, Mollie or Klarna), Create and export refunds by bank transfer and view bank details or Create refunds as store credit. You grant these additional permissions in the role under Additional permissions in the Returns area. Shopware’s order permissions alone are not enough: without the plugin permission the administration hides the button, and the plugin also refuses the action through the Admin API.
How to refund through PayPal, Mollie or Klarna
What this gives you: If your customer paid with PayPal, Mollie or Klarna, you refund directly from the return. You neither open the provider’s plugin nor type the amount, and the refund appears in the history of the return.
This path applies when
- the plugin PayPal Products for Shopware 6, Mollie Payments or Klarna Checkout and Klarna Payments is installed, active and set up with your credentials,
- the order was paid through that plugin (with Mollie also PayPal, credit card and every other payment method through Mollie),
- with Klarna, the amount has already been captured at Klarna (by hand in the Klarna plugin or automatically on an order or delivery state); a Klarna payment that is only authorized has nothing to refund yet,
- Refund through PayPal, Mollie and Klarna is switched on in the sales channel of the order (default), and
- the payment cannot be refunded through Shopware. If the payment plugin supports refunds through Shopware, that path comes first.
Step by step
- Book the goods receipt of the return.
- In the Credit note and refund card, click Request refund.
- In the box Refund through PayPal, Refund through Mollie or Refund through Klarna the dialog names the provider and the amount that is still refundable there. The proposal under Refund amount is at most this remainder and never more than what is still open for the order across all refund paths.
- Change the amount if needed and click Request refund.
Fig. 36: The refund dialog with the “Money back” path, here with the refund through Mollie (it looks the same for PayPal and Klarna)
The plugin hands the refund over to the provider’s plugin with the return number as reference. The message Refund of … started at PayPal confirms it, and the history shows Refund with amount and provider. There is exactly one refund per return; a second click is refused.
Protection against double refunds: Before every refund the plugin asks the provider whether there already is a refund with the return number for this payment. This helps when an earlier refund was booked at the provider but its answer never reached the shop.
- Found: The plugin does not send a second refund. It only adds the one it found to the history, with the note that it was already booked at the provider. The dialog reports: ”… had already refunded … for this return. The refund was not sent again but added to the history.”
- Provider not reachable: The plugin refunds nothing, because it is unknown whether the provider refunded already. The dialog asks you to try again later and, until then, not to choose another refund path without checking the payment in the provider’s merchant account.
What happens next:
- PayPal refunds the payment right away. The plugin sets the payment state of the order the way the refund in the PayPal plugin itself would, to Partially refunded or Refunded.
- Mollie accepts the refund and carries it out; Mollie sets the payment state itself as soon as it reports the execution to the shop. The refund appears in the refund overview of the Mollie plugin with the return number as description.
- Klarna refunds the amount on the captured payment, just like the Refund amount button in the Klarna plugin. The return number is the description of the refund. Like Klarna’s own action, the plugin sets the payment state to Refunded when this refunds the whole captured amount, otherwise to Partially refunded.
Good to know: Mollie can create its own credit note for every refund (Mollie setting Create credit notes). If you create the credit note with Create credit note in the returns portal, keep this Mollie setting off, otherwise two credit notes are created.
Good to know: In the Klarna plugin, Automatic refund can refund the whole order as soon as it reaches a certain order or delivery state. If you refund from the return, keep this Klarna setting off, otherwise Klarna also refunds the full amount.
Good to know: The refund via Klarna is built and tested against the Klarna plugin 4.1.1, but has not yet been checked live against Klarna’s test environment (as of November 2026). So check your first Klarna refund from a return in the Klarna merchant portal. If it fails, the dialog shows the reason and nothing was refunded.
Good to know: If you also refund an order directly in the provider’s plugin or dashboard, the returns portal does not know about that refund. The dialog never takes more than the remainder at the provider, but for bank transfer and store credit only what was refunded through the returns portal counts.
If the provider refuses, the dialog shows The payment provider did not refund with the reason in words and the provider’s answer. Nothing was refunded then, and you can try again. The reasons are listed under The payment provider did not refund.
A refund through PayPal, Mollie or Klarna needs the same permission as any refund through the payment provider: Request refund for a return. Permissions of the provider’s plugin are not needed.
How to refund by bank transfer
What this gives you: You refund prepayment, invoice and cash on delivery orders directly from the return. You do not have to type in an IBAN: your customer enters their bank details themselves, and you submit all refunds to your bank together with one SEPA file.
This path applies if Refund by bank transfer is switched on in the sales channel, the payment method of the order is listed under Payment methods refunded by bank transfer and the order has been paid. If it has not been paid yet, the dialog shows Not paid yet with the payment state and offers nothing to confirm.
If the return has already been refunded another way (through Shopware, PayPal, Mollie, Klarna or as store credit), the bank transfer is blocked. This also applies if you later switch off Refund through PayPal, Mollie and Klarna or deactivate the provider’s plugin, so that the payment method would fall under the bank transfer again.
Step by step: creating a bank transfer
- Open the return and click Request refund in the Credit note and refund card.
- The dialog Refund by bank transfer for return … shows the proposal under Transfer amount. Change it if necessary. The note below names the highest possible amount.
- Under Bank details, choose how the account details reach you:
- Ask the customer for the bank details — your customer receives an email with a secure link and enters account holder and IBAN themselves. Click Request bank details.
- Enter the bank details yourself — for example when your customer gave them to you on the phone. Enter Account holder and IBAN and click Create bank transfer.
- The bank transfer is now listed in the list of return bank transfers. Created does not mean carried out: the money only moves once you submit the SEPA file to your bank.
Fig. 38: The “Credit note and refund” card of a return with the requested bank transfer
If no email address is known for the order, you enter the bank details yourself. Only accounts in the SEPA area are possible. What your customer sees after clicking the link is described in Entering the bank details for a refund.
Tip: If your customer has not used the link, click Send request again in the refund dialog or in the list of bank transfers. They receive a new link, and the older one stops working. If they give you the details on the phone instead, choose View or enter bank details in the list and click Enter bank details. The link in the email is then no longer valid.
If your customer does not answer at all, the plugin cancels the bank transfer by itself 30 days after the link has expired. The history of the return then shows Request expired.
The list of return bank transfers
The list has no menu entry of its own. You open it in three ways:
- in the returns list via Bank transfers,
- on a return in the Bank transfers card via Go to bank transfers,
- in the refund dialog via Go to bank transfers if the return already has a bank transfer.
For each bank transfer the list shows Return number, Order number, Sales channel, Amount, IBAN (masked) and Status, plus the dates of the individual steps such as Created on, Exported on and Transferred on. You search by return or order number and filter by Status and Sales channel. When opened, the list shows all bank transfers that are not yet completed.
Fig. 35: The list of return bank transfers with one carried-out and one requested transfer (IBAN masked)
A bank transfer goes through these statuses:
- Bank details requested — the email to your customer has been sent; their bank details are still missing.
- Open — the bank details are available; the transfer is waiting for the SEPA file.
- Exported — the transfer is in a SEPA file.
- Transferred — you have marked it as transferred.
- Cancelled — the transfer has been cancelled. You can then create a new one for the return.
At the end of each row you find the actions View or enter bank details, Send request again, Go to return and Cancel. You can change the bank details as long as the transfer has not been exported. If it has already been exported, cancel it and create a new one.
Step by step: creating the SEPA file and transferring
- Select the bank transfers with the status Open in the list. One file holds up to 500 transfers.
- Click Download SEPA file. You receive a file in the SEPA pain.001 format, the usual format for bulk transfers. The transfers change to Exported. The plugin skips transfers with Bank details requested; they follow as soon as your customer has entered their bank details.
- Upload the file in the online banking of your shop account and authorise the order. The plugin itself does not transfer anything. Each transfer carries the reference “Refund return … for order …”.
- As soon as your bank has carried out the transfers, select them in the list, click Mark as transferred and confirm.
- The plugin sets the payment state of the orders to Refunded or Partially refunded. If the current payment state does not allow this change, it stays unchanged, and the dialog names the orders concerned.
Important: Only mark what your bank has actually carried out. The new payment state can trigger flows, for example an email to your customer.
Important: If you select an already exported transfer for a SEPA file again, the plugin asks with Already exported. Only include it with Add again if the earlier file was not submitted to the bank — otherwise you transfer twice. With Open ones only it stays out. If you cancel an exported transfer, check with your bank that the order is not carried out.
SEPA transfers are only possible in euros. You can still create a transfer in another currency, pay it another way and then mark it as transferred.
How the plugin protects the bank details
- Your customer only gives their bank details when money is actually coming back — not when registering the return.
- Account holder and IBAN are stored encrypted in the database. The list, the card and the history only show the masked IBAN.
- As soon as you mark a transfer as transferred or cancel it, the plugin deletes account holder and IBAN immediately. Only the masked IBAN remains so you can find the payment in your bank statement.
- The plugin does not remember bank details for later returns and never passes them to the storefront or to headless frontends.
- Only users with the permission Create and export refunds by bank transfer and view bank details see account holder and IBAN in plain text. Users who may only view returns see the list with the masked IBAN.
You grant the permission in the user’s role under Additional permissions in the Returns area.
How to refund as store credit
What this gives you: Instead of paying money back, you send your customer a store credit code with a balance. They redeem it with their next order, in full or in part, and the revenue stays in your shop.
Step by step
- Open the return. In the Credit note and refund card, Customer preference shows whether your customer chose Money back or Store credit. If the portal offered no choice, it shows not asked.
- Click Request refund.
- Under Refund path, choose Refund as store credit. If your customer chose store credit, it is already preselected.
- Check the Store credit amount. The proposal is calculated as for the refund; the note below names the highest possible amount.
- Click Create store credit and send email.
Fig. 37: The refund dialog with the “Refund as store credit” path
Your customer receives the code by email at the address of the order, with amount and validity. In the card you then see, under Refunded as store credit, the columns Issued on, Amount, Balance, Code and Valid until. The administration only shows the last four characters of the code; only your customer knows the full code.
Good to know:
- If your customer did not choose store credit, the dialog warns you: on a withdrawal you need their express consent, for example on the phone.
- You can only issue store credit once the order has been paid. For an unpaid order the dialog shows the payment state and offers nothing to confirm.
- The payment state of the order stays unchanged, because the money stays in your shop.
- If no email address is known for the order, store credit is not possible, because your customer could not receive the code.
- There is no separate list of all store credits in the administration. You see each store credit at its return.
- The plugin does not store the full code, not even encrypted. If your customer loses the email, the administration can neither show nor resend the code. A second store credit for the same return cannot be issued, and you cannot book the balance by hand. You give a replacement outside the plugin, for example with a Shopware promotion code over the Balance. The old code stays redeemable until Valid until.
- Issuing requires the permission Create refunds as store credit.
How your customer redeems the code is described in Redeeming a store credit code.
Cancellation, invoice and tax
- Cancellation: If you cancel an order that was paid with store credit, the plugin books the redeemed amount back to the code, but only as much as has not been refunded for the order yet. If you have already refunded a return of the order (as store credit, by bank transfer, through PayPal, Mollie, Klarna or Shopware), the plugin deducts that amount. This way your customer gets nothing twice. The validity of the code is not extended. If you reopen the order, the plugin deducts exactly the amount it booked back on cancellation.
- Invoice: The invoice shows the full value of the goods and the full VAT, followed by Less store credit and the Amount due. In the e-invoice (ZUGFeRD/XRechnung) the store credit appears as an amount already paid.
- Tax: The plugin treats store credit as a means of payment, i.e. a multi-purpose voucher. It does not reduce the VAT of the new order. Have this treatment confirmed by your tax adviser, especially if your shop has only one tax rate and only ships domestically.
- Rules: Rules with the condition Cart total (incl. shipping) see the amount after the store credit has been deducted. A threshold such as “free shipping from” can therefore no longer apply. For such thresholds, use Subtotal of goods (excl. discounts/fees) instead.
Important — vertical tax calculation: If a sales channel uses the column by column (vertical) calculation under Tax calculation, Shopware calculates the tax from the order total. A redeemed store credit then reduces the VAT shown proportionally. In addition, the store credit never covers the full amount there: at least one cent remains to be paid with the selected payment method. In sales channels with store credit, use the line by line (horizontal) calculation — the Shopware default — or clarify the invoices with your tax adviser.
Following the history
The History tab shows every step of the return: the time, the event, the state, who triggered it (for example customer, administration, Flow Builder, scheduled task or system) and a note. State changes, labels, stock bookings, credit notes and refunds appear here.
The history is an audit trail: only the plugin writes entries, and you can neither change nor delete them, not even through the Admin API. The plugin reads the history to know whether a return has already been refunded. That is why no role has a permission to create or delete history entries.
Fig. 15: The history with all state changes
Maintaining return reasons
What this gives you: You decide which reasons your customers choose from in the portal, and you control photo and approval requirements per reason.
In the returns list, click Return reasons. Seven reasons are supplied, from Too small to Other reason.
Fig. 16: The supplied return reasons
With Create reason or by clicking a reason you edit:
- Name — this is how your customer sees the reason in the portal. Select the language at the top right to translate the name.
- Position — order in the selection, smallest number first.
- Photo required — your customer has to upload at least one photo. Only takes effect when photo upload is allowed. This is already switched on for Arrived damaged and Wrong item delivered.
- Approval required — returns with this reason wait for your approval, even if no approval is required otherwise.
- Active — inactive reasons are not offered in the portal but remain visible in existing returns.
A reason that is used in returns cannot be deleted, only deactivated.
Evaluating the figures
What this gives you: You see which products come back conspicuously often and why — a hint for your size information, for example.
In the returns list, click Figures. Under Period, select the Sales channel as well as From and To.
Fig. 17: Registrations in total, returns, withdrawals and registrations per day
You see Registrations in total, Returns and Withdrawals, a chart Registrations per day, the Most frequent reasons and the Most returned products with their return rate. The return rate relates the returned quantity to the quantity sold in the period.
Returns at the order
Each order shows the Returns tab in its detail view with all returns of that order. From there you create a new one directly with Create return. The order overview also has a Returns column.
Fig. 18: The Returns tab in the order
Return slips you create at the return with Print return slip are listed in the order’s documents tab with the type Return slip. The return slip is deliberately not offered in the order’s general dialog for creating a new document, because it always belongs to exactly one return.
Fig. 19: Return slips among the documents of the order
How to automate processes and embed the form
Flow Builder: triggers and actions
What this gives you: You send emails, set states or order labels automatically when something happens with a return.
Under Automation → Flow Builder, the trigger selection contains the group Return with Registered, Approved, Label created, Label failed, In transit, Received, Rejected and Withdrawal received. As actions, the plugin adds Create return label and Change state of the return.
Fig. 20: The trigger for approved returns and the plugin’s actions
After the installation, nine flows are active that send the emails to your customers, for example “Returns portal: return approved”. You can adjust or switch them off. Keep two of them switched on: “Returns portal: bank details requested” sends the request for the bank details, “Returns portal: store credit issued” sends the store credit code. Without them, neither the link nor the code reaches your customer. Also do not switch the store credit flow to delayed sending, because it carries the redeemable code. There is no ready-made flow for Label failed. If you want to be notified when a label is not created, create a flow of your own for it.
Rule Builder: conditions
Under Automation → Rule Builder you have two conditions: Order within the return period and Item is returnable. Use them, for example, to build rules for flows or for Rules for non-returnable items in the plugin configuration.
Fig. 21: The plugin’s conditions in the Rule Builder
The returns form in Shopping Experiences
What this gives you: You place the entry to the portal on any page, for example on your service or FAQ page.
- Open Content → Shopping Experiences and the page you want.
- In the blocks, select the Block category Form.
- Drag the Returns form block onto the page.
- In the element, use Entry point to choose whether it shows Register a return, Withdraw from contract or Register a return, with a link to the withdrawal. Show heading and introduction shows the portal texts above the form.
- Click Save.
Fig. 22: The Returns form block in the Form block category
The form only appears in sales channels in which the returns portal is enabled. It only shows the withdrawal if the withdrawal function is enabled. Whether email address or captcha are requested is set in the plugin configuration. You can use the form several times on one page.
Adjusting the email templates
Under Settings → Email templates you find the plugin’s templates: Return registered, Return label created, Return approved, Return received, Return completed, Return rejected, Withdrawal confirmation of receipt, Bank details for refund requested and Return refunded as store credit. The Return label created template sends the label as an attachment and the link to the status page. Bank details for refund requested contains the secure link for entering the bank details, Return refunded as store credit contains the store credit code with amount and validity. The code is only in this email.
Fig. 23: The plugin’s email templates, including “Bank details for refund requested” and “Return refunded as store credit” (filtered by “Return”, content language English)
Tip: Adapt the texts to your shop before the first real return arrives. The templates are available in German, English and Dutch.
How your customers register a return
As a guest on the portal page
Your customer reaches the portal page via the Register a return link in the footer, via the direct link from an email or via a returns form in your Shopping Experiences.
Fig. 24: The entry to the portal with order number and postcode
- Your customer enters the Order number and Postcode, and the Email address if you require it.
- They click Open order.
- For each product they choose the Quantity to return and the Reason for the return. Optionally they add a Note on the item and Photos.
- Under Sending it back they choose the carrier if you allow the choice. Otherwise they see which carrier the label comes from.
- Optionally they add a Note on the return and click Register return.
Fig. 25: Products, quantity, reason and carrier choice before sending
The portal only shows what can still be returned: quantities already registered are deducted, excluded items are marked, and after the period has expired no registration is possible. If order number and postcode do not match, a neutral message appears without revealing which entry was wrong.
Via the customer account
Logged-in customers start the return from their customer account: under Orders they open the action menu of an order with the … button and choose Return items. Item selection and status page then appear in the layout of the customer account. Back to orders takes the customer back to the overview.
Fig. 29: Starting a return right from the order in the customer account
The entry only appears if Entry in the action menu under “My orders” is switched on, and not for cancelled orders. Whether an item can actually be returned is checked by the portal after the click.
Returns in the customer account
In the navigation of the customer account, logged-in customers find the entry Returns. It opens the page My returns with all returns and withdrawals for their orders in this sales channel, newest first. If there are more than ten, your customer pages through them with the pagination below the list.
Fig. 30: The page “My returns” with status and refund progress for each return
Each return has a card of its own:
- Return R… or Withdrawal R… with Registered on and the order number.
- On the right the status, for example Approved, Received or Completed.
- The registered items with quantity and reason.
- Return label ready and Track parcel as soon as there is a label or tracking.
- One line about the refund (see The status page).
- View details opens the status page of the return in the layout of the customer account. Back to returns takes your customer back to the list.
If your customer has not registered a return yet, they see a note with the link Go to orders.
Under Orders your customer also sees which orders already have a return: below the order number there is the link View return R… with the current status in brackets, for a withdrawal View withdrawal R….
Fig. 33: Below each order number the link to the matching return
The page Returns and the links in the orders appear as long as Enable plugin for this sales channel is switched on. They have no switch of their own; Entry in the action menu under “My orders” only affects starting a new return. Customers with a guest account see neither the page nor the links. They reach their return through the status link in the email.
The status page
After registering, your customer sees the status page of the return. Under Your return label they download the label with Download label (PDF), with DHL also the QR code if needed. They see the tracking number and, with DHL, UPS and GLS, the link Track parcel. Under Progress, a bar shows the steps from Registered to Completed. With Return further items of this order they register further products.
Fig. 26: The status page with label, progress and registered items
If the label is not ready yet, your customer sees a notice and receives the label by email as soon as it has been created. Without a carrier, they receive the instructions for sending the parcel back by email.
Under Refund your customer sees how far the refund has got. The status page shows this section in the customer account and for guests, and the card on the page My returns shows the same line. The text depends on the refund way:
| Refund way | What your customer sees |
|---|---|
| No refund yet | ”No refund has been arranged for this return yet. It will follow once we have checked the items you sent back.” |
| Store credit | ”Store credit code ****2T16 for €19.50, valid until 23 Oct 2029. Remaining balance: €19.50.” with the note that the full code was sent by email and is redeemed in the shopping cart. Once the code is used up or has expired, it reads “fully redeemed” or “expired on …”. |
| Bank transfer, bank details requested | ”Refund by bank transfer of €129.00 – please provide your bank details.” In the customer account this is followed by “You can enter them until …” and the button Provide bank details; guests see the note that the link was sent by email. |
| Bank transfer, bank details received | ”… we have your bank details (DE** **** **** **** **30 00), the transfer will follow.”; after the SEPA export ”… is being processed.” |
| Bank transfer carried out | ”€79.00 transferred on 22 Oct 2026 to the account DE** **** **** **** **30 00.” |
| PayPal, Mollie or Klarna | ”Refund via PayPal initiated on …: …” with the note that the refund goes to the payment method of the order and that the timing depends on the provider. |
| Refund through Shopware | ”Refund via your payment method … initiated on …”, once finished ”… completed on …”. |
The IBAN only appears masked, and of the store credit code only the last four characters. If you have created a credit note, “Credit note issued on …” is shown below. Rejected and cancelled returns do not show the “no refund yet” line.
Fig. 31: Refund by bank transfer, the bank details are still missing
Fig. 32: Refund as store credit code with remaining balance and validity
Choosing money back or store credit
If Refund offer in the returns portal is set to Customer chooses or Store credit only (with consent), your customer sees the section How would you like to receive your money? in the returns form. This applies to guests and in the customer account alike.
- With Customer chooses they choose between Money back and Store credit code. Money back is preselected. A note tells them that the store credit is voluntary and how long the code is valid.
- With Store credit only (with consent) they read that the amount is refunded as store credit and tick “I agree to receive store credit instead of a refund.” Without the tick the return cannot be registered. Below it there is always the note on their right of withdrawal with the link Declare withdrawal.
You see the choice at the return under Customer preference. Choice, offer and type of consent are also recorded in the history. The choice is a preference, not yet a refund: the refund only happens when you refund in the administration.
Entering the bank details for a refund
When you request the bank details, your customer receives the email “Your bank details for the refund of return …” with a secure link. The link leads to the page Bank details for your refund in your shop. Logged-in customers also get there without the email: the page My returns and the status page in the customer account show the button Provide bank details as long as the request is open. It leads to the same link as the email and is valid for just as long. Only the logged-in customer who owns the order can see it.
- Under Your refund your customer sees Return number, Order number, Amount and Link valid until.
- They enter Account holder and IBAN. Spaces in the IBAN are allowed. Only accounts in the SEPA area are possible.
- They click Send bank details and see the confirmation Thank you.
Fig. 39: The page “Bank details for your refund” (view only, nothing submitted)
The page explains that the bank details are used for this refund only, stored encrypted and deleted after the transfer. The link works only once. If it has expired or has already been used, your customer sees Link no longer valid. You then send them a new request from the administration.
Redeeming a store credit code
In the cart and on the order confirmation page your customer finds the field Redeem store credit code. They enter the code from the email and click Redeem. The field is deliberately separate from the field for promotion codes: discount codes are still entered there.
Fig. 40: The cart with the field “Redeem store credit code” below the promo code field
- The cart shows the line Store credit with the last four characters of the code and the redeemed amount.
- If the store credit is not enough, your customer pays the rest with the selected payment method. If the store credit is higher than the amount due, it covers the amount due including shipping, and the rest stays on the code for the next order.
- Your customer can redeem up to five codes in one order. A code is only valid in the sales channel and in the currency in which you issued it.
- The amount is only deducted once the order has been placed. Two simultaneous orders cannot use the same store credit twice.
- If the store credit covers the whole amount, only payment methods without a payment provider can be chosen, such as prepayment, invoice or cash on delivery. The payment is then marked as paid right away. So offer at least one of these payment methods in sales channels with store credit, otherwise such an order cannot be completed.
The field appears if the sales channel offers store credit or at least one store credit with a balance exists there. If the offer is set to Refund only and no store credit exists yet, it stays hidden.
How the code is protected: The plugin does not store the code readably, only as a check value and with its last four characters. It is blacked out in the plugin’s log and in Shopware’s event log. To prevent guessing, the shop temporarily blocks further attempts from the same network after ten redemption attempts within 15 minutes. With further attempts the block gets longer, up to 24 hours. Your customer then sees “Too many attempts. Please try again in … minutes.”
Withdrawing from a contract
If the withdrawal function is active, your customer finds the Withdraw from contract box on the portal page.
- They click Withdraw from contract.
- In step 1 they enter the Order number, Postcode and the Email address for the confirmation of receipt and click Continue to the summary.
- In step 2 they check their details. With Withdraw from individual items only they can limit the withdrawal to single products.
- They click Confirm withdrawal.
Fig. 27: Step 1 of the withdrawal
Your customer then receives a confirmation of receipt with a reference number, also by email. The withdrawal appears in your returns list with the type Withdrawal. If your customer has already received the goods, they can register a return directly via Register sending back.
On a smartphone
The portal adapts to small screens. Your customers register returns just as easily on their smartphone.
Fig. 28: The entry to the portal on a smartphone
Troubleshooting
A carrier is not offered in the portal
Cause: A carrier is only offered if it is enabled and fully set up for the sales channel and covers the customer’s country.
Solution:
- Open Settings → Extensions → Returns portal: Carriers and select the affected Sales channel at the top.
- In the carrier’s tab, check that it is enabled and all access data is entered. Test with Save and test connection.
- For GLS and DPD, check that the customer’s country is listed under Sender countries for returns. For DHL, check that a Receiver ID per sender country is stored for the country.
- In the General tab, check the Mapping delivery country → carrier and the Default carrier. If Customer may choose is off, only the assigned carrier applies.
The label was not created
Cause: The carrier rejected the request, or information is missing, for example in the return address.
Solution:
- Open the return under Orders → Returns. In the Return shipment card, The label could not be created is followed by the reason, for example “The access data is incomplete.” or “The return address of the sales channel is incomplete.”
- Fix the cause in the carrier settings or in the return address.
- Click Create label at the return.
Important: If the return reports that the carrier gave no clear answer, the label may have been created at the carrier all the same. Check this in the carrier’s customer portal before you order the label again. Every order can create another label that is charged. In this case the plugin deliberately does not reorder automatically.
DPD no longer signs in
Cause: The plugin has already signed in at DPD 9 times with this Delis ID in the last 24 hours. To protect your access it does not sign in again, because DPD prohibits more than 10 sign-ins per Delis ID and day.
Solution: Wait until the block ends — 24 hours after the oldest of these sign-ins. Then order the label again at the return with Create label.
The DPD verification cannot be prepared or sent
Why it happens: The message names the reason: DPD is not enabled or the access data is incomplete, the sandbox is switched off, the return address is incomplete, DPD refused the test order (with DPD’s error code), the shop has no usable sender or reply address, the company or reply address in the dialog is invalid, or the package is older than 24 hours.
How to fix it: Complete the named setting and save. If the sender address is missing, enter the shop email address under Settings → General → Basic information or the sender address under Settings → System → Mailer. If the reply address is missing, enter the email address of the return address in the plugin configuration or the shop email address in the basic information. Shopware’s default doNotReply@localhost.com counts as not entered. If DPD refuses the order, check the access data with Save and test connection. If the mail cannot be sent, check the mailer settings under Settings → System → Mailer, or download the package with Download ZIP and send it to DPD yourself. If the package has expired, prepare the verification again.
GLS rejects the contact ID or reports no ShopReturn service
Cause: The contact ID does not match your access data, or GLS has not enabled the ShopReturn service for this contact ID.
Solution: Check the Contact ID. Have GLS confirm that your app or ShipIT access is approved for this contact ID and that the ShopReturn service is active. Also check that Use sandbox matches your app.
The connection test reports rejected access data
Cause: Usually the environment does not match: sandbox credentials with the sandbox switched off, or the other way round.
Solution: Check the Use sandbox switch and enter the access data of the matching environment.
The customer cannot find their order
Cause: Order number, postcode or email address do not match the selected address of the order.
Solution: Check under Postcode used for identification which address is compared. With Billing or shipping address the order is found with either postcode.
Portal, footer link or entry in the customer account are missing
Cause: The plugin is switched off in the sales channel, the respective switch is off, or the cache is outdated.
Solution:
- Under Extensions → My extensions, check that the plugin is active.
- In the plugin configuration, select the affected sales channel and check Enable plugin for this sales channel, Show entry link in footer and Entry in the action menu under “My orders”.
- Clear the cache: Settings → System → Caches & indexes → Clear cache.
If only the page Returns in the customer account is missing: it depends on Enable plugin for this sales channel alone. Customers with a guest account never see it, even when the plugin is active.
The label reaches the customer very late
Cause: Labels are created in the background. If your shop’s background processing is not running, the label waits.
Solution: Pass this on to your technical administrator (see For Administrators / Technical Details).
The credit note cannot be created
Cause: There is no invoice for the order yet, or a credit note has already been created for this return.
Solution: First create an invoice for the order. Exactly one credit note is possible per return.
The payment provider did not refund
Cause: PayPal, Mollie or Klarna refused the refund or could not be reached. Nothing was refunded. The dialog names the reason:
| Message in the dialog | Meaning | How to fix it |
|---|---|---|
| … cannot refund this amount any more | Less is left on the payment than you want to refund | Close and reopen the dialog; the proposal shows the current remainder |
| The payment has already been refunded in full at … | The payment was already refunded completely, for example directly in the provider’s plugin | Nothing to do; check the refund in your merchant account |
| … does not allow refunding this payment | A chargeback is ongoing, a permission is missing in the merchant account or nothing has been captured at Klarna yet | Check your merchant account at the provider |
| … has already received a refund with the same return number | PayPal refuses a second refund with the same reference | Check the payment in your merchant account before trying again |
| The credentials for … are missing or invalid | The settings of the provider’s plugin are incomplete or for the wrong mode (live/test) | Check the settings of the PayPal, Mollie or Klarna plugin |
| … does not know this payment (any more) | The order was paid with another account or in the other mode | Check account and mode in the provider’s plugin |
| … did not answer, or not in time | Network or server error at the provider; whether it refunded anyway is unknown | Check the payment in the provider’s merchant account, then try again. The plugin asks the provider first and only records a refund already booked there. Until then, do not choose another refund path |
| … rejected the refund | Another reason of the provider, for example an expired refund period | Read the provider’s answer, check your merchant account |
Below the message you find the Provider’s answer with its error code. Quote it when you contact the provider’s support. The errors are also written to the plugin log var/log/SwpReturnPortalSix-<date>.log, without credentials.
The refund dialog does not offer a bank transfer
Cause: Refund by bank transfer is switched off in the sales channel, the payment method of the order is not selected, the order has not been paid yet, or you lack the permission. If the payment can be refunded through the payment provider, the dialog takes that path instead of the bank transfer.
Solution:
- Choose the sales channel of the order in the plugin configuration and check the switch and the Payment methods refunded by bank transfer in the Refund by bank transfer card.
- Check the payment state of the order. Refunds are only possible once the payment has been received.
- Ask for the permission Create and export refunds by bank transfer and view bank details.
The email with the bank details link does not arrive
Cause: Usually the flow “Returns portal: bank details requested” is switched off or deleted, or the plugin was updated without the update running completely. Sometimes the email also ends up in your customer’s spam folder.
Solution:
- Open Automation → Flow Builder and check that the flow “Returns portal: bank details requested” exists and is active.
- If both the flow and the email template Bank details for refund requested are missing, update the plugin under Extensions → My extensions. The update creates both and switches the flow on.
- If you deleted the flow yourself, an update does not create it again. In that case create a flow in the Flow Builder that sends the template Bank details for refund requested when the bank details are requested.
- Then send the request again with Send request again. If it is urgent, call your customer and enter the bank details yourself.
The SEPA file is not created
Cause: Above the list, SEPA file not created appears with the reasons. Typical ones: the selection contains no transfer with the status Open. A transfer is not in euros, because SEPA files exist in euros only. Or no valid debtor account is set for the sales channel; the list then also shows Debtor account missing.
Solution:
- Select only transfers with the status Open. Transfers with Bank details requested follow as soon as your customer has entered their bank details. Include already exported ones again only after the Already exported prompt.
- Pay amounts in other currencies another way and then mark them as transferred.
- Check Name of the debtor account, IBAN of the debtor account and BIC of the debtor account (optional) in the plugin configuration for the sales channel named. Go to plugin configuration in the notice takes you straight there.
Note: If your bank rejects a file with transfers from several sales channels with different accounts, filter the list by Sales channel and download a separate file for each account.
The payment state does not change after “Mark as transferred”
Cause: Shopware does not allow the change to refunded from every payment state, for example if the state was changed manually in the meantime. The transfer is marked as transferred nevertheless.
Solution: The dialog names the orders concerned. Check the payment state there and set it at the order itself if necessary.
The email with the store credit code does not arrive
Cause: The flow “Returns portal: store credit issued” is switched off or deleted, or the returns portal is switched off in the sales channel of the order. In the second case the dialog reports right after issuing that the email was not sent.
Solution: Check under Automation → Flow Builder that the flow is active, and check Enable plugin for this sales channel in the plugin configuration. The administration can neither show nor resend the code itself: the plugin stores it only as a check value and with its last four characters, it is contained in the email alone. A second store credit for the same return is not possible. If the email got lost, give your customer a replacement outside the plugin, for example with a promotion code over the Balance. So always keep the flow switched on.
The customer cannot redeem their store credit code
Cause: The message in the cart names the reason:
- “The code is invalid.” — the code was mistyped or comes from another sales channel.
- “The code has expired and can no longer be redeemed.” — the validity has ended.
- “The balance of this code has been used up.” — there is no balance left.
- “This store credit is in another currency.” — the cart is in a different currency than at issue.
- “You can redeem at most 5 store credit codes in one order.”
- “Store credit codes cannot be redeemed in this shop at the moment.” — the plugin is switched off in the sales channel.
Solution: At the return, Refunded as store credit shows the Balance and Valid until. Spaces, hyphens and upper or lower case do not matter when entering the code. For another currency, your customer switches the currency in the shop. The plugin cannot extend an expired code.
”Too many attempts” appears when redeeming
Cause: To prevent codes from being guessed, the shop temporarily blocks further attempts from the same network and sales channel after ten redemption attempts within 15 minutes. Successful attempts count as well. If several people test from the same office network, they share this limit.
Solution: Wait for the minutes shown and try again. The block ends by itself, at the latest after 24 hours.
The “Redeem store credit code” field is missing
Cause: The offer in the sales channel is set to Refund only, and there is no store credit with a balance there yet. Or the plugin is switched off in the sales channel.
Solution: Check Refund offer in the returns portal and Enable plugin for this sales channel in the plugin configuration. As soon as you have issued a store credit in the sales channel, the field also appears with Refund only. Clear the cache afterwards if necessary.
An order with store credit cannot be completed
Cause: If the store credit covers the whole amount, only payment methods without a payment provider can be chosen. If the sales channel offers none of them, your customer sees “Your store credit covers the whole amount, but no payment method is available for this case.” If instead they see that the store credit changed while the order was placed, it was used in another order at the same time. If the store credit expired or was used up between the confirmation page and the click on order, or store credit codes were just switched off in the sales channel, the plugin also holds the order: your customer returns to the confirmation page with the notice that the store credit has been removed from the cart.
Solution: Assign at least one payment method such as prepayment, invoice or cash on delivery to the sales channel. In the second case your customer checks the new amount and orders again. In the third case the next attempt orders at the full price, without store credit; this way your customer never unknowingly pays more than the confirmation page showed.
A return cannot be deleted
Cause: The return already has a refund, a credit note, a store credit or a bank transfer that is not cancelled. Such returns are kept as a record, so that the ceiling of all refunds of the order stays correct.
Solution: Cancel the return instead of deleting it. Cancel a bank transfer that has not been carried out yet in the list of return bank transfers first; after that the return can be deleted, provided nothing else was refunded.
The invoice shows less VAT for orders with store credit
Cause: The sales channel uses the column by column (vertical) tax calculation. There, a redeemed store credit reduces the VAT shown proportionally.
Solution: Set the line by line (horizontal) calculation under Tax calculation in the sales channel settings — the Shopware default. If that is not possible, clarify the invoices with your tax adviser.
All settings
Every setting in the plugin configuration with its default value, in the order shown in the Administration. As of version 6.7.0.
General
| Setting | Default | Description |
|---|---|---|
| Enable plugin for this sales channel | on | Switch the plugin off for this sales channel without uninstalling it. |
| Return period (days) | 14 | Number of days in which a return can be registered, counted from the start selected below. |
| Period starts on | Shipping date | Shopware does not record the actual delivery. “Delivery date” therefore means the shipping date plus the transit time below. Orders without a shipping date count from the order date. |
| Transit time until delivery (days) | 3 | Added to the shipping date when the period starts on the delivery date. |
| Postcode used for identification | Billing or shipping address | Guests identify themselves with order number and postcode. Choose which address of the order the postcode is compared with. |
| Additionally require email address | off | Guests must also enter the email address of the order. Makes guessing order data harder. |
| Approval required | Never | Decides whether a return has to be approved in the administration before the customer receives a label. Return reasons can require an approval on their own. |
| Approval from goods value | 250 | Gross goods value of the returned items from which an approval is required. Only used with the mode “From a goods value”. |
| Show prices in the portal | on | Shows unit price and total of each item in the item selection and on the status page of a return, as stated in the order. Switched off, customers and guests see pictures, names and quantities only. |
Portal
| Setting | Default | Description |
|---|---|---|
| Show entry link in footer | on | Adds a link to the returns portal to the service area of the footer. |
| Entry in the action menu under “My orders” | on | Logged-in customers start a return from the action menu of an order and stay inside their customer account while doing so. |
| Provide direct link for emails | on | Makes the variable swpReturnPortal.url available in order emails. The signed link opens the portal for this order without further input. |
| Portal URL per language | empty | Path of the portal page per language, for example “returns”. Lowercase letters, digits and hyphens only. Without an entry the default of the language is used: retoure, returns or retour. |
| Allow photo upload | on | Customers can add photos to a returned item. Return reasons can make a photo mandatory. |
| Photos per item (max.) | 3 | Maximum number of photos a customer can upload for one item. |
| Maximum photo size (MB) | 8 | Larger files are rejected. Accepted formats are JPEG, PNG and WebP. |
| Captcha on the form | off | Protects the identification form with the captchas that are active for this sales channel in the basic information. |
| Rules for non-returnable items | empty | Items matched by one of these Rule Builder rules cannot be returned. Single products can be excluded with the product custom field “Not returnable” instead. |
Withdrawal
| Setting | Default | Description |
|---|---|---|
| Enable withdrawal function in the portal | on | Offers the two-step withdrawal of a contract on the portal page. The plugin provides the technical process and editable texts, not legal advice. |
| Show withdrawal link in footer | off | Adds an own withdrawal link to the footer. Leave it switched off if the withdrawal button of Shopware is already shown there, otherwise two buttons appear. |
| Withdrawal button label | empty | Applies per sales channel, not per language. Shops with several languages leave the field empty and maintain the text snippet instead. |
| Adopt withdrawals from the Shopware form | on | A withdrawal sent with the withdrawal form of Shopware is added to the returns portal when contract number and email address match an order. |
Return address
| Setting | Default | Description |
|---|---|---|
| Name | empty | Recipient of the returned parcels as printed on label and return slip. |
| Company | empty | Optional company line of the return address. |
| Street and house number | empty | Street and house number of the return address in one line. |
| Postcode | empty | Postcode of the return address. |
| City | empty | City of the return address. |
| Country | empty | Country of the return address. |
| Phone | empty | Phone number passed to the carrier for queries about the parcel. |
| empty | Email address passed to the carrier for notifications about the parcel. |
Stock & refund
| Setting | Default | Description |
|---|---|---|
| Restock on receipt (“flawless” only) | off | Items recorded as flawless at goods receipt are added to the stock again. Damaged or missing items are never restocked. |
| Prepare credit note automatically | off | Prepares a credit note for the flawless items at goods receipt. Requires an invoice for the order. |
| Refund through PayPal, Mollie and Klarna | on | When the PayPal, Mollie or Klarna plugin is installed and active, “Request refund” refunds orders paid with it directly through that plugin. Switched off, these orders are treated as before: no refund through the provider. |
Refund by bank transfer
| Setting | Default | Description |
|---|---|---|
| Refund by bank transfer | on | For payment methods without a payment provider, “Start refund” creates a bank transfer. You download open transfers as a SEPA file, submit it to your bank and then mark them as transferred; only then does the payment status of the order change to refunded. |
| Payment methods refunded by bank transfer | empty | For payment methods without a payment provider. You can add direct debit. Payment methods that refund through a provider do not belong here. |
| Validity of the bank details link (days) | 14 | With “Request bank details from customer” the customer receives an email with a secured link to enter account holder and IBAN. The link expires after this many days; you can send a new one at any time. The bank details are stored encrypted and deleted as soon as the transfer is marked as transferred or cancelled. |
| Name of the debtor account | empty | Account holder of the account the transfers are made from, as your bank knows it. At most 70 characters; umlauts are written out in the SEPA file. |
| IBAN of the debtor account | empty | Account in the SEPA area the transfers are made from. Sales channels with the same IBAN share one payment block in the SEPA file. |
| BIC of the debtor account (optional) | empty | 8 or 11 characters. Only needed if your bank asks for it. |
Store credit
| Setting | Default | Description |
|---|---|---|
| Refund offer in the returns portal | Refund only | Decides whether customers can choose a store credit code instead of a refund. With “Customer chooses”, “Money back” is preselected. With “Store credit only” the customer must agree; the portal shows the way to the withdrawal with a refund. Have the texts checked legally. In the administration you can refund as store credit in every mode. |
| Validity of a store credit code (months) | 36 | The code is valid until the end of the day this many months after it was issued. Shorter than 36 months is legally contestable. |
Privacy
| Setting | Default | Description |
|---|---|---|
| Photo retention (days) | 180 | Customer photos are deleted this many days after the return has been closed. |
| Label retention (days) | 90 | Return labels and QR codes are deleted this many days after delivery or after the return has been closed. |
FAQ
Q: Do I need my own contract with DHL, UPS, DPD or GLS?
A: Yes. The plugin creates labels only through your own access data at the respective carrier.
Q: Does every return cost extra?
A: Not because of the plugin. There is no fee per return and no intermediary service. What a parcel costs is set by your contract with the carrier.
Q: Does it work without a carrier?
A: Yes. With No carrier as the default carrier, your customers register the return and receive the instructions for sending it back by email. You can enter the tracking number at the return yourself.
Q: Does the portal show shipment tracking for every carrier?
A: No. With DHL, UPS and GLS the plugin updates the tracking status, with DPD it does not.
Q: Can customers send returns from abroad?
A: That depends on the carrier and your contract. With DHL you store a receiver ID per sender country; the QR code is only available for senders in Germany. With GLS and DPD you enter the permitted sender countries yourself. The plugin does not support returns with a customs declaration for GLS and DPD.
Q: Can I exclude single products from returns?
A: Yes. On the product with the custom field Not returnable, or for whole groups with Rules for non-returnable items in the plugin configuration.
Q: Can I configure each sales channel differently?
A: Yes. The plugin can be switched off per sales channel. You set period, approval, carriers and access data per sales channel.
Q: Are photos and labels stored permanently?
A: No. They are kept in private media folders of your shop and deleted automatically after the periods set under Privacy.
Q: Can a customer register the same items twice?
A: No. The portal deducts quantities already registered. Only when you cancel a return are its items available again.
Q: Do I have to type in my customer’s IBAN for prepayment and invoice?
A: No. With Ask the customer for the bank details your customer enters it themselves through a secure link. You only enter it if they give it to you on the phone.
Q: Does the plugin transfer the money itself?
A: No. The plugin creates a SEPA file that you upload and authorise in your online banking. It has no access to your bank account.
Q: How long does the plugin keep my customer’s bank details?
A: Only until the transfer is marked as transferred or cancelled. Until then they are stored encrypted in the database; afterwards only the masked IBAN remains.
Q: Does the plugin also refund through PayPal, Mollie, Klarna or Stripe?
A: Through PayPal, Mollie and Klarna, yes: if their plugin is installed and active, Request refund refunds directly through it, see How to refund through PayPal, Mollie or Klarna. Stripe refunds neither through Shopware nor in its plugin, only in the Stripe dashboard. The plugin suggests the amount, and you refund there. You can refund as store credit for any payment method.
Q: May I simply give store credit instead of a refund?
A: On a withdrawal only if your customer agrees explicitly. That is why Money back is preselected in the portal, and with Store credit only (with consent) your customer has to tick a box and always sees the way to the withdrawal. Have the texts checked by your legal adviser.
Q: Is the store credit a discount?
A: No. The plugin treats it as a means of payment (multi-purpose voucher): the VAT of the new order stays unchanged, and the invoice shows the store credit as a payment. Have this confirmed by your tax adviser.
Q: My sales channel uses the vertical tax calculation. What do I need to consider?
A: There, a redeemed store credit reduces the VAT shown proportionally. For sales channels with store credit, use the line by line (horizontal) calculation, the Shopware default, or clarify the invoices with your tax adviser.
Q: My customer has lost their store credit code. Can I resend it?
A: No. The plugin stores the code only as a check value and with its last four characters, not encrypted and not readable. A second store credit for the same return is not possible, and neither is booking the balance by hand. Give your customer a replacement outside the plugin, for example with a promotion code over the balance. The old code stays valid until it expires.
Q: Where do I see how much of a store credit is left?
A: At the return the store credit comes from, under Refunded as store credit in the Balance column.
Q: What happens to my returns when I uninstall the plugin?
A: If you choose to keep the data when uninstalling, all returns are kept. Without this option the plugin removes its data, custom fields, email templates and flows completely. Your orders remain untouched.
Important: Without “keep data”, uninstalling also deletes all open store credits. Your customers can no longer redeem them, although you owe them the amount.
For Administrators / Technical Details
This section is intended for technical administrators. You do not need it for normal use.
System requirements
-
Shopware: 6.7.14 or later within the 6.7 line
-
PHP: 8.2 or later
-
A running queue worker (message queue). Labels are created asynchronously; without a worker the customer receives the label only with the next run of the queue.
-
Scheduled tasks set up. The plugin brings three:
swp.return_portal.label_recovery(label recovery),swp.return_portal.tracking_sync(shipment tracking update) andswp.return_portal.maintenance(clean-up of photos, labels and QR codes after the retention periods; it also cancels unanswered bank details requests 30 days after the link has expired removes, as a safety net, bank details of completed transfers and deletes DPD verification packages after 24 hours). -
Several app servers: The plugin locks parallel refunds and store credit bookings of the same return or order through Shopware’s lock store. Its default only applies on one server. If you run the shop on several app servers, set up a shared lock store through the environment variable
LOCK_DSN(for example Redis or the database), otherwise two servers could refund the same return at the same time.
Installation via the command line
php bin/console plugin:refresh
php bin/console plugin:install SwpReturnPortalSix --activate
php bin/console cache:clear
Direct link in email templates
If Provide direct link for emails is switched on, the variable swpReturnPortal.url is available in order emails. The signed link opens the portal for this order without further input, is bound to order and sales channel and expires. An expired link leads to the portal page with a notice.
Privacy and access data
- External calls go only to the carriers you enable. The customer’s name and sender address and the shipment data are transmitted; with DPD Webservices access also the phone number and email address from the order, with UPS label delivery by email the customer’s email address. If no carrier is active, the plugin sends no data to external servers.
- Carrier access data is stored in the Shopware system configuration. The administration shows it masked; it is stored in plain text. The plugin never logs it and never outputs it via the Store API.
- For refunds through PayPal, Mollie and Klarna the plugin calls the services of these plugins in the shop; the connection to the provider and its credentials stay entirely with PayPal, Mollie or Klarna. The plugin does not read these credentials and logs only the provider’s reason and error code on failures.
- Labels and customer photos are kept in private media folders.
- Account holder and IBAN for refunds by bank transfer are stored encrypted in the database, with a key derived from the shop’s
APP_SECRET. They are deleted immediately when the transfer is marked as transferred or cancelled, and never appear in a log or in a Store API response. The Admin API only returns the masked IBAN; plain text is only available through a dedicated action with an additional permission (see below). If theAPP_SECRETchanges, bank details still open can no longer be read and must be entered again. - The plugin stores store credit codes only as a SHA-256 check value and with their last four characters, without an encrypted copy. Even with a database dump and the
APP_SECRETno code can be recovered; changing theAPP_SECRETdoes not invalidate issued codes. Consequence: a lost code cannot be shown or sent again. - A log filter blacks out the code pattern in the plugin log
var/log/SwpReturnPortalSix-<date>.logand in Shopware’s event log (channelbusiness_events, which also holds the text of sent emails). It leaves the shop’s other logs untouched.
Permissions
The plugin brings its own permissions for the Returns area, plus the additional permissions Create credit note for a return, Request refund for a return, Create and export refunds by bank transfer and view bank details, Create refunds as store credit and Set up carriers and test access. The additional permissions are not included in the normal returns permissions and have to be granted separately. All refund and credit note permissions require the edit permission for returns.
| Action | Plugin permission (technical) | Also required |
|---|---|---|
| Create credit note | Create credit note for a return (swp_return.swp_return_credit_note) | Edit returns, edit order, create documents |
| Request refund (Shopware, PayPal, Mollie, Klarna) | Request refund for a return (swp_return.swp_return_refund) | Edit returns, refund permissions of the order |
| Bank transfer | Create and export refunds by bank transfer and view bank details (swp_return.swp_return_bank_refund) | Edit returns |
| Store credit | Create refunds as store credit (swp_return.swp_return_store_credit) | Edit returns |
The Admin API checks the plugin permissions itself; an integration with Shopware’s refund permissions alone therefore cannot refund. No role has create, change or delete permissions on the history of a return, it is read-only. Deleting is blocked for returns with a refund, credit note, store credit or ongoing bank transfer (SWP_RETURN_PORTAL__RETURN_NOT_DELETABLE).
Database tables
The plugin does not change any Shopware tables. For the two refund paths it creates three tables of its own:
swp_return_bank_refund— per bank transfer the status (requested,open,exported,transferred,cancelled), amount, currency, copies of return and order number, sales channel, timestamps, masked IBAN and the encrypted bank details. If the return is deleted, the row stays as an accounting record.swp_store_credit— per store credit the check value of the code, last four characters, initial amount, balance, currency, sales channel, valid until and the return. The balance can never become negative. There is at most one store credit per return.swp_store_credit_transaction— the bookings of a store credit: issue (issue), deduction per order (redeem) and booking back on cancellation (revert).
Status, amounts and bookings cannot be written via PATCH or sync. Without “keep data”, uninstalling removes all three tables.
Connecting an ERP system
The plugin does not include a ready-made connector for a specific ERP system. Everything a connector needs is available via the Shopware Admin API. For access, create an integration with a suitable role in the administration: “view” in the Returns area is enough for reading; marking, state changes and goods receipt also need “edit”.
- Fetching returns:
POST /api/search/swp-returnwith the usual Shopware criteria. Useful associations:lineItems.orderLineItem,lineItems.reason,order,stateMachineState. - Marking as transferred: return and return item have custom fields (
customFields) a connector can write to freely, for example its own document number. A prefix per connector prevents overlaps. The custom fields are only visible via the Admin API, never in the portal or the Store API.
PATCH /api/swp-return/<id>
{
"customFields": { "erp_document_number": "RET-4711" },
"lineItems": [ { "id": "<line-item-id>", "customFields": { "erp_position": 10 } } ]
}
- Reporting the state back:
POST /api/_action/swp-return/<id>/transition/<action>withapprove,reject,create_label,ship,receive,complete,cancelorreopen. A state change triggers the same as in the administration: history, Flow Builder triggers and emails. - Recording goods receipt:
POST /api/_action/swp-return/<id>/receivewith{"items": [{"id": "<line-item-id>", "condition": "ok", "receivedQuantity": 1}]}; conditionok,damagedormissing. If the ERP system manages the stock, keep restocking in the plugin switched off. - Credit note and refund:
POST /api/_action/swp-return/<id>/credit-note/proposalandGET /api/_action/swp-return/<id>/refund/proposalreturn the proposed amount,POST …/credit-noteandPOST …/refundcarry them out. The integration additionally needsswp_return.swp_return_credit_noteorswp_return.swp_return_refund. If the refund through PayPal, Mollie or Klarna answers withfound: true, it was already booked at the provider and only added to the history. - History:
POST /api/search/swp-return-historyreads the history. It is append-only: creating and changing fail on the write protection of the fields, deleting is refused by the plugin with403andSWP_RETURN_PORTAL__HISTORY_READ_ONLY. - Bank transfers:
POST /api/search/swp-return-bank-refundreturns status, amount, numbers and the masked IBAN, never plain text. If the ERP system makes the transfers itself, it fetches account holder and IBAN withPOST /api/_action/swp-return/bank-refund/read-detailsand{"ids": [...]}(up to 100 IDs) and reports the execution back withPOST /api/_action/swp-return/bank-refund/transferred(up to 25 IDs per call); the payment state follows as in the administration. Both additionally need the permissionswp_return.swp_return_bank_refund. - Store credit:
POST /api/search/swp-store-creditandPOST /api/search/swp-store-credit-transactionreturn store credits and bookings, never the code.GET /api/_action/swp-return/<id>/store-credit/proposalreturns the proposal,POST /api/_action/swp-return/<id>/store-creditwith an optional{"amount": …}issues it and sends the email; both need the permissionswp_return.swp_return_store_credit. - Notification instead of polling: the events
swp_return.requested,swp_return.approved,swp_return.label_created,swp_return.label_failed,swp_return.received,swp_return.completed,swp_return.rejected,swp_return.withdrawal_received,swp_return.bank_details_requestedandswp_return.store_credit_issuedare registered as business events. Shopware apps can subscribe to them as webhooks.
Important:
swp_return.store_credit_issuedcarries the redeemable store credit code. A webhook on this event passes the code on to the app. Only subscribe apps you want to entrust with the code, and do not switch the related flow to delayed sending, because the code is then stored.
Store API for headless frontends
Both refund paths and the returns in the customer account also work in headless frontends (Composable Frontends), without any configuration reads of their own:
GET /store-api/account/swp-returnsreturns the returns and withdrawals of the logged-in customer in the current sales channel, newest first, with status, items, label and tracking data and the refund progress (refundwith way and state, masked IBAN or the last four characters of the store credit code, and while bank details are requestedbankDetailsTokenfor/store-api/swp-return/bank-details). Page withpageandlimit(default 10, at most 50); the response carriestotal,pageandlimit. Without login or with a guest account the route answers with 403.GET /store-api/swp-return/bank-details?token=…returns return number, order number, amount, currency and validity for a link from the email.POST /store-api/swp-return/bank-detailswithtoken,accountHolderandibansaves the bank details. An invalid, expired or used link results in a 404 response.GET /store-api/swp-return/eligibilityreturns the sales channel’s offer and the validity in months underrefundOffer;POST /store-api/swp-return/createacceptsrefundPreference(moneyorstore_credit) andstoreCreditConsent.POST /store-api/swp-store-credit/addwith{"code": "…"}redeems a code in the cart,POST /store-api/swp-store-credit/removewith{"lineItemId": "…"}removes it again. The cart line has the typeswp_store_credit.
No response contains the IBAN in plain text, the account holder or the store credit code. The Twig storefront uses the components SwpReturnPortalSix:Portal:RefundPreference, SwpReturnPortalSix:Portal:RefundProgress, SwpReturnPortalSix:Account:ReturnCard and SwpReturnPortalSix:Checkout:StoreCreditForm; a custom frontend builds their counterparts.
Updates and flows
The nine default flows are only active after the first installation. An update does not activate or replace flows you have deleted or switched off; flows that a new version brings arrive switched off. The exceptions are “Returns portal: bank details requested” and “Returns portal: store credit issued”: an update creates them active, because the email is the only way to reach the customer there.
This manual was written for Returns Portal: Guest Returns & Return Labels DHL, UPS, DPD, GLS version 6.7.0.
How much help do you need?
-
Updates and compatibility: Plugin-Care from €149 per month
Before every Shopware release we check whether your plugins keep up. You get a written recommendation and install the updates yourself. Cancel monthly.
See Plugin-Care -
Setup or customisation: intro call
Want us to set up the plugin, or are you missing a feature? We sort that out in a free intro call.
Book an intro call
Something in the plugin not working? Write to us
More manuals
Address Validation: House Number Check & Corrections
Address validation at the point of entry: the plugin spots missing house numbers, can suggest corrections via Google and helps you send fewer parcels that come back undeliverable.
Open manual Shopware 6Admin Password Reminder
Admin Password Reminder: your backend users renew their passwords on time, prompted after login and by a daily email. Premium locks expired accounts until the password is changed.
Open manual Shopware 6Admin Tweaks: Backend Lists & Shortcuts
Admin Customization
Open manualNeed a team that keeps your shop running?
We have been working with Shopware since 2010 and maintain shops including updates, hotfixes and the plugins you are configuring right now.