News:

Looking for documentation? Take a look on our wiki

Main Menu

Format Payment Info details

Started by brendonhatcher, April 22, 2012, 10:24:17 AM

Previous topic - Next topic

brendonhatcher

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

eloysanchez

HI

Did youfind a solution?
I have the same problem.

Thanks
Eloy
IT Manager -  Webmaster
www.neozoneblog.es
www.verlaip.com

randomdev

Same problem here, any solutions yet?

brentonking

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.

randomdev


bastianb

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