• Resolved dtgdev

    (@dtgdev)


    Hi!

    I’m trying to sync printful with woocommerce for the first time.

    On printful’s page I get the following error:

    Hey!
    Something went wrong with sync.

    Last sync error:
    Error: Invalid response from your WooCommerce store. Please make sure your site is working and no plugins are blocking WooCommerce API access

    Try to refresh data. If error persists, contact customer support.

    From the wordpress side:

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

    ##### Printful Last Sync's #####

    ##### Environment #####
    * home_url => https://daytripgods.com
    * site_url => https://daytripgods.com/wp
    * version => 4.8.0
    * log_directory => /srv/www/daytripgods.com/releases/20210104234026/web/app/uploads/wc-logs/
    * wp_version => 5.6
    * language => en_US
    * server_info => nginx/1.17.3
    * php_version => 7.4.13
    * curl_version => 7.58.0, OpenSSL/1.1.1i
    * mysql_version => 5.5.5
    * mysql_version_string => 5.5.5-10.2.36-MariaDB-1:10.2.36+maria~bionic
    * default_timezone => UTC
    * remote_post_response => 200
    * remote_get_response => 200

    ##### Database #####
    * wc_database_version => 4.8.0
    * database_prefix => wp_
    * maxmind_geoip_database =>

    ##### Active Plugins #####
    * Printful Integration for WooCommerce (2.1.18)
    * WooCommerce (4.8.0)

    ##### Theme #####
    * name => dtg_theme
    * version => 1.0.0
    * author_url => http://underscores.me/
    * parent_name =>
    * parent_version =>
    * parent_version_latest =>
    * parent_author_url =>

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

    And the error log:

    2021-01-04T22:54:16+00:00 ERROR Array
    (
    [request] => Array
    (
    [timeout] => 10
    [user-agent] => Printful WooCommerce Plugin 2.1.18 (WP 5.6 + WC 4.8.0)
    [method] => GET
    [headers] => Array
    (
    [Authorization] => Basic dHE1ZjVhemYtYWd6bi05b2M0OnJiYWstM2RmM21ncDN3MWxi
    )

    [body] =>
    [path] => https://api.printful.com/store
    )

    [results] => Array
    (
    [code] => 403
    [result] => Only WooCommerce stores with plugin version 2.0.7 or newer are allowed to make API requests.
    If you're still seeing this error message after updating the plugin to 2.0.7, please press "Refresh data" in the synced product view on Printful.
    [error] => Array
    (
    [reason] => 403
    [message] => Only WooCommerce stores with plugin version 2.0.7 or newer are allowed to make API requests.
    If you're still seeing this error message after updating the plugin to 2.0.7, please press "Refresh data" in the synced product view on Printful.
    )

    )

    )

    I only have woocommerce and printful plugins active. My plugin version is the latest, so the error message is not very helpful. I have a DigitalOcean server. Any ideas? I'm completely lost.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    Thanks for providing us with your details. It looks like the issue might be with the entered website URL. Please make sure that your entered website in Printful settings matches your website from WordPress settings. Hope this helps!

    Thread Starter dtgdev

    (@dtgdev)

    Hi,

    You’re a godsend. My printful settings had an additional “/wp” added to the store URL, as per my wordpress settings. I’m so glad to see it work. Thank you so much!

    Great! I’m happy to hear it worked and the issue is resolved!

    Cheers!

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

The topic ‘Printful Sync Fail’ is closed to new replies.