Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@Stuart-Baillie Stuart-Baillie released this 10 Jul 14:52
62235ba

General

  • Update Api-Version to 6.21

Incremental Auth

  • Add optional AllowIncrement boolean flag to CardPaymentModel for CIT preAuths that can be incremented before they are fully collected
  • Add optional AllowIncrement boolean flag to WebPaymentRequestModel for payment sessions created through JudoPayDotNet.Clients.WebPayments.IPreAuths (should not be specified on IPayments or ICheckCards)
  • Add AllowIncrement to GetWebPaymentResponseModel
  • Add JudoPayDotNet.Clients.IPreAuths.IncrementAuth method to increase the authorised amount for an existing CIT preAuth that was set -with AllowIncrement=true
  • Add AllowIncrement to PaymentReceiptModel, true on receipts for CIT preAuths that have that flag set to true in the request
  • Add IsIncrementalAuth to PaymentReceiptMode, true on receipts for call to incrementalAuth endpoint

Breaking changes

  • Remove DelayedAuthorisation request attribute from PaymentModel and WebPaymentRequestModel, and from the response GetWebPaymentResponseModel (use the new incremental authorisation feature instead)
  • Drop issueNumber (no longer exposed as a request attribute on Judo Transaction API)
  • Drop IRegisterCards interface - ICheckCard or IPreAuths should be used instead
  • Remove RecurringPayment, RecurringPaymentType, RelatedReceiptId from CheckCardModel