{"title":"Manage orders","category":"default","creationDate":1670928420,"content":"<h2 id=\"order-management\">Manage orders<\/h2>\n<p>The plugin creates an order before creating the payment.<\/p>\n<p>To manage orders and view transaction summaries go to:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.shopware.com\/en\/shopware-6-en\/first-steps\/administration-overview\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Shopware 6 Administration<\/a> &gt; <strong>Orders<\/strong> &gt; <strong>Overview<\/strong>.<\/li>\n<li>Your Adyen <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a> where you can find more detailed reporting and conversion analytics.<\/li>\n<\/ul>\n<p>The Shopware and Adyen platforms are synchronized using webhooks.<\/p>\n<h2 id=\"payment-status\">View payment status<\/h2>\n<p>You can find the statuses of your payments in Shopware orders overview.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Shopware payment status<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>open<\/strong><\/td>\n<td style=\"text-align: left;\">The default state for new orders, it means no webhook was received.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>in progress<\/strong><\/td>\n<td style=\"text-align: left;\">The payment transaction is still in progress.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>paid<\/strong><\/td>\n<td style=\"text-align: left;\">The payment was successful.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>failed<\/strong><\/td>\n<td style=\"text-align: left;\">The payment authorization or capture failed or the payment expired or was canceled.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>refunded<\/strong><\/td>\n<td style=\"text-align: left;\">The payment has been refunded.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Change payment expiry<\/h2>\n<p>An order expires if the shopper doesn't complete the payment, for example if they abandon the session.<\/p>\n<p>After you <a href=\"\/pt\/development-resources\/webhooks\/webhook-types#non-default-event-codes\">enable the <code>OFFER_CLOSED<\/code> webhook in your Adyen Customer Area<\/a>, an order expires if the shopper doesn't complete the payment after:<\/p>\n<ul>\n<li>12 hours for card payments.<\/li>\n<li>up to 24 days for other payment methods.<\/li>\n<\/ul>\n<p>When an order expires, the <a href=\"\/pt\/plugins\/shopware-6\/manage-orders-in-shopware#payment-status\">payment status<\/a> changes to <strong>failed<\/strong>.<\/p>\n<p>To change when orders expire, contact the <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a> and ask them to set the <code>OFFER_CLOSED<\/code> webhook to when you want orders to expire. You can request to set it to 1 hour or longer.<\/p>\n<h2 id=\"capture-order\">Capture an order<\/h2>\n<p>You can capture orders <a href=\"\/pt\/online-payments\/capture\">automatically<\/a> or <a href=\"\/pt\/online-payments\/capture#manual-capture\">manually<\/a> in Shopware. The default capture mode in the Shopware 6 plugin is automatic for all payment methods with the exception of open invoice payments.<\/p>\n<p>Before you set up capture in your Shopware back end, you have to <a href=\"\/pt\/online-payments\/capture#delayed-automatic-capture\">set up capture delay in your Customer Area<\/a>.<\/p>\n<h3>Manual capture<\/h3>\n<p>To use manual capture, you first need to enable it in your Shopware back end:<\/p>\n<ol>\n<li>Go to <strong>Settings<\/strong> &gt; <strong>System<\/strong> &gt; <strong>Plugins<\/strong>.<\/li>\n<li>Next to <strong>Adyen Payment plugin<\/strong>, select \"<strong>...<\/strong>\".<\/li>\n<li>Select <strong>Config<\/strong> and enable <strong>Manual Capture<\/strong>.<\/li>\n<\/ol>\n<div class=\"notices yellow\">\n<p>This configuration doesn't affect open invoice payment methods.<\/p>\n<\/div>\n<p>If you set up manual capture, you need to explicitly request a capture for each order to complete the transaction.<\/p>\n<h3>Automatic capture for open invoice payment methods<\/h3>\n<p><a href=\"\/pt\/plugins\/shopware-6\/supported-payment-methods#buy-now-pay-later\">Open invoice payment methods<\/a> are set to manual capture by default. If you want to enable automatic capture for open invoice payments, contact our <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a>. After our support team approves your request, you need to enable auto capture for open invoice payments in your Shopware back end:<\/p>\n<ol>\n<li>Go to <strong>Settings<\/strong> &gt; <strong>System<\/strong> &gt; <strong>Plugins<\/strong>.<\/li>\n<li>Next to <strong>Adyen Payment plugin<\/strong>, select \"<strong>...<\/strong>\".<\/li>\n<li>Select <strong>Config<\/strong> and enable <strong>Use auto capture for open invoice payments<\/strong>.<\/li>\n<\/ol>\n<h3>Capture on shipment for open invoice payment methods<\/h3>\n<p>For open invoice payments you can request a capture for an order after shipment. You can enable capture on shipment in your Shopware back end:<\/p>\n<ol>\n<li>Go to <strong>Settings<\/strong> &gt; <strong>System<\/strong> &gt; <strong>Plugins<\/strong>.<\/li>\n<li>Next to <strong>Adyen Payment plugin<\/strong>, select \"<strong>...<\/strong>\".<\/li>\n<li>Select <strong>Config<\/strong> and enable <strong>Capture on shipment for open invoice payments<\/strong>.<\/li>\n<li>Under <strong>Order shipping state for triggering capture<\/strong>, select the shipment state you want to trigger the capture request for from the dropdown menu.<\/li>\n<li>Under <strong>Capture delay for shipping<\/strong>, select the delay time for capturing shopper's funds after the shipping state is satisfied in seconds.<\/li>\n<\/ol>\n<h2 id=\"refunds\">Refund an order<\/h2>\n<p>If you need to refund an order, you can do this in:<\/p>\n<ul>\n<li><a href=\"\/pt\/account\/manage-payments#refund-a-payment\">the Adyen Customer Area<\/a>. When refunding in your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>, you can issue both full and partial refunds.<\/li>\n<li><a href=\"#refund-shopware\">the Shopware back end<\/a>. This is supported in plugin version 3.1.0 and later, or 2.2.0 and later. When refunding in the Shopware back end, you can currently only make full refunds. Partial refunds will be supported in a future version of the plugin.<\/li>\n<\/ul>\n<p>When your refund request has been processed, you see the <a href=\"#refund-outcome\">outcome of the refund request<\/a> in the Shopware back end.<\/p>\n<h3 id=\"refund-shopware\">Refund in the Shopware back end<\/h3>\n<p>To issue a full refund in the Shopware back end:<\/p>\n<ol>\n<li>Go to <strong>Orders<\/strong> &gt; <strong>Overview<\/strong> and select the order that you want to refund.<\/li>\n<li>Move through the page to the <strong>Adyen Refunds<\/strong> section.<\/li>\n<li>Click on <strong>Create new<\/strong>, and confirm your request.<\/li>\n<\/ol>\n<h3 id=\"refund-outcome\">Get the outcome of the refund request<\/h3>\n<p>After you have submitted the refund request, either in your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a> or in the Shopware back end, an entry with a <strong>Pending Webhook<\/strong> status is created in the table below the <a href=\"#refund-shopware\"><strong>Create new<\/strong> button<\/a>. This means that the refund has been submitted, but not yet processed.<\/p>\n<p>When the refund is processed by Adyen, we send a <a href=\"\/pt\/online-payments\/refund#refund-webhook\">REFUND webhook<\/a>. When this webhook is processed by Shopware, the <strong>Pending Webhook<\/strong> status is updated to <strong>Success<\/strong> or <strong>Failed<\/strong>, depending on the outcome of the refund request.<\/p>","url":"https:\/\/docs.adyen.com\/pt\/plugins\/shopware-6\/manage-orders-in-shopware","articleFields":{"description":"View payment statuses, capture and refund orders in Shopware.","id":"39953528","type":"page","status":"current","feedback_component":true,"filters_component":false,"last_edit_on":"08-05-2023 15:33"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/plugins\/shopware-6\/manage-orders-in-shopware","title":"Manage orders","content":"Manage orders\nThe plugin creates an order before creating the payment.\nTo manage orders and view transaction summaries go to:\n\nShopware 6 Administration &gt; Orders &gt; Overview.\nYour Adyen Customer Area where you can find more detailed reporting and conversion analytics.\n\nThe Shopware and Adyen platforms are synchronized using webhooks.\nView payment status\nYou can find the statuses of your payments in Shopware orders overview.\n\n\n\nShopware payment status\nDescription\n\n\n\n\nopen\nThe default state for new orders, it means no webhook was received.\n\n\nin progress\nThe payment transaction is still in progress.\n\n\npaid\nThe payment was successful.\n\n\nfailed\nThe payment authorization or capture failed or the payment expired or was canceled.\n\n\nrefunded\nThe payment has been refunded.\n\n\n\nChange payment expiry\nAn order expires if the shopper doesn't complete the payment, for example if they abandon the session.\nAfter you enable the OFFER_CLOSED webhook in your Adyen Customer Area, an order expires if the shopper doesn't complete the payment after:\n\n12 hours for card payments.\nup to 24 days for other payment methods.\n\nWhen an order expires, the payment status changes to failed.\nTo change when orders expire, contact the Support Team and ask them to set the OFFER_CLOSED webhook to when you want orders to expire. You can request to set it to 1 hour or longer.\nCapture an order\nYou can capture orders automatically or manually in Shopware. The default capture mode in the Shopware 6 plugin is automatic for all payment methods with the exception of open invoice payments.\nBefore you set up capture in your Shopware back end, you have to set up capture delay in your Customer Area.\nManual capture\nTo use manual capture, you first need to enable it in your Shopware back end:\n\nGo to Settings &gt; System &gt; Plugins.\nNext to Adyen Payment plugin, select \"...\".\nSelect Config and enable Manual Capture.\n\n\nThis configuration doesn't affect open invoice payment methods.\n\nIf you set up manual capture, you need to explicitly request a capture for each order to complete the transaction.\nAutomatic capture for open invoice payment methods\nOpen invoice payment methods are set to manual capture by default. If you want to enable automatic capture for open invoice payments, contact our Support Team. After our support team approves your request, you need to enable auto capture for open invoice payments in your Shopware back end:\n\nGo to Settings &gt; System &gt; Plugins.\nNext to Adyen Payment plugin, select \"...\".\nSelect Config and enable Use auto capture for open invoice payments.\n\nCapture on shipment for open invoice payment methods\nFor open invoice payments you can request a capture for an order after shipment. You can enable capture on shipment in your Shopware back end:\n\nGo to Settings &gt; System &gt; Plugins.\nNext to Adyen Payment plugin, select \"...\".\nSelect Config and enable Capture on shipment for open invoice payments.\nUnder Order shipping state for triggering capture, select the shipment state you want to trigger the capture request for from the dropdown menu.\nUnder Capture delay for shipping, select the delay time for capturing shopper's funds after the shipping state is satisfied in seconds.\n\nRefund an order\nIf you need to refund an order, you can do this in:\n\nthe Adyen Customer Area. When refunding in your Customer Area, you can issue both full and partial refunds.\nthe Shopware back end. This is supported in plugin version 3.1.0 and later, or 2.2.0 and later. When refunding in the Shopware back end, you can currently only make full refunds. Partial refunds will be supported in a future version of the plugin.\n\nWhen your refund request has been processed, you see the outcome of the refund request in the Shopware back end.\nRefund in the Shopware back end\nTo issue a full refund in the Shopware back end:\n\nGo to Orders &gt; Overview and select the order that you want to refund.\nMove through the page to the Adyen Refunds section.\nClick on Create new, and confirm your request.\n\nGet the outcome of the refund request\nAfter you have submitted the refund request, either in your Customer Area or in the Shopware back end, an entry with a Pending Webhook status is created in the table below the Create new button. This means that the refund has been submitted, but not yet processed.\nWhen the refund is processed by Adyen, we send a REFUND webhook. When this webhook is processed by Shopware, the Pending Webhook status is updated to Success or Failed, depending on the outcome of the refund request.","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Plugins","lvl2":"Shopware 6","lvl3":"Manage orders"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/plugins","lvl2":"https:\/\/docs.adyen.com\/pt\/plugins\/shopware-6","lvl3":"\/pt\/plugins\/shopware-6\/manage-orders-in-shopware"},"levels":4,"category":"Plugins","category_color":"green","tags":["Manage","orders"]}}
