You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been testing the SDK and have following feedback and suggestion for improvements:
The current code does not allow us to deliberately re-use code for Payments instruments. An example is PaymentsResource.cs where the methods for getting and creating payments are close to identical. This should be abstracted so there is only need for getpayment and createpayment.
In src/SwedbankPay.Sdk/SwedbankPayHttpClient.cs:
The SwedbankPayHttpClient class is made internal although GET, POST, and PATCH methods could be useful other places.
The readme.md does not provide necessary information for a basic implementation. It would be helpful for the users to have a beginner's manual in order to get started with an implementation.
The text was updated successfully, but these errors were encountered:
I have been testing the SDK and have following feedback and suggestion for improvements:
PaymentsResource.cs
where the methods for getting and creating payments are close to identical. This should be abstracted so there is only need forgetpayment
andcreatepayment
.src/SwedbankPay.Sdk/SwedbankPayHttpClient.cs
:The
SwedbankPayHttpClient
class is made internal althoughGET
,POST
, andPATCH
methods could be useful other places.readme.md
does not provide necessary information for a basic implementation. It would be helpful for the users to have a beginner's manual in order to get started with an implementation.The text was updated successfully, but these errors were encountered: