Title: Compatibility with GoCardless plugin (HTTP ERROR 403)
Last modified: November 25, 2022

---

# Compatibility with GoCardless plugin (HTTP ERROR 403)

 *  Resolved [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/)
 * Hi there 👋 
    I have just spoken with the support of the GoCardless plugin and
   it appears that BBQ Firewall is overzealous and causes 403 errors after purchase
   when redirecting to the site. Indeed, when I deactivate BBQ Firewall the GoCardless
   plugin works correctly. Here is a screenshot of the Webhook: [https://markuphero.com/share/gvFLIAgZYgnLHB6G9IP7](https://markuphero.com/share/gvFLIAgZYgnLHB6G9IP7)
   Thank you for your help! Warm regards, Ludovic

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16233878)
 * Hi Ludovic,
 * In order to help investigate, I need to be able to recreate the 403 error. Can
   you let me know the steps to repeat it on default WordPress install?
 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16233923)
 * it’s a bit complicated, because GoCardless is a premium plugin, and you need 
   a SandBox account at GoCardless too, maybe I can give you temporary access to
   my staging site?
    Also, I read about the BBQ Whitelist addon, I think I need 
   to Whitelist something, but I don’t know what…
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16233950)
 * Yeah that’s really the ticket to resolving the issue: getting the URL that is
   blocked, and then use the whitelist plugin to ignore the offending pattern. We’re
   not allowed to log in to client sites, but if you can determine the URL, I can
   help you get set up with the whitelist plugin.
 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16234026)
 * Does the previous screenshot I left you help?
    [https://markuphero.com/share/gvFLIAgZYgnLHB6G9IP7](https://markuphero.com/share/gvFLIAgZYgnLHB6G9IP7)
 * Maybe this URL
    [https://staging.waomizik.re/wc-api/WC_Gateway_GoCardless/?request=webhook](https://staging.waomizik.re/wc-api/WC_Gateway_GoCardless/?request=webhook)
   but I am not sure
 * The HTTP ERROR 403 screenshot:
    [https://markuphero.com/share/A2NcbkxY5dhna18NNyls/3](https://markuphero.com/share/A2NcbkxY5dhna18NNyls/3)
    -  This reply was modified 3 years, 6 months ago by [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/).
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16235589)
 * It might be the brackets (angle or square) that are included in the JSON data.
   But you would need to test it to be sure.
 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16236030)
 * Thanks. And so it could give what the content of the array for the BBQ Whitelist
   plugin please?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16236137)
 * This should do it:
 * `$bbq_whitelist_query_string_items = array('(globals|request)(=|\[)');`
 * You can leave the other arrays empty.
 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16236777)
 * Great, it does the job, thank you very much for your precious time (I’m a big
   fan, I recently acquired some of your methods, and I love them)!
 * Take care 🤙
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16237202)
 * Thank you, Ludovic 🙂
 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16399873)
 * Hey [@specialk](https://wordpress.org/support/users/specialk/) 👋</img> 
   Just
   to let you know that I have some PHP warnings from bbq-whitelist plugin, It looks
   like an update to do for compatibility with PHP8.0 (but I’m not sure):`Warning:
   foreach() argument must be of type array|object, null given in ~/wp-content/plugins/
   bbq-whitelist/bbq-whitelist.php on line 39Warning: foreach() argument must be
   of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.
   php on line 49Warning: foreach() argument must be of type array|object, null 
   given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.php on line 59Warning:
   foreach() argument must be of type array|object, null given in ~/wp-content/plugins/
   bbq-whitelist/bbq-whitelist.php on line 69Warning: foreach() argument must be
   of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.
   php on line 79
 * Thank you for your help!
   Warm regards,Ludovic
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16401875)
 * Thanks for reporting, Ludovic. I’ve added to the list and will get ’em fixed 
   up for the next plugin update. Cheers my friend.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16528405)
 * Hey Ludovic, I just tested the whitelist plugin on PHP 8.0, 8.1, and 8.2. Could
   not repeat the described warnings. If you can provide the basic steps to repeat
   the issue on default WordPress, I will take a look and try to resolve asap. Thank
   you.
 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16528853)
 * Hey Jeff, I just reactivated my debug and nothing similar is now appear. Thank
   you for your concern, I think we can put it aside for the moment, false alert.
   All the best!
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16528856)
 * That is great Ludovic, cheers!

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

The topic ‘Compatibility with GoCardless plugin (HTTP ERROR 403)’ is closed to new
replies.

 * ![](https://ps.w.org/block-bad-queries/assets/icon-256x256.png?rev=1471770)
 * [BBQ Firewall - Fast & Powerful Firewall Security](https://wordpress.org/plugins/block-bad-queries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-bad-queries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-bad-queries/)
 * [Active Topics](https://wordpress.org/support/plugin/block-bad-queries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-bad-queries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-bad-queries/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [firewall](https://wordpress.org/support/topic-tag/firewall/)
 * [GoCardless](https://wordpress.org/support/topic-tag/gocardless/)

 * 14 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/compatibility-with-gocardless-plugin-http-error-403/#post-16528856)
 * Status: resolved