> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://doc.common-services.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Order Cancellation - Amazon Marketplace Plus

This feature allows the module to **cancel orders in both directions**:  

* If a customer cancels an order on **Amazon**, the module cancels it in **PrestaShop**  
* If you cancel an order in **PrestaShop**, the module cancels it on **Amazon**

---

## How to Enable

1. Go to **Modules > Amazon > Configure > Features tab**
2. Enable **“Order Cancelation”**

![Enable Cancelation](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_1n9q6tl.png)

3. Set the **Canceled order status** (make sure it [doesn’t send emails](https://doc.common-services.com/en/article/the-pending-shipment-order-status-automatically-sends-an-email-this-is-not-allowed-by-amazon-please-configure-another-order-status-12hhtwk/))

![Set Status](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_l9fg9l.png)

4. The module will generate the **cron URL** in the [Scheduled Tasks](https://doc.common-services.com/en/article/scheduled-tasks-amazon-marketplace-plus-1j9uidk/) tab.  

   This scheduled task handles all cancelations automatically.

---

## Cancelation Triggered by Amazon

If a customer cancels an order on Amazon:  

→ The module will **automatically update** the status in PrestaShop.

---

## Cancelation from PrestaShop

1. Set the order status to **Canceled**:

![Canceled Status](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_skao0u.png)

2. Select a **reason** (1) and click **Confirm cancelation** (2):

![Confirm Cancelation](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_sf2mob.png)

---

## Cancelation in Progress

While the scheduled task hasn’t processed the cancelation yet, you can still **revert it**:

![Revert Cancelation](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_jqdb4w.png)

Once the cancelation is completed, the module will display this confirmation:

![Order Canceled](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_w8qlfp.png)

✅ This confirms that the order has been successfully **canceled on Amazon**.
