VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: brendonhatcher on May 06, 2012, 14:18:28 PM

Title: Code tweak required for standard payment module
Post by: brendonhatcher on May 06, 2012, 14:18:28 PM
Hi

One of the main reasons for using the Standard Payment module is to allow for offline payments via bank deposit or electronic funds transfer.
The most appropriate place where we can put the banking details is on the Configuration tab in the Payment Info field.

Unfortunately, this field has no HTML editor, and saving the plugin strips out any inline HTML.
Thus there is no way to format a neat display of the banking details (multiple lines, labels in bold etc).

I discovered that I could add inline HTML by adding it directly to the field in phpMyAdmin.
This is less than ideal.

Please consider changing the Payment Info field to a full edit textarea with the default editor loaded.

Thanks
Brendon
Title: Re: Code tweak required for standard payment module
Post by: alatak on May 06, 2012, 15:49:54 PM
Hi,

QuoteUnfortunately, this field has no HTML editor, and saving the plugin strips out any inline HTML.
I will try to see if it is possible to have an HTML editor.
I have tried to add HTML tags in the Payment Info, and the tags are not stripped, at least with the latest version.
Title: Re: Code tweak required for standard payment module
Post by: eloysanchez on June 29, 2012, 12:37:16 PM
Hi,
In which table do you write directy in phpmyadmin?

For developers:
I think this is important, line breaks at least are so necessary.

Thanks so much
Eloy