Online Payment Module Architecture: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 81: Line 81:


If you need to embed you own form, the content must returned by the hook, for example:  
If you need to embed you own form, the content must returned by the hook, for example:  
<syntaxhighlight>
<syntaxhighlight lang="PHP">
this->resPrint = "<script>my javascript</script><form><input type="text" name="credit card num"></form>";
this->resPrint = "<script>my javascript</script><form><input type="text" name="credit card num"></form>";
</syntaxhighlight lang="php">
</syntaxhighlight>


If you need to make a redirect to an external page, do it into this hook with:
If you need to make a redirect to an external page, do it into this hook with:

Navigation menu