Skip to content

iyzipay-dotnet v2.1.33

Compare
Choose a tag to compare
@iyzico-ci iyzico-ci released this 20 Jan 08:23
· 58 commits to master since this release

Version 2.1.33 Release :

  • Functional tests are added under the Iyzipay.Tests project and they are running for net45, core 1.1 and core 2.0 environments on each commit
  • HttpClient used as single instance based on this link "https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?redirectedfrom=MSDN&view=netframework-4.8#remarks"
  • After the core support; net45, net standard 1.3 and net standard 2.0 packages available
  • Added card management functionality
  • Newtonsoft version change;

    For .Net Framework usage, decimal deserialized to string with trim "0" operation from the end by newtonsoft library.

    // true for .net 45
    bool isEqual = payment.IyziCommissionRateAmount.Equals("0.028875")

    For .Net Standard usage, decimal deserialized to string without trim operation by newtonsoft library.

    // false for .net standard
    bool isEqual = payment.IyziCommissionRateAmount.Equals("0.028875");
    // true for .net standard
    bool isEqual = payment.IyziCommissionRateAmount.Equals("0.02887500");