wexo / module-webshipper Goto Github PK
View Code? Open in Web Editor NEWWebshipper Magento 2 Module
Webshipper Magento 2 Module
Magento version 2.4.5-p1
Wexo_Webshipper setup_version=1.0.3
on webshipper we have several droppoint carriers (DAO, GLS), after placing order magento order has info about drop point but no information about carrier code, only method code in format webshipper_X_Y (carrier_code is empty)
also no information about service_code, notifications and addons
is this normal?
After updating to version 1.0.1, the configuration page for Webshipper is blank when Magento is installed with table prefixes.
An error is logged when attempting to view the configuration page:
[2023-07-03T15:54:31.626527+00:00] main.CRITICAL: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'client_mg1.sales_order' doesn't exist in /home/client/public_html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:90
It is caused by the following line (Model/Config/Source/Order/AbstractOrderAttributes.php#47
):
$salesOrder = $this->resourceConnection->getConnection()->describeTable('sales_order');
which isn't using the \Magento\Framework\App\ResourceConnection::getTableName()
function to get the prefixed table name
Fixed by changing the line to the following:
$tableName = $this->resourceConnection->getTableName('sales_order');
$salesOrder = $this->resourceConnection->getConnection()->describeTable($tableName);
Hi,
Currently I'm implementing this module for one of our webshops in combination with a headless website and a Magento back-end. Now when setting the shipping address through the REST API (POST /shipping-information) we are getting a response with legit data. When paying (POST /payment-information) we are getting an error there's no shipping method in the cart.
I think we need more values in our extension_attributes, so webshipper can actually calculate some stuff, but there's no documentation whatsoever and can't really figure out by reading the code of this module. Is there any way of even implementing Webshipper in combination with headless?
For you information, we are running Magento 2.4.3-p1.
Thanks in advance.
Sam
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.