News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM3 + Joomla 3 Payment Gateway

Started by Ricardo-IC, June 09, 2015, 13:16:37 PM

Previous topic - Next topic

Ricardo-IC

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.

GJC Web Design

add

function plgVmDeclarePluginParamsPaymentVM3( &$data) {
      return $this->declarePluginParams('payment', $data);
   }

to save->  field in xml;
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Ricardo-IC

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. However, when I press Save, it refreshes with empty fields.

GJC Web Design

check your vars_to_push and what you actually post etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation