31,034
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 55: | Line 55: | ||
Then for each entry found the page suggest the payment mode as a different button "Pay using MyPaymentMode". To output HTML code of your button, you must use the hook '''doAddButton''' for the context "newpayment". Your hook must return an | Then for each entry found the page suggest the payment mode as a different button "Pay using MyPaymentMode". To output HTML code of your button, you must use the hook '''doAddButton''' for the context "newpayment". Your hook must return an | ||
<syntaxHighlight> | <syntaxHighlight> | ||
array('mypaymentcode' => 'MyPaymentMode') | $this->resarray = array('mypaymentcode' => 'MyPaymentMode Label on Button') | ||
</syntaxHighlight> | </syntaxHighlight> | ||