0

I m trying to integrate exotel COD app with my magento website which sends a confirmation to the customer when the order is placed. In order to integrate this app it requires a URL which returns http 200 when a order is made successfully or some other code when it fails. I wanted to ask whether magento does something like this on the backend? or how to i write a new script for this ?

2

You can write a module which implements an observer and listens for the events triggered when an order is placed. You could then send your response like that.

I don't know if this is the best way but it's what came to mind.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.