Jump to content

payment module cannot be display


Recommended Posts

Hello to everyone

 

im finally, after 9 years, stuck with a little problem ;) maybe someone can help to find my way

 

With my prestashop (1.6.1.23) i have, since prestashop 1.6, an advance EU compliance module

 

Since this, my payement module need to be hooked on DisplayplaymentEU and my payment module ( payxpert only can be attached to 3 hooks look at the picture

How can i bring it to displyPayment to displayPaymentEU ( i think i just need to rename the hook somewhere but i odont know where.

If someone could come to my help ( im no IT but i get quite good with prestashop so if someone is kind enough to help me through i would be very grateful

 

I wait for your reply

 

Sincerly Ausone

 

prestapay.png

prestapay2.png

Edited by aus0ne
solved ! (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hi,

If the module name is payxpert, in /modules/payxpert/payxpert.php (rule is /modules/module_name/module_name.php), you will find the method which starts with:

public function hookDisplayPayment($params) { ...

You can copy the entire function and rename it to

public function hookDisplayPaymentEU($params) { ...

Once you've done that, you'll need to add it to Hooks, it will become available for hook register.

 

Edited by Ress (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...