Skip to main content

Your store’s firewall is blocking inTusell

If the connection shows “HTTP 403” and the page comes from a firewall rather than from PrestaShop, there is nothing wrong with your Webservice key. Do not change the key: the block is in the security layer in front of your store, and it has to be allowed there.

How can I tell?

  • The error shows “403 Forbidden” or a challenge/block page.
  • PrestaShop’s own key error looks different: a message such as “Authentification key is not active”, or a PrestaShop Webservice sign-in prompt.
  • Your store opens in the browser; only the API request from our server is blocked.

Where is the block? Decide by how the 403 page looks

Look at the error page and pick which of the two cases it resembles. Changing settings in the wrong place does not help: if the block is at your hosting provider, no Cloudflare setting will change anything.

A Cloudflare page

If you see “Just a moment…”, “Attention Required” or a Ray ID at the bottom of the page, the block is in Cloudflare.

Go to the Cloudflare section

A plain “403 Forbidden” page

If the page is just “403 Forbidden” on a plain background (no Cloudflare name, Ray ID or challenge box), the block is on your hosting provider’s server. Even if you use Cloudflare, do not change Cloudflare settings in this case.

Go to the hosting section

What sits in front of your store?

I use Cloudflare

If your domain is managed in Cloudflare you lift the block with a single rule in the Cloudflare dashboard. The rest of your store stays protected; only the two paths inTusell uses are exempted.

Allow this IP address: 188.132.251.53.

  1. 1

    Sign in to Cloudflare and pick your domain

    In the left menu go to Security > WAF.

    In the Cloudflare dashboard the Security > WAF section is selected in the left menu.OverviewSecurityBotsSecurityWAFSettings
  2. 2

    On the Custom rules tab press “Create rule”

    The new custom rule screen opens.

    On the WAF page the Custom rules tab and the Create rule button are highlighted.OverviewSecurityBotsManaged rulesCustom rulesNo custom rules yetCreate rule
  3. 3

    Name the rule and paste the expression

    Type “inTusell API” in Rule name. Use “Edit expression” and paste the expression below.

    The rule name field and the expression box filled through Edit expression.OverviewSecurityBotsRule nameinTusell APIEdit expression
    Cloudflare rule expression
    (http.host in {"ornek-magaza.com" "www.ornek-magaza.com"} and (starts_with(http.request.uri.path, "/api/") or (http.request.uri.path eq "/index.php" and http.request.uri.query contains "module=intusellconnector")))
  4. 4

    Choose Skip as the Action

    In the list that opens tick Managed Challenge, Super Bot Fight Mode and Rate limiting.

    Action is set to Skip; Managed Challenge, Super Bot Fight Mode and Rate limiting are ticked.OverviewSecurityBotsActionSkipManaged ChallengeSuper Bot Fight ModeRate limiting
  5. 5

    Deploy it and turn Bot Fight Mode off

    Deploy the rule. On Security > Bots turn Bot Fight Mode OFF if it is on: per Cloudflare’s documentation a WAF rule cannot skip that mode.

    The Deploy button and the Bot Fight Mode switch turned off on Security > Bots.OverviewSecurityBotsBot Fight ModeOffDeploy

Replace ornek-magaza.com in the examples with your own domain (without www).

Which bot protection is it? (Security > Bots)

  • Bot Fight Mode (free plan): cannot be skipped with a WAF Skip rule. You have to turn it off on Security > Bots.
  • Super Bot Fight Mode (Pro and above): set Definitely automated to “Allow”, or tick Super Bot Fight Mode in the Skip rule above.

Allowing 188.132.251.53 with IP Access Rules also works: that rule skips the challenge page and Bot Fight Mode. The path-based rule above is valid too; you can define both together.

Address note: with and without www

If the store address saved in inTusell has www (e.g. https://www.example-store.com) but your site redirects to the non-www address, enter the address without www (https://example-store.com). Otherwise the request is caught at the redirect first and may meet an extra block. Write the exemption rules for the same domain too.

Done, check it

Once the exemption is in place, open Store Integrations in the inTusell dashboard and press “Try again” on your store’s card. If the connection opens the status turns green on its own. If you got the error on the connect screen, simply retry the same connection.

Open Store Integrations