Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Integrating NAV with PHP and custom shopping cart

Posted on by 55

I'm integrating NAV with PHP and a custom shopping cart. I've noticed that there is not a lot of information on the web about this and I would like to start a thread talking about how to overcome and succeed and making it work. I'm using http://odataphp.codeplex.com/ as my SDK and found many bugs that I needed to manually fix. To connect with NAV initially I needed to set NAV up with NTLM to true. I can now read and write to NAV.

Does anyone know of any other settings than NTLM to true that need to be set on NAV to make sure everything is working right? 

*This post is locked for comments

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Integrating NAV with PHP and custom shopping cart

    hi,

    an alternative way would be to encapsulate the needed business methods, which use the nav web service, within a .net assembly and then write php code using this new assembly. so, you can interact with nav without changes.

    best regards

  • jcastro Profile Picture
    jcastro 2,245 on at
    RE: Integrating NAV with PHP and custom shopping cart

    I'm not personally a web developer but I've worked alongside web developers as a NAV developer and the NTLM parameter, like you said, always had to be changed. Besides that nothing else to remark. Of course, make sure the right ports (webservices) are forwarded and allowing the connection. Also check the firewall. As a last tip, make sure the user you use has the proper permissions (try to avoid SUPER permissions) and when you might expect an error on one of the calls you make to WS, try to build it in a way you can pick it up and make it easier for you to diagnose and for the user to understand what he did wrong.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans