buckaroo-it / magento2_secondchance Goto Github PK
View Code? Open in Web Editor NEWRepository containing the Magento 2 Second Chance plugin by Buckaroo
License: MIT License
Repository containing the Magento 2 Second Chance plugin by Buckaroo
License: MIT License
Row 590 of Model/SecondChanceRepository.php uses Type::TYPE_SIMPLE
which results in PHP Fatal error: Uncaught Error: Class 'Buckaroo\Magento2SecondChance\Model\Type' not found
Presumably, this refers to Magento\Catalog\Model\Product\Type::TYPE_SIMPLE
which is 'simple'
Fix, add use Magento\Catalog\Model\Product\Type;
to the use-block
For our client the allowed creditcards set on a default/global level are different then those on website and store level:
mysql> select scope, scope_id, value from core_config_data where path = 'payment/buckaroo_magento2_creditcard/allowed_creditcards';
+----------+----------+----------------------------------------------------------------+
| scope | scope_id | value |
+----------+----------+----------------------------------------------------------------+
| default | 0 | maestro,mastercard,visa |
| stores | 4 | amex,maestro,mastercard,visa |
| websites | 3 | amex,cartebancaire,cartebleuevisa,maestro,mastercard,visa,vpay |
| stores | 3 | amex,cartebancaire,cartebleuevisa,maestro,mastercard,visa,vpay |
| websites | 33 | maestro,mastercard,visa |
| websites | 1 | amex,maestro,mastercard,visa |
+----------+----------+----------------------------------------------------------------+
6 rows in set (0.00 sec)
This leads to the following error when running the cornjob: buckaroo_magento2_run:
Run Buckaroo\Magento2SecondChance\Cron\SecondChance::execute
Cron-job "buckaroo_magento2_cron" threw exception InvalidArgumentException
In Creditcard.php line 242:
No card found for card type: cartebancaire
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.