Virtuemart2.0:Payment plugin can't able to trigger using third party extension

Started by gopijack, December 31, 2011, 11:07:56 AM

Previous topic - Next topic

gopijack

Hi,

I am using Third party extension.In that i am creating one payment plugin for Virtuemart.

every thing is fine,but finally i want to clear the session and want to send mail.

for that purpose i am triggering the plugin `plgVmOnPaymentNotification` inside my component by i can't able to get any information.showing empty page.
here is my code.
                                                       JPluginHelper::importPlugin('vmpayment');
                     $dispatcher = JDispatcher::getInstance();
                     print_r($dispatcher); // Nothing is passing this array.
                     $returnValues = $dispatcher->trigger('plgVmOnPaymentNotification');

Any idea ? ? ?

Thanks in Advance.

Regards

Gopi.A

alatak

Hi

the plgVmOnPaymentNotification trigger should be used for server to server payment notification.