Jump to content

Capturing The Change of Order Status


Recommended Posts

Dear Masters :D ,

 

I'm a developer, and I'm new in Prestashop.

So, let's go directly to the story:

1. CUSTOMER makes an order, and he pays.

2. The payment status is now, let's say, WAITING, cause the payment is not yet validated, so it's need to be validated by ADMIN.

3. ADMIN validates the payment by changing the status from WAITING to PAYMENT ACCEPTED.

 

And my question are:

1. The hook for capturing status changing is updateOrderStatus?

2. Can the masters here give example of a function using updateOrderStatus hook?

 

 

Thank you very much,

 

 

 

Rizki Sunaryo

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...