Coder Social home page Coder Social logo

module-webshipper's People

Contributors

tekrus avatar webkenth avatar wexo-team avatar wexoks avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

module-webshipper's Issues

Carrierr code and Add-ons are missed in magento

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?

Order synchronisation configuration does not work with prefixed tables

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);

Magento 2 Headless Integration

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.