Skip to main content

Connect WooCommerce to Returns Center

Connect WooCommerce to Returns Center in AfterShip Returns: follow setup steps, configure key options, verify behavior, and troubleshoot workflow issues.

Plans: All Plans | Platforms: WooCommerce

Overview

WooCommerce is an open-source eCommerce plugin for WordPress. Connect it to AfterShip Returns to automate and streamline the returns process. AfterShip Returns allows you to manage all the return requests in one place and notify shoppers about the status of their requests. Also, it enables you to engage shoppers after-sales with a customized branded returns page.

WooCommerce versions compatible with Returns Center are:

  • Version 3.0.0 or above

WordPress versions compatible with Returns Center are:

  • Version 4.0 or above

Prerequisite

Make sure you have an active WooCommerce account.

Integrate WooCommerce with Returns Center

You can access WooCommerce integration page in two ways

  1. Go to Apps in the AfterShip Returns admin

  2. Click View more apps in the upper right-hand corner


  3. Search WooCommerce, click on it and you will land on the WooCommerce integration page


  4. Navigate to the WooCommerce integration page on AfterShip Returns website directly

  5. Select AfterShip Returns from the dropdown and then click Install app

  6. Select the right organization (online store) if you have multiple organizations configured in AfterShip Returns (Optional) for which you are establishing this integration

  7. On the integration authorization page, add your WooCommerce store URL and click Install app

  8. Click Install now to add the AfterShip Returns plugin to your WooCommerce account and then hit Activate

Your store is now successfully connected to AfterShip Returns.

All successfully connected stores are listed under the Installed apps in Apps section.

Enable webhooks for order updates

To ensure AfterShip receives order updates from WooCommerce:

  1. Navigate to your WooCommerce admin panel.

  2. Go to Settings > Advanced > Webhooks.

  3. Click Add webhook.

  4. Set the Status to "Active."

  5. Choose "Order updated" as the Topic/Event.

  6. Enter the Delivery URL provided by AfterShip (this is the callback URL required for order events).

  7. Select JSON as the format (recommended).

  8. Save the webhook configuration. Once enabled, AfterShip will receive order update events and keep order and line-item data synchronized.

How can I do if I can't install directly ?

In this case, we can manually build up the connection for you. Please contact our support team and shared the following info.

Step 1: Generate a WooCommerce REST API Key (Read/Write)

  1. Go to WP Admin → WooCommerce → Settings → Advanced → REST API

  2. Click Add Key and fill in the following:

  3. Description: AfterShip Manual Connection

  4. User: Site admin

  5. Permissions: Read/Write

  6. Click Generate API Key

  7. Copy both the Consumer Key and Consumer Secret immediately — the secret is only displayed once

📎 Please share the Consumer Key and Consumer Secret with us for the manual operation .

Step 2: Allowlist AfterShip Server IPs

Additionally, you should add the following three IPs in your hosting admin to allow our request:

  • 54.208.44.50

  • 35.188.86.165

  • 35.239.56.190

Once we receive both the credentials and the IPs are allowlisted, we 'll complete the manual connection and monitor the initial sync.

Troubleshoot connection issues

If WooCommerce shows as "tracking connected" but not "returns connected," follow these steps:

  1. Open the Integrations/Apps section in AfterShip and click View more apps.

  2. Select WooCommerce and click Install app.

  3. Follow the prompts to reconnect your WooCommerce store to AfterShip.

  4. If a previous connection exists, uninstall the existing WooCommerce integration first, then reinstall and reconnect.

  5. Verify the setup by submitting a test return request in the Returns Portal.

Did this answer your question?