Online Payment Module Architecture: Difference between revisions

m
Tag: 2017 source edit
Tag: 2017 source edit
Line 82: Line 82:
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 lang="PHP">
<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>
</syntaxhighlight>