Jump to content
  • 0

Offline Payment Doesn't Support Html Anymore


m0hamedessam

Question

6 answers to this question

Recommended Posts

  • 0

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>
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...