mathlef0u Posted January 6, 2014 Share Posted January 6, 2014 Hello everyone, I wanna increment a counter on every order in my module. I tried to hook newOrder but it seems that when i order a product by credit card (VADS module or Paypal) the counter does not increment. So i searched on the official documentation and i found the hook actionPaymentConfirmation which will be executed anytime the order status is changed to "Payment Accepted". But i doesn't wan't it. actionValidateOrder is newer than newOrder but it's apparently the same. And OrderConfirmation is not a solution because it's a hook on confirmation page and users doesn't pass necessarily through this page. So what can i use to increment a counter on order creation ? Sorry for my bad english Thanks by advance, Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now