Drupal issue with Exact online (order/product syncronization)

Job ID: 32003716

Budget: $30 – $250 USD

The title says it all.
Need someone who can have a look at the problem.

Drupal website + custom developed module with several functions which does not seem to be working due to authentication problem.

This is the message we got from the support:
------------------------------------------------------
Solution:

Thanks for your message back.


A 404 message will only be returned if you do an erroneous GET that does not exist. So it looks like you want to make the first authentication request. The first request should look like this: https://start.exactonline.nl/api/oauth2/auth?client_id=xxxxxxx&redirect_uri=xxxxxxx&response_type=code, you will then get a code back where to use to make the first token request to do. I see that a GET is now being done on the code you get back from the first request, but this is not correct (hence also the 404, because the GET you are doing does not exist/cannot). So you should do a POST below /api/oauth2/token. So the authorization process does not seem to be applied properly in the Drupal app. See following link how the Oauth process works: https://support.exactonline.com/community/s/knowledge-base#All-All-DNO-Content-oauth-eol-oauth-devstep1


Is Drupal a link that you manage/develop? If not, you should even do Drupal to fix the issue. It now seems that they have not built the Oauth flow properly. If it is managed by you, your own developer will have to adjust the Oauth process. See the link above where it is clearly explained how the app can authorize with Exact Online. After correct authorization, you can make API calls.


I hope you can continue with this.


Have a nice day!
----------------------------------------------


There seem to be 0auth problems and the information is not syncing. However, the problem might be completely unrelated to that. Seems to be a minor problem, but we are unable to identify it.

You will be given access to Exact online + access to the Cpanel.
Related categories: PHP JavaScript Drupal MySQL HTML