Jump to content

Hook for order completion


Steve Koss

Recommended Posts

Hi,

I have some code executed in the hook "ShoppingCartCheckoutCompletePage" with no problems.
The code reads some client data based on the orderid stored in the database.

But when i change the setting in "General Settings > Ordering > Auto Redirect on Checkout"
to "Automatically take the user to the invoice" or "Automatically forward the user to the payment gateway"
then the hook is normally not fired.

Is there another hook i can use or another technique that will execute my code
when the order is completed and stored in the database?

Thanks.

Link to comment
Share on other sites

On 3/29/2022 at 1:30 AM, pRieStaKos said:

OrderPaid ?

OrderPaid runs when the order is paid by the customer.

I want to run the code just right after the order is completed and stored in the database (before it gets paid or accepted or any other action).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated