yulianto86 Posted August 2, 2019 Share Posted August 2, 2019 Hi, i use module payment. but in the module not hook on displayreturnpayment, only on hook payment, i use dispayreturnpayment. can i build new hook to this module? thank you Link to comment Share on other sites More sharing options...
joseantgv Posted August 2, 2019 Share Posted August 2, 2019 Hook is paymentReturn. $this->registerHook('paymentReturn') public function hookPaymentReturn($params) { ... } Link to comment Share on other sites More sharing options...
yulianto86 Posted August 2, 2019 Author Share Posted August 2, 2019 Hi, in payment hook is <div class="row"> <div class="col-xs-12"> <p class="payment_module"> <a href="{$link->getModuleLink('kredivo', 'payment')}" title="Pay Via Kredivo"> <img src="{$this_path}logo-bnpl.png" alt="{l s='Pay via Kredivo' mod='kredivo'}" height="30px"/> {if (Configuration::get('PS_KREDIVO_ENVIRONMENT') == 'sandbox') } <span style="color:red">{l s='TEST MODE ENABLED'}</span> {else} {l s=Configuration::get('PS_KREDIVO_DESC')} {/if} </a> </p> </div> </div> where i must change? thank you Link to comment Share on other sites More sharing options...
joseantgv Posted August 2, 2019 Share Posted August 2, 2019 paymentReturn hook is not displayed. You need to use another hook. Link to comment Share on other sites More sharing options...
yulianto86 Posted August 3, 2019 Author Share Posted August 3, 2019 no, i only use paymentreturn. can build new hook to this module? thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now