News:

Support the VirtueMart project and become a member

Main Menu

Hierarchical payment method

Started by noOob, August 19, 2018, 16:11:49 PM

Previous topic - Next topic

noOob

I want to create a payment method that uses multi payment methods in a hierarchical way. Usage example could be:

A client's cart price become $100, he has $50 score in site (AlphaUserPoint) and he could pay other $50 by credit cart or like that.

I need to write my own plugin (cause it's a little bit more complicated than this example) i need to know how to write a correct payment plugin for VM ( I searched for the document but there is none) and how shall i call other Payments?
directly or i think could change the $data and dispatch plgVmConfirmedOrder trigger or sth like that once again.

GJC Web Design

There are no docs but just use the bundled payment plugins as your examples

the "standard" is the simplest and then authorize is a good example of calls and passes to payment providors
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

noOob

Quote from: GJC Web Design on August 19, 2018, 19:16:14 PM
There are no docs but just use the bundled payment plugins as your examples

the "standard" is the simplest and then authorize is a good example of calls and passes to payment providors

Oh it takes time, thank you anyway.