> This page is for Afterpay Online Developer, version Main (default).
> For other versions, use one of these documentation indexes:
> - Main (default): https://developers.afterpay.com/afterpay-online-developer/main/llms.txt
> - v1: https://developers.afterpay.com/afterpay-online-developer/v-1/llms.txt
> - Chinese: https://developers.afterpay.com/afterpay-online-developer/chinese/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.afterpay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.afterpay.com/_mcp/server.

# Migrating to the New Afterpay Module

Afterpay periodically updates its module.

There are two ways to ensure your module is up-to-date:

* [Use the PrestaShop Marketplace](#use-the-prestashop-marketplace)

* [Use the Module Manager updating tool](#use-the-module-manager-updating-tool)

> **Note**
>
> We strongly recommend that you always use the latest version of the Afterpay module.

## Use the PrestaShop Marketplace

When a new version of the Afterpay module is released on the PrestaShop Marketplace, the PrestaShop store should detect the new version. The PrestaShop store automatically shows the upgrade option.

To upgrade, to the following:

1. Go to the *Module Manager* section on the left menu bar. See the picture below:

![prestashop-1.png](/_fern-img/76797d70de8e944ef48ecb4a9bd652339d63647a4713249a1ff1ffdf8113c9a1.webp)

2. Use the search bar to find the Afterpay installed module and click **Upgrade available**. See the picture below:

![prestashop-2.png](/_fern-img/de77ab62bc24fc25f0a3d89cc2a56844a2217b0e69b8cc04e9aeced41d2297b1.webp)

3. A confirmation window appears, see the picture below:

![prestashop-3.png](/_fern-img/5f6e571f01ebb08594dcf807ad50e46ef2873c73e184051128d6f0fcfbed76f5.webp)

4. Ensure you have a backup of the site before any upgrade. Click **Go to maintenance page** to avoid possible cache issues. Click **Upgrade Anyway** if you have a backup of the site and are confident you can problem solve if necessary.

When the upgrade is finished you receive a confirmation message. The **Actions** button shows the regular options.

> **Note**
>
> Open the Afterpay configuration *Settings* section to check that all the configurations are correct after the upgrade. See the picture below:

![prestashop-4.png](/_fern-img/958b2b4817ec49d2a73fe5864efe8229b7e9a22dbf5a63e383f01f4321e2d774.webp)

## Use the Module Manager Updating Tool

This is a manual update procedure you can use if you have disabled the upgrade option on your store. Do the following:

1. Go to the Module Manager Admin panel.

2. Go to the Prestashop Addons Marketplace and download the upgrade you want. We strongly recommend that you always have the latest version of the code.

3. To [download the files](https://addons.prestashop.com/en/other-payment-methods/51381-afterpay-buy-now-pay-later-always-interest-free.html) you must be logged into your PrestaShop account.

4. Open the *Module Manager* section and click **Upload a module**. See the picture below:

![prestashop-5.png](/_fern-img/0b9b815891be0ba6eb3864a462dcd5895780c6e472f7911d2c1c5ed70320a3a9.webp)

5. Select the previously downloaded file from your computer and upload it. See the pictures below:

![prestashop-6.png](/_fern-img/6b7a22a914eab5e7b7a980d394d0038e3195241580ce42de1c2f8759d92c40aa.webp)

6. A confirmation message appears when the module is installed.