This article explains how order and checkout statuses in Shopware are mapped within Spotler Connect.
On this page you have the following options:
Order and Checkout statuses
Shopware defines multiple states for orders that can sometimes conflict with the single default state used in Spotler Connect. For example, a Delivery status of Shipped combined with a Payment status of Cancelled can result in conflicting signals. To resolve these conflicts, Connect maps Shopware order statuses based on the combination of Order, Delivery, and Payment statuses, ensuring that only orders that can actually be processed are set to Processing.
Order statuses Shopware
The following table maps Shopware statuses to their corresponding Spotler Connect statuses:
| Shopware Status | Spotler Connect Status |
|---|---|
Order status Open
|
Depends on Delivery and Payment status |
Order status In progress
|
Processing |
Order status Done
|
Completed |
Order status Cancelled
|
Cancelled |
Delivery status Open
|
Depends on Payment status |
Delivery status Shipped partially
|
Partially shipped |
Delivery status Shipped
|
Completed |
Delivery status Returned
|
Returned |
Delivery status Returned partially
|
Partially Returned |
Payment status Paid
|
Processing |
Payment status Open
|
Pending payment |
Payment status Paid Partially
|
Pending payment |
Payment status Reminded
|
Pending payment |
Payment status Cancelled
|
Cancelled |
Payment status In Progress
|
Pending payment |
Payment status Unconfirmed
|
Pending payment |
Payment status Failed
|
Failed |
Payment status Authorized
|
Pending payment |
Payment status Chargeback
|
On hold |
Payment status Refunded
|
Refunded |
Payment status Refunded partially
|
Partially Refunded |
Status priorities
Shopware has several order states which can conflict with the single default state in Spotler Connect. To resolve these conflicts, Spotler Connect maps order statuses based on the following priorities:
-
Order status: The order status is evaluated first.
- When the order status is
Open, both Delivery and Payment statuses are subsequently checked. - When the order status is
In progress, Spotler Connect maps the order toProcessing. - When the order status is
Done, it is mapped toCompleted. - When the order status is
Cancelled, it is mapped toCancelled.
- When the order status is
-
Delivery status: For orders with an
Openorder status, the Delivery status is considered.- If the Delivery status is
Open, the Payment status is leading. - If the Delivery status is
Shipped, the order is mapped toCompleted. - If it Delivery status is
Shipped partially, the order is mapped toPartially shipped. - If the Delivery status is
ReturnedorReturned partially, the order is mapped toReturnedorPartially Returnedrespectively. - If the Delivery status is
Cancelled, the order is mapped toCancelled.
- If the Delivery status is
-
Payment status:
- Iif the Payment status is
Open,Paid Partially,Reminded,Cancelled,In Progress,Unconfirmed,Failed, orAuthorized, the order is mapped toPending payment. - If the Payment status is
Paid, the order is mapped toProcessing. - If the Payment status is
Chargeback, it is mapped toOn hold. - If the Payment status is
RefundedorRefunded partially, the order is mapped toRefundedorPartially Refundedrespectively.
- Iif the Payment status is
- If a combination of statuses cannot determine a clear outcome, the order state in Spotler Connect is mapped to
Unknown.
Checkout statuses Shopware
The checkout process in Shopware is also mapped to corresponding statuses in Spotler Connect. The table below shows the mapping for checkout statuses. It's very straightfoward.
| Shopware Status | Spotler Connect Status |
|---|---|
Pending |
Pending |
Abandoned |
Abandoned* |
Completed |
Completed |
* After a predetermined time interval (default 30 min, adjustable in your integration settings for Shopware), any checkout without a related order from Shopware is marked as Abandoned.