For me, running the payment method extension bumped into Vendor AWS errors.
In the file vendor/aws/aws-sdk-php/src/functions.php, apparently all functions stop the program with an error:
PHP Fatal error: Cannot redeclare .....
I got my own payment method extension working at this point when I disabled AWS in the vendor/compare directory.
To make it easier, if necessary, you can block the display of AWS functions in the file system/vendor.php:

Code: Select all
// require_once(DIR_STORAGE . 'vendor/aws/aws-sdk-php/src/functions.php');

This problem is solved.
File extension/plugin/system/library/plugin.php:
This feature of previous OC versions is not needed in OC version 4.
File extension/plugin/system/library/plugin.php:
Code: Select all
require_once(DIR_STORAGE . 'vendor/autoload.php');
Who is online
Users browsing this forum: Google [Bot] and 3 guests