Git Product home page Git Product logo

Comments (4)

Jasper-MultiSafepay avatar Jasper-MultiSafepay commented on August 16, 2024

@magefan
Could you send an email to [email protected] ?
We would like to investigate this further.

from magento2msp.

magefan avatar magefan commented on August 16, 2024

Yes, sent.

from magento2msp.

Tristan-N avatar Tristan-N commented on August 16, 2024

@Jasper-MultiSafepay Hi Jasper,

Do you have any updates on this issue? This error occurs to our Magento 2.1.8 shop, but also with the $base_price variable that seems to be unset.

Additional: This error occurs when we try to checkout products with tier prices. As soon as the tier price is activated, the connector fails.

For example:
product price: €10
product tier 5: €9
product tier 10: €8.

If I order 1, 2, 3 or 4 products, everything works fine. As soon as I order 5 or more, it breaks with the same errorcode as above (sometimes with a:4:{i:0;s:164:"Notice: Undefined property: stdClass::$base_price in ... magento2/vendor/multisafepay/magento2msp/Model/Connect.php on line 589"

Do you have any updates on this issue?

Thanks

from magento2msp.

Jasper-MultiSafepay avatar Jasper-MultiSafepay commented on August 16, 2024

@Tristan-N
Regarding issue1:
On line 865 add the following line:
if(isset($msporder->payment_details)) {
and close this on line 877 with:
}

Regarding issue2:
Replace base_price with price on lines 589 and 592
So $value->base_price becomes $value->price

We will also push these commits/fixes to GitHub, hopefully soon.

from magento2msp.

Related Issues (20)

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.