VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: emk121 on December 17, 2012, 16:46:20 PM

Title: Payment Plugin HTML Output
Post by: emk121 on December 17, 2012, 16:46:20 PM
I'm writing a payment plugin and I'm looking to add an iframe to the confirm/confirmation page for processing but I'm not seeing what function(s) outputs html to those pages. I've been looking at the plugin documentation but the functions seems to be quite different than any plugins that are pre-installed. Not sure which is correct but have been using the working plugins as a template, any info on both is appreciated.
Title: Re: Payment Plugin HTML Output
Post by: PRO on December 17, 2012, 18:47:40 PM
Quote from: emk121 on December 17, 2012, 16:46:20 PM
I'm writing a payment plugin and I'm looking to add an iframe to the confirm/confirmation page for processing but I'm not seeing what function(s) outputs html to those pages. I've been looking at the plugin documentation but the functions seems to be quite different than any plugins that are pre-installed. Not sure which is correct but have been using the working plugins as a template, any info on both is appreciated.

look in the authorize.net file

all the functions will be there
Title: Re: Payment Plugin HTML Output
Post by: emk121 on December 19, 2012, 00:02:16 AM
Thanks for the input, that's the file I've been using, I take it the only function would be plgVmConfirmedOrder after the order is confirmed would be the only option for HTML output not on the pages before.
Title: Re: Payment Plugin HTML Output
Post by: PRO on December 19, 2012, 15:15:31 PM
Quote from: emk121 on December 19, 2012, 00:02:16 AM
Thanks for the input, that's the file I've been using, I take it the only function would be plgVmConfirmedOrder after the order is confirmed would be the only option for HTML output not on the pages before.

yes,