31,034
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 128: | Line 128: | ||
For all of this, you must implement the hook '''doPayment''' in the context 'newpayment'. | For all of this, you must implement the hook '''doPayment''' in the context 'newpayment'. | ||
If you need to embed you own form, the content must returned by the hook, for example: | If you need to embed you own HTML form, the content must be returned by the hook into ->resPrint, 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>'; | ||