Forum Discussion

MartinDeveloper's avatar
11 months ago

WooCommerce integration with MYOB AccountRight frequently fails during API sync

We are currently experiencing an issue with our WooCommerce integration with MYOB AccountRight on the website using the OPMC plugin.

While the initial connection and validation work correctly, the plugin frequently fails during API syncs or token refresh with intermittent 401 errors.


We initially assumed no firewall was in place. However, upon further investigation and external scans, it’s clear that the server is behind a WAF (Web Application Firewall), likely powered by OpenResty.


How do we allow the connection to the MYOB API server established for this integration to work?

Any assistance or advice is greatly appreciated.

1 Reply

  • Check the expiry time used to refresh the token.

    cut 60 seconds off what ever the returned expiry time is to calculate when you need to get a new token.  

     

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.