Overwrite payment file
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Overwrite payment file
Laravel version: 6.20
Aimeos version: 2021.04
PHP version: 7.4
I'm trying to overwrite /ai-payments/lib/custom/src/MShop/Service/Provider/Payment/OmniPay.php to my files.
In which directory I should be overwrite this file ? And path for config files
Aimeos version: 2021.04
PHP version: 7.4
I'm trying to overwrite /ai-payments/lib/custom/src/MShop/Service/Provider/Payment/OmniPay.php to my files.
In which directory I should be overwrite this file ? And path for config files
Re: Overwrite payment file
You can only extend from the class and give your new class a new name. Configure the new name in the "Provider" field of the service detail view of the admin backend to your new class instead of the original one.
Please note that Aimeos 2021.04 isn't supported any more and you should upgrade at least to 2021.10 LTS:
https://aimeos.org/roadmap
Please note that Aimeos 2021.04 isn't supported any more and you should upgrade at least to 2021.10 LTS:
https://aimeos.org/roadmap
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star