Skip to main content

How to fix order statuses not changing after customer has paid (Cloudflare)

Cloudflare, whitelist IPs, webhook / callback error

Darja avatar
Written by Darja
Updated over 2 weeks ago

If order statuses in your store are not changing properly when customers have completed payments, it might mean that Montonio is unable to send webhook notifications to your shop.

The most common reason for this is the use of a web firewall such as Cloudflare. This guide will walk you through allowing Montonio's IP addresses in your Cloudflare firewall, to ensure that Montonio is able to send notifications to your store when order statuses change.

Allowlisting Montonio's IP Addresses in Cloudflare

First, log in to your Cloudflare dashboard and make sure you are viewing your domain settings like this:

Find "Security" → "Security rules" from the sidebar and create a new custom rule:

Fill the following details for the custom rule:

  1. Define Rule Name: Assign a descriptive name, such as "Allow Montonio IP addresses"

  2. Field and Operator: Select "IP Source Address" and "is in" respectively for these two options.

  3. Enter the IP addresses one by one: In the "Value" box, enter the following IPs one by one:

    • 35.156.245.42

    • 35.156.159.169
      Note: In the expression preview it should look like this: (ip.src in {35.156.245.42 35.156.159.169})

  4. Choose action: For this, select the option "Skip"

  5. Select WAF Components to Skip: Select all WAF components to skip and make sure you also check the ones under "More components to skip".

  6. Save the Rule: Click the "Deploy" button to save the rule.

Here's how the rule should look like:

The new rule should now appear under "Security" → "Security rules" and be in the "Active" state.

Reach out to Montonio support if our webhooks are still getting blocked.

Did this answer your question?