1. Home
  2. Docs
  3. GoPay Payments Gateway for WooCommerce
  4. I’m getting 404 after payment redirect

I’m getting 404 after payment redirect

 

IMPORTANT: It’s not connected with the plugin! It’s WooCommerce Rest API problem.

To solve this you need to:

  1. Go to Admin Panel
  2. Settings -> Permalinks
  3. Change “Common Settings” from Plain to Post Name (or any else, but not default Plain)

 

Alternative:

If you already using your website, or don’t want to change permalinks, you need to contact with your Hosting Provider and ask to set

AllowOverride All

For Apache:

<Directory /var/www/wordpress/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            allow from all
</Directory>

Note: Default Plain permalinks is not a good practice!