Jump to content

Override PaymentModule.php


sitte

Recommended Posts

How to override PaymentModule.php ?

I put copy of file /classes/PaymentModule.php into /override/classes/PaymentModule.php and changed class header into:

abstract class PaymentModule extends PaymentModuleCore

but it is not executed.

Link to comment
Share on other sites

1 hour ago, sitte said:

How to override PaymentModule.php ?

I put copy of file /classes/PaymentModule.php into /override/classes/PaymentModule.php and changed class header into:


abstract class PaymentModule extends PaymentModuleCore

but it is not executed.

Remember to remove /cache/class_index.php (or /var/cache/ENV/class_index.php in PS 1.7)!!

Edited by idnovate.com (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...