VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: brendonhatcher on April 22, 2012, 10:24:17 AM

Title: Format Payment Info details
Post by: brendonhatcher on April 22, 2012, 10:24:17 AM
Hi

I am using the standard payment plugin to facilitate bank deposit payments.

I have entered the bank details in Payment Info.
The details are showing up on the confirmation page, and also on the confirmation email.

The problem is that the Payment Info field makes no provision for layout.
I need to be able to insert line breaks so that each part of the banking details is on a new line (e.g. account name, account number etc).
I tried adding html in Payment Info and it is just stripped out.

Any ideas?

Thanks
Brendon
Title: Re: Format Payment Info details
Post by: eloysanchez on June 29, 2012, 11:50:13 AM
HI

Did youfind a solution?
I have the same problem.

Thanks
Eloy
Title: Re: Format Payment Info details
Post by: randomdev on December 13, 2012, 11:59:57 AM
Same problem here, any solutions yet?
Title: Re: Format Payment Info details
Post by: brentonking on January 01, 2013, 14:11:52 PM
Not the greatest solution, but a solution never the less.

Paste the styling directly in to your database.
In your database go to "virtuemart_paymentmethods" table
click edit for your specific option(s)

payment_params should look something like this:
payment_logos=["bank-icon.png"]|countries=""|payment_currency="0"|status_pending="U"|min_amount=""|max_amount=""|cost_per_transaction=""|cost_percent_total=""|tax_id="-1"|payment_info="<h4>Paying by Bank Deposit?</h4><p>Our Account Details</p>"|

just put your html styling in between the payment_info quotes (in red above)

Hopefully someone comes up with a better answer. But this should help for now.

It also looks like you can change the wording in the backend like normal, after that. Might require more testing though.
Title: Re: Format Payment Info details
Post by: randomdev on January 07, 2013, 02:30:52 AM
Thanks for that
Title: Re: Format Payment Info details
Post by: bastianb on January 17, 2014, 10:57:54 AM
Hi,

the topic is old but I had the problem today: A posible solution is to use <p>XXX</p> in the Payment Info field.

Regards
Bastian