Title: Gateway not working
Last modified: March 24, 2019

---

# Gateway not working

 *  Resolved [toniallan](https://wordpress.org/support/users/toniallan/)
 * (@toniallan)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/gateway-not-working/)
 * it seems that the link to checkout via afterpay has been edited and I don’t know
   how to fix it. If you remove the /wordpressBOO from the url it works fine and
   payments go through. How can i change it so it is permanently removed from the
   link so customers don’t have an issue
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgateway-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * (@afterpayit)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/gateway-not-working/#post-11428141)
 * Hi toniallan,
 * Thank you for your message.
 * The Afterpay Gateway for WooCommerce plugin uses WordPress’s [get_site_url](https://developer.wordpress.org/reference/functions/get_site_url/)
   function to determine the Website URL. This core function applies the following
   filters:
    - “site_url”
 * It’s possible that a third-party plugin is manipulating this URL in certain conditions.
   Please try disabling all non-essential plugins.
 * If you would like to request a member of the support team to provide further 
   assistance in troubleshooting this individual case with you, please create a 
   support ticket here:
    [https://help.afterpay.com/hc/en-au/requests/new?ticket_form_id=193406](https://help.afterpay.com/hc/en-au/requests/new?ticket_form_id=193406)
 * Thank you.
    -  This reply was modified 7 years, 1 month ago by [Afterpay](https://wordpress.org/support/users/afterpayit/).
 *  Thread Starter [toniallan](https://wordpress.org/support/users/toniallan/)
 * (@toniallan)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/gateway-not-working/#post-11446483)
 * I have disabled all plugins except woocommerce and afterpay the problem is still
   there. I changed my theme as thought that could be the issue but the problem 
   is still there. I’ve had afterpay australia technicians working on it for over
   4 weeks and they are stumped too. Is there a snippet out there that will make
   the gateway use the home_url as it seems the site_url could be the issue
 *  Plugin Author [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * (@afterpayit)
 * [7 years ago](https://wordpress.org/support/topic/gateway-not-working/#post-11468771)
 * Hi Toni,
 * Thanks for following up. Using the access provided in the separate support thread
   it’s clear to see that the “WordPress Address” defined in “Settings > General”
   contains the “/wordpressBOO” path. This is the actual installation address for
   WordPress and probably cannot be changed without moving the entire site outside
   of the subdirectory.
 * Thanks for suggesting `home_url`. The team will attempt to modify your instance
   of the plugin to use [get_home_url](https://developer.wordpress.org/reference/functions/get_home_url/)
   instead of [get_site_url](https://developer.wordpress.org/reference/functions/get_site_url/).
   This will be considered for inclusion in a subsequent official release.
 * Further support will be provided in the parallel thread.
 * Thank you.
    -  This reply was modified 7 years ago by [Afterpay](https://wordpress.org/support/users/afterpayit/).

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

The topic ‘Gateway not working’ is closed to new replies.

 * ![](https://ps.w.org/afterpay-gateway-for-woocommerce/assets/icon.svg?rev=3261877)
 * [Afterpay Gateway for WooCommerce](https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/gateway-not-working/#post-11468771)
 * Status: resolved