Code Monkey home page Code Monkey logo

Comments (7)

Viincenttt avatar Viincenttt commented on July 19, 2024 1

This is now done and will be released in the next version

from mollieapi.

woutware avatar woutware commented on July 19, 2024 1

Looks great Vincent!

from mollieapi.

Viincenttt avatar Viincenttt commented on July 19, 2024 1

This is now live in 3.1.0.0
https://github.com/Viincenttt/MollieApi/releases/tag/3.1.0.0

from mollieapi.

woutware avatar woutware commented on July 19, 2024 1

Just a nitpicky comment about the wording of "one will be created and disposed for you." in the home page tutorial. The caller has to explicitly call Dispose() himself (through the use of "using"), so it's not being magically being disposed without the caller calling Dispose().

A completely unrelated comment (about the documentation): it would be useful to demonstrate the use of PaymentResponse.Links.Checkout.Href in the "Payment API" paragraph. I think most users will use the Mollie payment pages and will have to redirect to this url. It's no big deal, because I found it in 10 minutes in the mollie docs, but if this would have been included in the howto, it would have been already usable right out of the box to do a complete payment.

from mollieapi.

Viincenttt avatar Viincenttt commented on July 19, 2024 1

Thanks for the feedback @woutware , I really appreciate it! :)

I'll update the documentation to make this part a bit more clear

from mollieapi.

Viincenttt avatar Viincenttt commented on July 19, 2024

Hi @woutware ,

Good idea, I agree with your suggestion. The recommended way to use the Mollie .NET client is to use the recently introduced dependency injection extension method, as described in the documentation:
https://github.com/Viincenttt/MollieApi#dependency-injection

In case someone is not using dependency injection and is using the constructor variant where no HttpClient instance is provided, I'll see if I can add some code to dispose the HttpClient instance that is created by the Mollie API classes.

Kind regards,
Vincent

from mollieapi.

woutware avatar woutware commented on July 19, 2024

The wording is much better now! And the checkout url paragraph looks good too, overall great job on the documentation!

from mollieapi.

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.