Skip to main content

How to connect your WooCommerce Store to Upfluence

Track customer purchases and analyze their social media influence

Updated this week

Upfluence allows you to connect your WooCommerce store to identify influential customers, track their purchases, and automate discount and gifting campaigns.

💡Note: You can connect an unlimited number of WooCommerce accounts to Upfluence by repeating the steps below.

Step 1: Connect your WooCommerce account

  1. Click on your profile picture (or initials) in the bottom left corner, then select "integrations".

  2. Scroll down to E-commerce Accounts and click + Add Account > WooCommerce > Next.

  3. Proceed to WooCommerce to generate your access keys.

Step 2: Generate WooCommerce API credentials

Before generating your API credentials: Make sure your store’s permalinks are set correctly. This step is essential—if it’s skipped, the integration won’t work.

  1. In your WordPress dashboard, go to Settings > Permalinks.

  2. Choose any structure except “Plain”.

  3. Click Save changes.

Step 3: Create WooCommerce API keys

  1. Log in to your WordPress dashboard.

  2. Click WooCommerce > Settings.

  3. Go to the Advanced tab and select REST API.

  4. Click Add Key. API Key details:

    • Description: Enter a name for the API key.

    • User: Select a user with API key sharing permissions.

    • Permissions: Set to Read/Write (important!).

    • Click Generate API Key.

Your API Key is now created! Copy and paste these credentials into Upfluence.

Step 4: Finalize the connection

  1. Enter your API credentials in Upfluence.

  2. Click Connect to confirm the integration.

  3. Once connected, you can set up a Live Capture campaign to identify influential customers who have made purchases in your WooCommerce store.


Troubleshooting

Why do I see the error: “We failed to connect your store, please double-check your credentials”?

This usually means there's a permissions issue. Here’s how to troubleshoot:

  1. Check API credentials

    Make sure you’re using the correct Consumer Key and Consumer Secret that belong to a user with sufficient access rights (preferably an Admin).

    • Go to your WooCommerce > Settings > Advanced > REST API and double-check the credentials.

    • Regenerate them if needed, ensuring they belong to an admin account.

  2. Verify user permissions

    The account tied to the API key must have the ability to “view” the resource in question. Most WooCommerce endpoints require read or write access, and some need administrator privileges.

    • If you’re seeing this error when trying to fetch data (like products, orders, etc.), the API user might lack the correct roles or capabilities.

  3. Check the endpoint you’re trying to access

    Certain endpoints have restricted access:

    • For example, accessing orders is typically restricted to authenticated users with admin or shop manager roles.

    • If you’re accessing something like /wp-json/wc/v3/orders, ensure your API credentials are valid and scoped appropriately.

  4. Make sure permalinks are not set to default

    The REST API doesn’t work well with the default plain permalink structure.

    • Go to Settings > Permalinks in WordPress and switch to something other than "Default"

  5. Disable security plugins or custom code

    Sometimes plugins like Wordfence or custom security functions in functions.php can block REST API access.

    • Try temporarily disabling such plugins to see if the issue persists.

    • Check if rest_api_init has been modified in your theme or plugins.

More FAQs


1. I get an error message when I try to connect my WooCommerce store. What should I do?

This may happen for three reasons:

  • The credentials do not match — double-check that you copied and pasted them correctly.

  • The Read/Write permissions were not set correctly when creating the API key.

  • The selected user does not have permission to share the API key with external apps.


2. How many e-commerce stores can I connect to Upfluence?

You can connect an unlimited number of WooCommerce stores to your Upfluence account.


3. What should I do if I receive the message "The shop is already connected to an account"?

This means the store has already been connected by another team member.


4. How secure is my data?

  • All data is encrypted and only accessible through your Upfluence account.

  • Upfluence does not store any data related to your WooCommerce store account.

  • To remove access, simply disconnect the WooCommerce integration from Upfluence.


5. Who can I contact if I have questions about my data?

For any questions, contact our support team via Live Chat or email success@upfluence.com.


6. How can I delete my WooCommerce integration?

To remove access, go to integrations in Upfluence and disconnect the WooCommerce integration.


7. When I connect WooCommerce to Upfluence, are old discount offers automatically imported?

No, coupon codes that were not created via Upfluence are not automatically imported.

To include these codes:

  1. Ensure your WooCommerce store is integrated with Upfluence.

  2. Prepare files for your code import based on discount types.

  3. Follow the instructions in this guide: How to import discount codes.

  4. Submit the required files via chat support or email.

Once all correct files are received, our tech team will manually import the codes in 3-5 business days.

Did this answer your question?