How manage Magento orders from Drupal ?

Events happening in the community are now at Drupal community events on www.drupal.org.
Maxime Topolov's picture

Big problem we're facing right now is that Magento have no core API for managing orders. Is it not possible also to set up any SSO solution to avoid Drupal / Magento double login. Any ideas or suggestions ?

We're actually planning to write some modules for Magento, but if you have quicker solution, ... :)

Comments

Not sure mate, I have just

Kezoon's picture

Not sure mate, I have just started working with Magento though and think its great. Only problem is the OSL 3.0 licence.

Looks like very

jackyfilip's picture

Looks like very professionally discussed about magento related issue. I'm very very satisfied through reading this post as welly as for ever. Thanks mate. :)
http://www.aokc.net/protocols/bankart-repair-rehabiliation-protocol

Core API

gamaroso's picture

The core API does have Order, Shipment, and Invoice calls. You can find the documentation starting here:
http://www.magentocommerce.com/wiki/doc/webservices-api/api#order_api

Is there something specific you think it missing from those functions?

Hi all update on this thread

Maxime Topolov's picture

Hi all !

So

@gamaroso :

Yes the main problem is that it is impossible to create new orders trough the API calls. It is possible to cancel, list or retrieve details about an order but not to create new orders. What we're doing right now is following :

  1. Add support of users management on Magento when an update on Drupal users occurs (create/update/delete)
  2. We add extra API on Magento to :

- create a session for a givven user and get it back in Drupal
- add/remove items to the cart and retrieve cart's price
- create an order from the cart
- retrieve all available data about paiement gateway and provide those data inside a drupal hook. This last point is the most tricky, the idea is that we'll need to port any new paiement gateway created on magento to it's Drupal version. But I see no other way.... Any ideas ?

So our goal is to switch off totally Magento's Front office, keeping whole power of magento's back (Promotions, catalogue & stocks management). From installation point of view users will have to follow these steps :

  • Install a Magento
  • Install our Magento modules
  • Install a set of our Drupal modules
  • Setup connectivity
  • Add some theme for our modules (mainly for cart management)

There will be, for sure some latency because of adding an extra layer between the end-user and magento, but in fact it should be ok as global load on magento server will be much lighter, as main charge will be supported by Drupal side.

I'll keep you informed. We should publish everything near June or July.

Maxime TOPOLOV
Adyax / http://www.adyax.com
+33 6 42 77 11 87

Maxime TOPOLOV
Adyax / http://www.adyax.com
+33 1 76 77 34 60

samurai_projects's picture

Hi Maxime,

We need the same custom API? Did you implement it and would like to share?

Pls, let me know how you'd like to provide this solution.

Thanks much.

Best,

Carlos Rocha
Samurai
Skype ID rocha_samurai

soon ready

Yann P's picture

Hi
I am Maxim's partner and I am happy to announce you that after few month of work, magento api is soon finished (question of weeks now)
Let me know what we can do for you

Yann Perron
Adyax - Paris, France
skype : portblair1

Yann Perron
Adyax - Paris, France

send proposal

samurai_projects's picture

Hi Yann,

Thanks for your reply. We're working on a project and we need to create orders in Magento from another application. And there will be other development services as well.

Pls, send proposal for development services. Do you work via www.elance.com or www.rentacoder.com?

Best,

Carlos Rocha
Samurai - Sao Paulo, Brasil
skype: rocha_samurai

Just searched Magento forum

mageworx's picture

Just searched Magento forum and found the following forum http://www.magentocommerce.com/boards/viewchild/14658/. Probably you can find the solution here. This is a discussion board of free extension which is Drupal CMS full integration (http://www.magentocommerce.com/extension/1020/drupal)

Magento Extensions

State of Magento integration

gfxguru's picture

Just wondering where we stand with this project and moving forward?

Magento

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week