Troubleshooting an API (printify)

[ad_1]

I started out in 05/2022 when the connection between WordPress and Printify would work without any problems. I could place an order on my frontend via Woocommerce and it would show up on Printify’s website in “my orders”.

Since then, I made a couple of changes (to a staging version on a local Xampp instance, that I then migrated to my live server) and just realized today that my orders won’t show up automatically in Printify anymore.

**This was my original installation (when everything worked)**

* WordPress v 5.9.2. *(most likely, according to release notes)*
* MariaDB 5.5.68
* PHP v 7.4.29
* Plugins
* cookie-notice
* google-listings-and-ads
* gutenify
* klarna-order-management-for-woocommerce
* klarna-payments-for-woocommerce
* mailpoet
* printful-shipping-for-woocommerce
* woo-gutenberg-products-block
* woocommerce-payments
* woocommerce-paypal-payments
* woocommerce-services
* woocommerce
* wpforms-lite

**This is my current installation**

* WordPress v 6.3.2.
* MariaDB 10.5.22
* PHP v 8.2.10
* Plugins
* Advanced Coupons for WooCommerce Free
* Advanced Custom Fields
* Akismet Anti-spam: Spam Protection
* Asset CleanUp: Page Speed Booster
* Aurora Heatmap
* Complete Image Sitemap
* Custom Product Tabs for WooCommerce
* Duplicate Page
* Easy Updates Manager
* Error Log Monitor
* Flexible Invoices for WooCommerce and WordPress
* GDPR Cookie Compliance
* Google Listings and Ads
* Gutenify – Visual Site Builder Blocks & Site Templates
* Head Meta Data
* Health Check & Troubleshooting
* Imagify
* Insert PHP Code Snippet
* Jetpack
* Jetpack Boost
* Klarna Order Management for WooCommerce
* Klarna Payments for WooCommerce
* MailPoet
* OMGF
* Performance Lab
* PixelYourSite
* Preview E-mails for WooCommerce
* Printful Integration for WooCommerce
* Printify Shipping Method
* Redirection
* Redis Object Cache
* Say What?
* Simple Custom CSS and JS
* Simple History
* Sublanguage
* UpdraftPlus – Backup/Restore
* User Menus
* WooCommerce
* WooCommerce Payments
* WooCommerce PayPal Payments
* WooCommerce Shipping & Tax
* Wordfence Security
* WP Downgrade | Specific Core Version
* WP Fastest Cache
* WP Mail Logging
* WP Mail SMTP
* WPForms Lite
* Yoast SEO

**This has been my troubleshooting thus far**
*Placing a new test-order after every step…*

* De-activated all caching plugins
* De-activated every single plugin except for *Jetpack, Woocommerce, Wocommerce Payments*
* Made sure server will generate JSON if viewing [*https://mydomain.com/wp-json/*])
* *Maybe upgrading PHP could have caused it to send HTML instead, but that’s not the case*
* De-connected and successfully re-connected my Store/Domain on [Printify.com])
* *Worked like a charm, just didn’t change anything*
* WooCommcece > Settings
* Rest API > Printify API > Permissions: Read/Write
* *However, I just now noticed that I have two different API-keys for two users there…probably since re-connecting my store…hm…*
* Webhooks > Printify order > Status = active, Topic: *action.woocommerce\_order\_status\_processing*
* Also tried changing API from “WP REST API Integration v2” to V3
* Legacy API: active ([apparently Printify needs it])
* WooCommerce > Status > Logs says > Webhooks Delivery
* Post to [https://api-prod.printify.com/v1/callbacks/woo/orders/created/MyIDHere]) Code = 200, Message “OK” for today’s date

**Summary/ I need help with**
I don’t know too much about APIs and would like to further troubleshoot this topic. Can anyone suggest what tests I could do in order to find out where the communication between my WordPress installation and the Printify API goes wrong?

​

​

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer