Coder Social home page Coder Social logo

Comments (4)

stephtaylor avatar stephtaylor commented on August 20, 2024 1

@cm-datrics the changes should be available in 0.7.2 Let me know if you run into any issues.

from react-square-payment-form.

cm-datrics avatar cm-datrics commented on August 20, 2024

Looking through the source code, I realise this is because I have supplied my own custom methodsSupported prop to the SquarePaymentForm and thus the default methodsSupported (which is responsible for setting the context values from 'loading' to 'ready' or 'unavailable') is now not being called. Perhaps it would be good to still call the default methodsSupported even if a custom prop is supplied - similar to how the paymentFormLoaded default is called even if a paymentFormLoaded prop is supplied.

Happy to raise a PR for this if you think it would be a good idea

from react-square-payment-form.

stephtaylor avatar stephtaylor commented on August 20, 2024

Hi @cm-datrics, thanks for calling this out. It seems like a good idea to me and I'm happy to review the PR when it's ready.

from react-square-payment-form.

cm-datrics avatar cm-datrics commented on August 20, 2024

Thanks @stephtaylor , made one here.

from react-square-payment-form.

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.