• Resolved vapblack

    (@vapblack)


    Greetings all.
    My problem is that when I try to link printful and my new woocommerce site, it fails with the error: Could not open Woocommerce authorization page (HTTP error 404). Make sure /wc-auth/v1/authorize is accessible.

    I read somewhere that this is a modsecurity issue? I guess modsecurity is a php.ini setting, I’m comfortable changing things in there, but I never found what I need to change it to, and why.

    Also, yesterday I did an experimental woocommerce+printful build on my another server and everything worked fine. so I’m guessing I just forgot to do some small thing.
    Thanks for reading. Below is my support pagedata

    ##### Printful Checklist #####
    * Connection to Printful API => NOT CONNECTED
    * WordPress Permalinks => OK
    * WordPress version => OK
    * WooCommerce authentication URL access=> FAIL
    * WordPress remote requests => OK
    * WordPress Site URL => FAIL
    * Write permissions => OK
    * PHP memory limit => OK
    * PHP script time limit => OK

    ##### Printful Last Sync’s #####

    ##### Environment #####
    * version => 4.5.2
    * wp_version => 5.5.1
    * language => en_US
    * server_info => Apache/2.4.6 (CentOS) PHP/7.3.23
    * php_version => 7.3.23
    * curl_version => 7.29.0, NSS/3.44
    * mysql_version => 5.5.65
    * mysql_version_string => 5.5.65-MariaDB
    * default_timezone => UTC
    * remote_post_response => 200
    * remote_get_response => 200

    ##### Active Plugins #####
    * Flexible SSL for CloudFlare (1.3.1)
    * Facebook for WooCommerce (2.0.4)
    * Jetpack by WordPress.com (9.0.1)
    * Google Ads & Marketing by Kliken (1.0.4)
    * Mailchimp for WooCommerce (2.4.7)
    * Printful Integration for WooCommerce (2.1.15)
    * Digital Goods for WooCommerce Checkout (3.5)
    * WooCommerce Payments (1.5.0)
    * WooCommerce Services (1.24.3)
    * WooCommerce (4.5.2)

    ##### Theme #####
    * name => Storefront
    * version => 2.7.0
    * version_latest => 2.7.0
    * author_url => https://woocommerce.com/
    * parent_name =>
    * parent_version =>
    * parent_version_latest =>
    * parent_author_url =>

    ##### WooCommerce settings #####
    * currency => USD
    * currency_symbol => $
    * currency_position => left
    * thousand_separator => ,
    * decimal_separator => .
    * woocommerce_com_connected => no

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • What happens if you visit yourdomain.com/wc-auth/v1/authorize?
    If blocked, you need to unblock it.

    • This reply was modified 3 years, 6 months ago by genweb.
    Thread Starter vapblack

    (@vapblack)

    If I access there, I get:
    The requested URL /wc-auth/v1/authorize was not found on this server.

    How do I “unblock” it?

    If you already followed this steps and still fails: https://developer.woocommerce.com/2015/08/07/api-settings-and-the-api-authentication-endpoint-in-2-4/

    Try to save permalinks under WordPress – Settings (detailed in printul instructions) or maybe contact your hosting provider.

    PS: I’m not support from this plugin, just checking if they reply me in other thread 🙂

    • This reply was modified 3 years, 6 months ago by genweb.

    Hey @vapblack,

    This error shows that the url we are trying to connect to is not found.
    Please make sure you followed the integration steps and that the URL in your WordPress settings is the same as the actual website URL.

    It is also possible that the permalinks are not set up correctly, like @genweb mentioned (thank you for your input 🙂 ),
    you can go to your WordPress Settings → Permalinks → Under “Common Settings” choose any link structure other than “Plain.” Confirm by pressing “Save Changes.” From there retry connecting your WooCommerce store, to see if that helped!

    • This reply was modified 3 years, 6 months ago by vita.printful.
    Thread Starter vapblack

    (@vapblack)

    @everybear, @genweb thanks for the help so far.

    If I visit /wc-auth/v1/authorize, I get the not found page.

    I have the permalinks set correctly. and I am running a server with centos 7. I installed wordpress at another server, a sandbox I use for experimenting and the same thing is happening.

    160.119.69.69/wp-login.php
    username:admin
    password:password

    even on the server, there’s no file called /wc-auth/v1/authorize

    Is there a way I can just make that page and put it there?

    Thread Starter vapblack

    (@vapblack)

    ah, seems like my sandbox server got messed with. Anyway, is there a way to manually create the /wc-auth/v1/authorize page?

    Hey @vapblack,

    It is not possible to create a connection between Printful and WooCommerce without the use of the /wc-auth/v1/authorize page and this page can’t be created manually.

    If you have any additional questions or concerns, be sure to reach out at feedback@printful.com!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘woocommerce auth + wordpress URL fail in status’ is closed to new replies.