Hello everybody,
Currently we are developing a new payment gateway for VM3 with Joomla 3. So far I tried to follow the limited documentation on how to create one. Right now I am having trouble with the following items:
- field in xml; When going to the configuration tab of the payment plugin. I cannot save my changes. Is any code needed for that?
- I am got the feeling that I am missing some things within the plgVmConfirmedOrder function
- I got the feeling the functions plgVmOnPaymentNotification, plgVmgetPaymentCurrency and plgVmOnPaymentResponseReceived needs to be used too.
We also require a postback function, as I tried making that in my file but I am not sure if that works.
The sourcecode is located at https://github.com/icepay/VirtueMart-3.
If anybody could advise me into the right direction, that would be great.
Thank you.
add
function plgVmDeclarePluginParamsPaymentVM3( &$data) {
return $this->declarePluginParams('payment', $data);
}
to save-> field in xml;
Quote from: GJC Web Design on June 09, 2015, 15:31:22 PM
add
function plgVmDeclarePluginParamsPaymentVM3( &$data) {
return $this->declarePluginParams('payment', $data);
}
to save-> field in xml;
I already seem to have that in my code in this file (https://github.com/icepay/VirtueMart-3/blob/master/icepay.php#L258). However, when I press Save, it refreshes with empty fields.
check your vars_to_push and what you actually post etc