VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ramkumar90 on May 18, 2016, 12:56:00 PM

Title: payment plugin trigger events is not triggering
Post by: ramkumar90 on May 18, 2016, 12:56:00 PM
Hi,

I installed Virtuemart  3.0.14 and I need to trigger plugin events at the time of placing product order.Referred https://dev.virtuemart.net/projects/virtuemart/wiki/Payment_Plugins and developed the plugin based on that.when triggering plugins(class plgVmPaymentJemNotify extends vmPaymentPlugin) its saying 'Fatal error: Class 'vmPaymentPlugin' not found ' .Kindly help me to fix this problem.
Title: Re: payment plugin trigger events is not triggering
Post by: Jörgen on May 18, 2016, 12:57:54 PM
Load the class in the plugin.

regards

Jörgen @ Kreativ Fotografi
Title: Re: payment plugin trigger events is not triggering
Post by: Ghost on May 18, 2016, 13:01:54 PM
This documentation is from 2011. It's for old VM versions, not suitable for VM3.

See existing payment plugins for examples.
Title: Re: payment plugin trigger events is not triggering
Post by: ramkumar90 on May 18, 2016, 13:05:08 PM
Can you please paste the latest link for payment plugin development ?
Title: Re: payment plugin trigger events is not triggering
Post by: Jörgen on May 18, 2016, 13:11:43 PM
http://docs.virtuemart.net/tutorials/development.html (http://docs.virtuemart.net/tutorials/development.html)

You can probably find more searching the docs. site.

regards

Jörgen @ Kreativ Fotografi
Title: Re: payment plugin trigger events is not triggering
Post by: GJC Web Design on May 18, 2016, 23:54:31 PM
Or better just look how the authorize plugin is done.. it is about the simplest