# PrestaShop Integration REVER connects to PrestaShop through the REVER module, available on the [PrestaShop Addons Marketplace](https://addons.prestashop.com/en/returns-warranty-management/99424-rever-returns-exchanges-and-refunds-automation.html). The module lets REVER load your orders into returns, set the return statuses, create credit slips and exchange orders, update stock and refund through supported payment modules. This guide covers buying and installing the module, connecting it to REVER and installing updates. ## Requirements - PrestaShop 1.7.7 or later, and PHP 7.1 or later. - The ecommerce IDs your REVER account manager created for your store. - The store must be publicly reachable over HTTPS at the address registered in PrestaShop, and the server must be able to make outbound HTTPS requests. ## 1. Buy and install the module The module is a paid product on the PrestaShop Addons Marketplace. The price includes the module and one year of **Business Care**, PrestaShop's support subscription, which gives you access to the module updates. **REVER customers get this amount back.** REVER refunds the price you paid on the marketplace as a discount on your first REVER invoice. The module is paid because PrestaShop requires it for this kind of listing. The payment also works as a security check: only merchants who go through the marketplace purchase can install the module and connect a store to REVER. 1. Sign in to the [PrestaShop Addons Marketplace](https://addons.prestashop.com/) with the PrestaShop account connected to your store, or create one. 2. Open the [REVER module page](https://addons.prestashop.com/en/returns-warranty-management/99424-rever-returns-exchanges-and-refunds-automation.html), add it to your cart and complete the payment. 3. In your store's back office, go to **Modules** > **Marketplace**. REVER appears at the top of the page, in **Modules pending installation**. 4. Click **Install**, then **Configure**. If REVER does not appear there, check that your store is connected to the same PrestaShop account you used to buy the module. On PrestaShop Open Source, the **Marketplace** option needs the **PrestaShop Marketplace** module: if you only see **Module Manager** under **Modules**, it is missing. If it still does not appear, see [Install with the module file](#install-with-the-module-file). ## 2. Connect your store to REVER 1. Open the module configuration page. The module registers the store with REVER automatically. When the status shows **Registered**, continue. 2. In **REVER ecommerce IDs**, enter the ecommerce IDs your account manager gave you: - **One ecommerce:** enter its ID, for example `my-store`. - **Several ecommerces in the same shop** (for example, one per country): enter all of them, one per line or separated by commas, for example `my-store-es, my-store-fr`. 3. Click **Save**. The status changes to **Connected**. The field always holds the complete list of ecommerces connected to the shop. All the IDs are connected together: if REVER rejects one, none is connected and the error message names it. To add an ecommerce later, add its ID to the existing list and save again. To disconnect one, remove it from the list and save. If the registration does not complete, reload the page and the module retries. **Multistore:** each shop is connected separately, with its own list. Select the shop in the shop selector, open the module configuration page and enter only that shop's ecommerce IDs. Repeat for every shop you want to connect. ## 3. Install updates New versions of the module are published on the PrestaShop Addons Marketplace. They are included in your **Business Care** subscription, which comes with the purchase for the first year and renews automatically every year. Before updating, put your store in maintenance mode and take a backup of the module files. 1. Go to **Modules** > **Module Manager** and find **REVER**. When a new version exists, it shows **Update available**. 2. Open the menu on the right of the module and click **Update**. If **Update available** does not appear after a new version is published, check that your store is still connected to the PrestaShop account you used to buy the module. You can also install the new version with the module file, as described in [Install with the module file](#install-with-the-module-file). After updating, open the module configuration page and check that the status still shows **Connected**. ## 4. Stores with a module installed before the marketplace If REVER already manages returns in your store with a module installed before it was published on the marketplace, move to the marketplace version to keep receiving updates. You only need to do this once, and returns keep working during the whole process. 1. **Contact your usual REVER contact.** They give you your ecommerce IDs and arrange the refund of the marketplace price on your next REVER invoice. 2. Buy the module as described in [Buy and install the module](#1-buy-and-install-the-module), steps 1 and 2, with the PrestaShop account connected to your store. 3. In your back office, go to **Modules** > **Module Manager** and find **REVER**. It shows **Update available**: open the menu on the right and click **Update**. PrestaShop updates your current module and keeps its configuration. 4. Open the module configuration page and click **Upgrade connection**. Enter your ecommerce IDs as described in [Connect your store to REVER](#2-connect-your-store-to-rever) and click **Save**. If **Update available** does not appear, see [Install with the module file](#install-with-the-module-file). Do not uninstall your current module to install the new one: update it instead. Uninstalling deletes the key REVER uses to access your store, and returns stop working until the store is connected again. ## Install with the module file Use this only if REVER does not appear in **Modules** > **Marketplace** after you buy it. This happens when your store is not connected to the PrestaShop account you used to buy the module, or when the **Marketplace** option is missing. In that case, download the module from the PrestaShop Addons website and upload it to your store yourself. The download is a single `.zip` file: you do not need to open or unzip it. 1. Go to [addons.prestashop.com](https://addons.prestashop.com/) and sign in with the account you used to buy the module. 2. Open your account menu, go to the **Products** tab, find **REVER: Returns, Exchanges and Refunds Automation** and click **Download**. 3. If PrestaShop asks for it, enter the address of your live store (not a test store) and select your PrestaShop version. The file is saved to your computer, usually in your **Downloads** folder. 4. In your store's back office, go to **Modules** > **Module Manager** and click **Upload a module** (top right). 5. Drag the downloaded file into the window, or click to select it. PrestaShop installs the module in a few seconds. 6. When it finishes, click **Configure** and continue with [Connect your store to REVER](#2-connect-your-store-to-rever). You can find your PrestaShop version in the back office, under **Advanced Parameters** > **Information**. ## Connect from the REVER dashboard If the module can't connect your store, for example because your server drops the `Authorization` header, you can connect it from the REVER dashboard with the module's key instead: see [Connect PrestaShop from the dashboard](/guides/connect-prestashop). ## Support Contact REVER through the PrestaShop Addons messaging system, from the module's marketplace page. Include the module version, your PrestaShop version and the full error message, if any. The module version and PrestaShop version are shown on the module configuration page.