paylater-ecommerce-plugin-php's People
paylater-ecommerce-plugin-php's Issues
[BUG] Current OpencartV2 doesn't work on Opencart version >= 2.2.0.0
On 2.2.0.0, they added automatic composer autoload functionality on admin/
, catalog/
& system/
.
If we're following the proper installation guide for Opencart, we'll run into this error:
[Wed Oct 21 00:22:43 2020] 127.0.0.1:50214 [500]: /admin/index.php?route=extension/payment/uninstall&token=A1nZFBWoW4LnI8jrnB9uWuOjpO1J5lGt&extension=indodana_checkout - Cannot redeclare class ComposerAutoloaderInit1e07fb21a235d2be8314762c4ea4d0f9 in /home/stvyang/Code/Workspace/paylater-ecommerce-plugin-php/.build/opencartv2/upload/system/library/indodana/vendor/composer/autoload_real.php on line 5
It seems that it can be solved on 0762552. but this commit is not backward-compatible
There are 2 approaches that we can do:
- [Recommended] Make it backward compatible by autoloading it if the version is < 2.2.0.0
- Make another plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.