VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: gopijack on December 31, 2011, 11:07:56 AM

Title: Virtuemart2.0:Payment plugin can't able to trigger using third party extension
Post by: gopijack on December 31, 2011, 11:07:56 AM
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
Title: Re: Virtuemart2.0:Payment plugin can't able to trigger using third party extension
Post by: alatak on January 01, 2012, 14:38:28 PM
Hi

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