Jump to content
  • 0

Offline Payment Doesn't Support Html Anymore


Question

6 answers to this question

Recommended Posts

  • 0
Posted

The offline payment gateway is only intended to support Markdown text.

 

See Markdown syntax

 

Here's an example:

# This is a heading

This is a paragraph

- List item 1
- List item 2

1. Number list 1
2. Number list 2

[Text to link](http://google.com/)

Produces:

<h1>This is a heading</h1>
<p>This is a paragraph</p>
<ul>
<li>List item 1</li>
<li>List item 2</li>
</ul>
<ol>
<li>Number list 1</li>
<li>Number list 2</li>
</ol>
<p><a href="http://google.com/">Text to link</a></p>
  • 0
Posted

Update /components/gateways/nonmerchant/offline/views/default/process.pdt.

From:

<?php
echo $this->TextParser->encode("markdown", $this->Html->ifSet($meta['instructions']));
?>

To:

<?php
echo $this->Html->ifSet($meta['instructions']);
?>

But I HIGHLY RECOMMEND you clone the offline gateway and rename it to create your own custom gateway if you need iframes.

 

This offline gateway only supports Markdown text.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...