VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: triolatice on May 20, 2013, 21:32:55 PM

Title: Help developing PikPay payment plugin
Post by: triolatice on May 20, 2013, 21:32:55 PM
I am developing a payment plugin .
Plugin install and enable. I added a new payment method, but my plugin does not create database table.
Can someone help me.

[attachment cleanup by admin]
Title: Re: Help developing PikPay payment plugin
Post by: alatak on May 22, 2013, 09:19:48 AM
Hello

The SQL table is create via this trigger plgVmOnStoreInstallPaymentPluginTable

Add this function in your code
function plgVmOnStoreInstallPaymentPluginTable ($jplugin_id) {

return $this->onStoreInstallPluginTable ($jplugin_id);
}