Jump to content

Carrier module


cyrilsmdp

Recommended Posts

Hello everyone,

 

I am curently develloping a carrier module, and I would like that module to use a web service when a customer has finalised an order. Is there a method or anything I can use in my carrier module that can call the web service where I want ?

 

Thank you all !

Link to comment
Share on other sites

There are several hooks you can use, it really depends on what exactly you need to accomplish.

 

you can use the "newOrder" or "orderconfirmation" hook, but depending on what payment methods you take, this may not mean a "finalized order", since payment may not actually have been received. (ie.  bankwire or check modules)

 

If you need to know a specific status of the new order, then maybe one of the order status change hooks?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...