{"title":"Manage orders","category":"default","creationDate":1670928420,"content":"<p>To learn about the configuration of order management settings in Adobe Commerce, refer to <a href=\"\/pt\/plugins\/adobe-commerce\/set-up-the-plugin-in-adobe-commerce#configure-order-management\">Configure order management<\/a>.<\/p>\n<p>You can manage orders in your Adobe Commerce admin panel, or in the Adyen Customer Area. The plugin uses <a href=\"\/pt\/plugins\/adobe-commerce\/set-up-adyen-customer-area#step-3-set-up-webhooks\">webhooks<\/a>, to keep the two platforms in sync.<\/p>\n<p>Optionally, you can <a href=\"\/pt\/plugins\/adobe-commerce\/set-up-the-plugin-in-adobe-commerce#configure-order-management\">customize which order statuses are triggered in Adobe Commerce<\/a>.<\/p>\n<h2 id=\"capture-an-order\">Capture an order<\/h2>\n<p>If you set up <a href=\"\/pt\/plugins\/adobe-commerce\/set-up-adyen-customer-area#step-4-optional-set-capture-delay\">manual capture<\/a>, you need to explicitly request a capture for each order to complete the transaction. You can <a href=\"\/pt\/account\/manage-payments#capture-a-payment\">capture an order in the Adyen Customer Area<\/a>, or in Adobe Commerce.<\/p>\n<p>To capture an order in Adobe Commerce:<\/p>\n<ol>\n<li>In your Adobe Commerce admin panel, go to <strong>Sales<\/strong> &gt; <strong>Orders<\/strong>. This opens the order overview page.<\/li>\n<li>Select the order you want to capture.<\/li>\n<li>In the upper right corner of the page, select <strong>Invoice<\/strong>.<\/li>\n<li>If you want to make a partial capture, reduce the quantity of the products.<\/li>\n<li>Select <strong>Submit Invoice<\/strong> to complete the capture.<\/li>\n<\/ol>\n<p>When you have captured an order, a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Webhooks\/1\/post\/CAPTURE\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">CAPTURE<\/a> webhook is sent to Adobe Commerce. After you have successfully captured the order, the Adobe Commerce invoice status will move to <strong>Paid<\/strong>.<\/p>\n<h2 id=\"cancel-an-order\">Cancel an order<\/h2>\n<p>You can cancel an order if it is authorised, but not yet captured. This is only possible if you have <a href=\"\/pt\/plugins\/adobe-commerce\/set-up-adyen-customer-area#step-4-optional-set-capture-delay\">set capture delay to <strong>manual<\/strong> <\/a> in the Adobe Commerce admin panel. You can <a href=\"\/pt\/account\/manage-payments#cancel-a-payment\">cancel an order in the Adyen Customer Area<\/a>, or in Adobe Commerce.<\/p>\n<p>After an order is captured, it is impossible to cancel the order. If you want to return the funds to your shopper, you need to <a href=\"#refund-an-order\">refund<\/a> the order.<\/p>\n<p>To cancel an order in Adobe Commerce:<\/p>\n<ol>\n<li>In your Adobe Commerce admin panel, go to <strong>Sales<\/strong> &gt; <strong>Orders<\/strong>. This opens the order overview page.<\/li>\n<li>Select the order you want to cancel.<\/li>\n<li>In the upper-right corner of the page, select <strong>Cancel<\/strong>.<\/li>\n<\/ol>\n<p>When you have canceled an order, a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Webhooks\/latest\/post\/CANCELLATION\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">CANCELLATION<\/a> webhook is sent to Adobe Commerce. After you have successfully cancelled the order, the Adobe Commerce order status will move to <strong>Closed<\/strong>, or to the status that you selected in the admin panel for <a href=\"\/pt\/plugins\/adobe-commerce\/set-up-the-plugin-in-adobe-commerce#adobe-commerce-order-processing\">\n  <strong>Order status: order cancellation<\/strong>\n<\/a>.<\/p>\n<h2 id=\"refund-an-order\">Refund an order<\/h2>\n<p>If you want to return the funds to your shopper, for example if they returned an item, you need to refund the payment. You can <a href=\"\/pt\/account\/manage-payments#refund-a-payment\">refund an order in the Adyen Customer Area<\/a>, or in Adobe Commerce.<\/p>\n<p>To refund an order in Adobe Commerce:\u00a0<\/p>\n<ol>\n<li>In your Adobe Commerce admin panel, go to\u00a0<strong>Sales<\/strong>\u00a0&gt;\u00a0<strong>Orders<\/strong>. This opens the order overview page.\u00a0<\/li>\n<li>Click on the order you want to refund.<\/li>\n<li>In the\u00a0<strong>Order View<\/strong>\u00a0menu on the left, select\u00a0<strong>Invoices<\/strong>.<\/li>\n<li>In the invoice overview page for the selected order, select the order invoice you need to create a refund for.<\/li>\n<li>In the on the upper-right corner of the page, select\u00a0<strong>Credit Memo<\/strong>.<\/li>\n<li>On the\u00a0<strong>New Memo<\/strong>\u00a0page, scroll down to the\u00a0<strong>Items to Refund<\/strong>\u00a0pane.<\/li>\n<li>Select the quantity of items that you want to refund.<\/li>\n<li>Select\u00a0<strong>Refund<\/strong>\u00a0at the bottom of the page.<\/li>\n<\/ol>\n<p>When you make a refund, a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Webhooks\/1\/post\/REFUND\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">REFUND<\/a> notification is sent to Adobe Commerce and a credit memo is created. If you refunded part of an order, the Adobe Commerce order status remains <strong>Processing<\/strong>. If you refunded the order completely, the Adobe Commerce order status will move to\u00a0<strong>Closed<\/strong>. If your refund was successful, the credit memo status changes to <strong>Refunded<\/strong>.<\/p>\n<h2>Expired payments<\/h2>\n<p>If a payment expires, an  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Webhooks\/latest\/post\/OFFER_CLOSED\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">OFFER_CLOSED<\/a> webhook is sent to Adobe Commerce. This event code ensures that expired payments are automatically closed, for example if the shopper abandons the payment session.<\/p>\n<p>The default setting for an order expiration date depends on the payment method:<\/p>\n<ul>\n<li>Card payments: 12 hours<\/li>\n<li>Other payment methods: up to 28 days<\/li>\n<\/ul>\n<p>If you want to change the default setting, 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> to configure a custom expiry date and specify the merchant accounts, schemes and timeframe in hours or days.<\/p>\n<h4>Expired SVS gift card payments<\/h4>\n<p>An <a href=\"\/pt\/plugins\/release-notes?plugin=magento_2&amp;version=8.19.0\">exception<\/a> occurs for SVS gift card payments where Adyen does not send an  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Webhooks\/latest\/post\/OFFER_CLOSED\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">OFFER_CLOSED<\/a> webhook for expired SVS gift card payments.<\/p>\n<p>Currently, offers are only closed automatically if shoppers abandon the payment session by selecting the <strong>Previous<\/strong> button on the SVS payment page. If shoppers abandon the payment session differently, for example by closing the browser, the offers can not be closed automatically. This means that you have to close these offers manually from the Adobe Commerce admin panel.<\/p>\n<p>Alternatively, you can <a href=\"https:\/\/experienceleague.adobe.com\/docs\/commerce-admin\/stores-sales\/order-management\/orders\/order-scheduled-operations.html?lang=en#set-pending-payment-order-lifetime\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">set a pending payment order lifetime in Adobe Commerce<\/a> to run scheduled cron jobs which close pending offers.<\/p>\n<h2 id=\"case-management\">Case management<\/h2>\n<p>For an extra layer of fraud protection, you may want to manually review a transaction before it is captured. A transaction can be sent to <a href=\"\/pt\/risk-management\/case-management\">case management<\/a> for manual review when it reaches a certain risk score, or triggers a specific risk rule.<\/p>\n<p>You have to enable <a href=\"\/pt\/risk-management\">RevenueProtect<\/a> premium, and configure manual review settings to use case management.<\/p>\n<p>Set up case management in the Adyen Customer Area:<\/p>\n<ol>\n<li>Log in to your Adyen <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a> with your company account.<\/li>\n<li><a href=\"\/pt\/risk-management\/case-management\/#set-roles\">Assign roles<\/a> to users for manual review.<\/li>\n<li><a href=\"\/pt\/risk-management\/case-management\/#set-triggers\">Set a trigger for manual review<\/a>.<\/li>\n<li><a href=\"\/pt\/risk-management\/case-management#case-management-settings\">Configure actions and webhooks<\/a>.<br \/>\nThese are the recommended <strong>Case management behavior<\/strong> settings for the plugin:<br \/>\n<strong>Accept<\/strong>: Select <strong>Capture<\/strong> and then select <strong>Send notification<\/strong>.<br \/>\n<strong>Reject<\/strong>: Select <strong>Cancel<\/strong> and then select <strong>Send notification<\/strong>.<br \/>\n<strong>Expire<\/strong>: Leave <strong>None<\/strong> as this will be automatically handled by the plugin.<\/li>\n<li>Select <strong>Save configuration<\/strong>.<\/li>\n<\/ol>\n<p>Optionally, you can configure additional manual review settings in Adobe Commerce:<\/p>\n<ol>\n<li>In your Adobe Commerce admin panel, go to\u00a0<strong>Stores<\/strong>\u00a0&gt;\u00a0<strong>Configuration<\/strong>.\u00a0<\/li>\n<li>In the menu, go to\u00a0<strong>Sales<\/strong>\u00a0&gt;\u00a0<strong>Payment Methods<\/strong>.<\/li>\n<li>Select <strong>Configure<\/strong> next to <strong>Adyen Payments<\/strong>.<\/li>\n<li>In the <strong>Payment optimization<\/strong> section, select <strong>Risk management<\/strong>.\n<ol>\n<li>Only if you want a separate status to be triggered when Adyen notifies Adobe Commerce that a payment has come under manual review, set <strong>Manual review status<\/strong> to <strong>Pending<\/strong>.<\/li>\n<li>Only if you have not defined actions for <a href=\"\/pt\/risk-management\/case-management\">case management actions and modifications<\/a> in your Customer Area, set the <strong>Manual review accepted status<\/strong> field.<\/li>\n<\/ol><\/li>\n<li>Select <strong>Save Config<\/strong> in the upper right corner.<\/li>\n<\/ol>","url":"https:\/\/docs.adyen.com\/pt\/plugins\/adobe-commerce\/manage-orders","articleFields":{"description":"Capture, cancel and refund orders in Adobe Commerce.","id":"39953528","type":"page","_expandable":{"operations":""},"status":"current","last_edit_on":"30-06-2023 15:33","feedback_component":true,"filters_component":false},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/plugins\/adobe-commerce\/manage-orders","title":"Manage orders","content":"To learn about the configuration of order management settings in Adobe Commerce, refer to Configure order management.\nYou can manage orders in your Adobe Commerce admin panel, or in the Adyen Customer Area. The plugin uses webhooks, to keep the two platforms in sync.\nOptionally, you can customize which order statuses are triggered in Adobe Commerce.\nCapture an order\nIf you set up manual capture, you need to explicitly request a capture for each order to complete the transaction. You can capture an order in the Adyen Customer Area, or in Adobe Commerce.\nTo capture an order in Adobe Commerce:\n\nIn your Adobe Commerce admin panel, go to Sales &gt; Orders. This opens the order overview page.\nSelect the order you want to capture.\nIn the upper right corner of the page, select Invoice.\nIf you want to make a partial capture, reduce the quantity of the products.\nSelect Submit Invoice to complete the capture.\n\nWhen you have captured an order, a  CAPTURE webhook is sent to Adobe Commerce. After you have successfully captured the order, the Adobe Commerce invoice status will move to Paid.\nCancel an order\nYou can cancel an order if it is authorised, but not yet captured. This is only possible if you have set capture delay to manual  in the Adobe Commerce admin panel. You can cancel an order in the Adyen Customer Area, or in Adobe Commerce.\nAfter an order is captured, it is impossible to cancel the order. If you want to return the funds to your shopper, you need to refund the order.\nTo cancel an order in Adobe Commerce:\n\nIn your Adobe Commerce admin panel, go to Sales &gt; Orders. This opens the order overview page.\nSelect the order you want to cancel.\nIn the upper-right corner of the page, select Cancel.\n\nWhen you have canceled an order, a  CANCELLATION webhook is sent to Adobe Commerce. After you have successfully cancelled the order, the Adobe Commerce order status will move to Closed, or to the status that you selected in the admin panel for \n  Order status: order cancellation\n.\nRefund an order\nIf you want to return the funds to your shopper, for example if they returned an item, you need to refund the payment. You can refund an order in the Adyen Customer Area, or in Adobe Commerce.\nTo refund an order in Adobe Commerce:\u00a0\n\nIn your Adobe Commerce admin panel, go to\u00a0Sales\u00a0&gt;\u00a0Orders. This opens the order overview page.\u00a0\nClick on the order you want to refund.\nIn the\u00a0Order View\u00a0menu on the left, select\u00a0Invoices.\nIn the invoice overview page for the selected order, select the order invoice you need to create a refund for.\nIn the on the upper-right corner of the page, select\u00a0Credit Memo.\nOn the\u00a0New Memo\u00a0page, scroll down to the\u00a0Items to Refund\u00a0pane.\nSelect the quantity of items that you want to refund.\nSelect\u00a0Refund\u00a0at the bottom of the page.\n\nWhen you make a refund, a  REFUND notification is sent to Adobe Commerce and a credit memo is created. If you refunded part of an order, the Adobe Commerce order status remains Processing. If you refunded the order completely, the Adobe Commerce order status will move to\u00a0Closed. If your refund was successful, the credit memo status changes to Refunded.\nExpired payments\nIf a payment expires, an  OFFER_CLOSED webhook is sent to Adobe Commerce. This event code ensures that expired payments are automatically closed, for example if the shopper abandons the payment session.\nThe default setting for an order expiration date depends on the payment method:\n\nCard payments: 12 hours\nOther payment methods: up to 28 days\n\nIf you want to change the default setting, contact our Support Team to configure a custom expiry date and specify the merchant accounts, schemes and timeframe in hours or days.\nExpired SVS gift card payments\nAn exception occurs for SVS gift card payments where Adyen does not send an  OFFER_CLOSED webhook for expired SVS gift card payments.\nCurrently, offers are only closed automatically if shoppers abandon the payment session by selecting the Previous button on the SVS payment page. If shoppers abandon the payment session differently, for example by closing the browser, the offers can not be closed automatically. This means that you have to close these offers manually from the Adobe Commerce admin panel.\nAlternatively, you can set a pending payment order lifetime in Adobe Commerce to run scheduled cron jobs which close pending offers.\nCase management\nFor an extra layer of fraud protection, you may want to manually review a transaction before it is captured. A transaction can be sent to case management for manual review when it reaches a certain risk score, or triggers a specific risk rule.\nYou have to enable RevenueProtect premium, and configure manual review settings to use case management.\nSet up case management in the Adyen Customer Area:\n\nLog in to your Adyen Customer Area with your company account.\nAssign roles to users for manual review.\nSet a trigger for manual review.\nConfigure actions and webhooks.\nThese are the recommended Case management behavior settings for the plugin:\nAccept: Select Capture and then select Send notification.\nReject: Select Cancel and then select Send notification.\nExpire: Leave None as this will be automatically handled by the plugin.\nSelect Save configuration.\n\nOptionally, you can configure additional manual review settings in Adobe Commerce:\n\nIn your Adobe Commerce admin panel, go to\u00a0Stores\u00a0&gt;\u00a0Configuration.\u00a0\nIn the menu, go to\u00a0Sales\u00a0&gt;\u00a0Payment Methods.\nSelect Configure next to Adyen Payments.\nIn the Payment optimization section, select Risk management.\n\nOnly if you want a separate status to be triggered when Adyen notifies Adobe Commerce that a payment has come under manual review, set Manual review status to Pending.\nOnly if you have not defined actions for case management actions and modifications in your Customer Area, set the Manual review accepted status field.\n\nSelect Save Config in the upper right corner.\n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Plugins","lvl2":"Adobe Commerce","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\/adobe-commerce","lvl3":"\/pt\/plugins\/adobe-commerce\/manage-orders"},"levels":4,"category":"Plugins","category_color":"green","tags":["Manage","orders"]}}
