News:

Support the VirtueMart project and become a member

Main Menu

Is there an event triggered when order is complete?

Started by robs113, February 09, 2012, 16:34:01 PM

Previous topic - Next topic

robs113

I need to trigger some code in my component when the order is complete (paid). No shipping is required.

Looking at the Payment plug-ins wiki I see plgVmOnConfirmedOrderStorePaymentData.

The wiki for this says..
'This triggers the stock updates if required'

however the abstract in the code says..
'This method is fired when showing the order details in the backend'.

These seem to be conflicting descriptions.

Is this the event I should trigger on?
If so is there an example of its use anywhere?

Thanks

muasif80

1. Expertise: PHP and JAVA Expert (SCJP)
2. DEV Tools: Eclipse PDT - WAMP - XDebug
3. www.mayotitech.com/products.php

robs113

#2
Pardon my ignorance here but I cannot see 'plgVmConfirmedOrder' in the vm plug-in docs and the only place I see it in the source is as a function inside the PayPal payment plug-in.

For a post-order processing plug-in, I need an event that fires when an order is complete, regardless of payment, or shipping, method the user chooses.

estevan83

Hi,
I've the same question!!

Has anyone find the solution?

Thanks in advance
Joomla! and virtuemart programmer! - Extensions developer - www.estefancivera.net

PRO

robs113

the view pluginresponse    is the page you end up AFTER the order