Title: Cloudflare causes 503 error
Last modified: September 9, 2020

---

# Cloudflare causes 503 error

 *  Resolved [Law](https://wordpress.org/support/users/laucoste/)
 * (@laucoste)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/)
 * Hi,
 * In my WooCommerce configuration, when the payment of an order is validated, the
   payment processor send a webhook URL (`mysite.com/?wc-api=WC_Payment_processor&
   Action=CheckoutSuccess& [etc.]` )
 * I’m also using Cloudflare :
 * – When Cloudflare is disabled (paused), the order processing is OK, and the new
   order is added in WooCommerce with “Completed” status.
 * – But, when Cloudflare is enabled, the new order does appear, but marked as “
   Pending payment”.
    In this case, the payment processor get a 503 error from my
   server. Of course, the client of the order does not get its product.
 * I’ve followed instruction from here : [https://community.cloudflare.com/t/community-tip-best-practices-for-configuring-ccbill-with-cloudflare/88823](https://community.cloudflare.com/t/community-tip-best-practices-for-configuring-ccbill-with-cloudflare/88823)
 * But for the moment, I still have the problem.
 * Would you see, through your knowledge about CF, what could cause the problem,
   and maybe if a setting in WP Cloudflare Super Page Cache could help ?
 * Thanks in advance for your assistance,
 * Regards,
    Law

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Law](https://wordpress.org/support/users/laucoste/)
 * (@laucoste)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13381889)
 * Complement : If I deactivate the main WAF in Cloudflare, there’s still the problem.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13385752)
 * Hi [@laucoste](https://wordpress.org/support/users/laucoste/),
    This is not supposed
   to happen as plugin automatically don’t cache any WooCommerce related pages. 
   Do you have any extra page rules in your Cloudflare account?
 * Also inside the plugin settings, under **Cache** tab within **Prevent the following
   URIs to be cached** can you add this following line:
    `/*wc-api=*` Update your
   settings. Purge the whole cache and test?
 * Personally I also use WooCommerce but haven’t faced this issue with my payment
   gateway. Let me know if the issue gets resolved with the above approach. Also
   if you have other page rules try disabling them as well.
    -  This reply was modified 5 years, 9 months ago by [iSaumya](https://wordpress.org/support/users/isaumya/).
 *  Thread Starter [Law](https://wordpress.org/support/users/laucoste/)
 * (@laucoste)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13386542)
 * Hello [@isaumya](https://wordpress.org/support/users/isaumya/)
 * Thank you for your reply.
 * I’ve tried that (exclude “wc-api”) but with a slightly different format of the
   URL. I’ll try with yours.
 * I thought about the user’ip that looks to be in cause :
    Does WP Cloudflare Super
   Page Cache manage the replacement of CF’s IP the user’s one ? Methods are explained
   here : [https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs](https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs)
 * Regards,
    Law
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13387055)
 * Hi [@laucoste](https://wordpress.org/support/users/laucoste/),
    As far as I know,
   the plugin doesn’t touch the user IP in any way. But let’s wait for [@salvatorefresta](https://wordpress.org/support/users/salvatorefresta/)
   to come online in case he has something more to add on this matter.
 *  Thread Starter [Law](https://wordpress.org/support/users/laucoste/)
 * (@laucoste)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13388555)
 * Thank you [@isaumya](https://wordpress.org/support/users/isaumya/)
    Finally I’ll
   quit CloudFlare. So I won’t follow up the defect. Thanks
 *  Thread Starter [Law](https://wordpress.org/support/users/laucoste/)
 * (@laucoste)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13388559)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cloudflare causes 503 error’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Law](https://wordpress.org/support/users/laucoste/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-causes-503-error/#post-13388559)
 * Status: resolved