Comments (7)
This is now done and will be released in the next version
from mollieapi.
Looks great Vincent!
from mollieapi.
This is now live in 3.1.0.0
https://github.com/Viincenttt/MollieApi/releases/tag/3.1.0.0
from mollieapi.
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.
Thanks for the feedback @woutware , I really appreciate it! :)
I'll update the documentation to make this part a bit more clear
from mollieapi.
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.
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)
- Add extension method to register all Mollie API clients using dependency injection HOT 1
- Support for get payment refund HOT 2
- Pagination on GetChargebacksListAsync HOT 3
- Wallet API support HOT 1
- GetInvoiceListAsync : Unprocessable Entity - Non-existent query parameter "include" for this API call HOT 4
- Add support for Klarna One payment method HOT 1
- UpdateCustomerAsync throws error 502 HOT 3
- Create customer throws error when using the testmode property in the request HOT 2
- Enable nullable references in Mollie.Api project HOT 1
- How to set your own idempotency key? HOT 10
- Add an .editorconfig file to help maintain styling HOT 2
- Some issues with list balance transactions HOT 3
- Add support for refunding split payments HOT 3
- Support for Lines in CreatePayment HOT 3
- Veranderingen in 4.0.0 versie. HOT 2
- Add support for HTTP error code "Conflict" HOT 2
- Nullable issue in CreditCardPaymentResponse HOT 4
- PaymentRequest missing address properties HOT 8
- Missing fields in Mandate API? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mollieapi.