Giter Site home page Giter Site logo

Comments (5)

phillipuniverse avatar phillipuniverse commented on May 17, 2024

@apazzolini I believe this has actually been resolved when we did those payment activity refactorings. Could you confirm and if it's resolved could you close?

from broadleafcommerce.

apazzolini avatar apazzolini commented on May 17, 2024

I think this is payment module specific. @Jerry77oz can you confirm this is resolved for Braintree? We should ensure all modules are fixed, or figure out a way to enforce it in core.

from broadleafcommerce.

ktisdell avatar ktisdell commented on May 17, 2024

There may be multiple payment modules used in a single transaction (e.g. Braintree and Account Credit), so I assume that this has to be enforced in core.

from broadleafcommerce.

Jerry77oz avatar Jerry77oz commented on May 17, 2024

This has been addressed in core, as there is now a check on PaymentActivity to verify the amount processed by the payment module. If an amount is returned for less then what was in the PaymentInfo then an Insufficient Funds error is thrown.

from broadleafcommerce.

phillipuniverse avatar phillipuniverse commented on May 17, 2024

@apazzolini looks like the referenced commit ensures that after the payment workflow is completed, all order funds have been paid for. Line 71 looks like it does the job. Feel free to close if so.

from broadleafcommerce.

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.