VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: divads on November 23, 2016, 13:51:37 PM

Title: failed/success payment
Post by: divads on November 23, 2016, 13:51:37 PM
Hello
i am using VM 3.0.18 and joomla 3.6.4.
I am using some payment plugins and when i have successful payment they change order status to "C" and send invoice email.
How they do it? Is possible to call this function from my own apllication (confirm recived money from bank transfer) (via url??) in case this is build in base VM and not in payment plugins.

Thank you for answer
Title: Re: failed/success payment
Post by: Studio 42 on November 23, 2016, 22:18:31 PM
You can write own payment plugin but don't forget to add some security, eg. secret key, IP check, else any can change the statut code.
See other vmpayment plugins, how to do this.
Title: Re: failed/success payment
Post by: GJC Web Design on November 24, 2016, 01:32:00 AM
In other words u build a dummy payment plugin with the standard response code that u access by url and e.g. password