Skip to content

v4.0.0

Compare
Choose a tag to compare
@Stuart-Baillie Stuart-Baillie released this 25 Apr 13:43
· 29 commits to master since this release
8d5385d

General

  • Default Api-Version updated to 6.19
  • Update UserAgent to start with JudoDotNetSDK

Breaking changes

  • ReceiptId is now a string rather than a long (on requests as well as responses)
  • Remove support for ConsumerToken, use YourConsumerReference instead
  • Remove support for OneUseTokens
  • Remove support for ThreeDSecure 1.x
  • Removed attributes that are no longer supported on Judo transaction API
    • PaymentModel
      • PartnerServiceFee
      • ConsumerLocation
      • DeviceCategory (use ThreeDSecureTwoModel.AuthenticationSource instead)
      • AcceptHeaders moved to ThreeDSecureTwoPaymentModel
      • UserAgent moved to ThreeDSecureTwoPaymentModel
    • SaveCardModel
      • IssueNumber (no longer required for Maestro transactions)
      • StartDate (no longer required for Maestro transactions)
    • PaymentReceiptModel
      • PartnerServiceFee
      • KountTransactionId
      • Refunds
      • PostCodeCheckResult (Risks block should be used instead)
      • Recurring (RecurringPaymentType should be used instead)
    • CollectionModel
      • PartnerServiceFee
    • RefundModel
      • PartnerServiceFee
    • WebPaymentRequestModel
      • ClientIpAddress
      • ClientUserAgent
      • PartnerServiceFee
    • CardAddressModel
      • Line1/2/3 (use Address1/2/3 instead)
    • WebPaymentCardAddress
      • Line1/2/3 (use Address1/2/3 instead)
  • Changed PaymentModel.ClientDetails to only accept a string key and value (encrypted by MobileSDK using DeviceDNA)
  • Changed PaymentModel.YourPaymentMetaData and WebPaymentRequestModel.YourPaymentMetaData signature from IDictionary<string, string> to IDictionary<string, object>
  • Rename PkPaymentModel to ApplePayPaymentModel
    • Rename BillingAddress to BillingContact and change object type to match Apple payload
    • Remove ShippingAddress
    • Remove PaymentInstrumentName and PaymentNetwork, replace with ApplePayPaymentModel
  • Remove IPayments.Update and IPreAuths.Update and replace it with IPayments.Cancel and IPreAuths.Cancel that takes a reference parameter.

New attributes/models

  • PaymentModel
    • RelatedPaymentNetworkTransactionId
    • DelayedAuthorisation (for preauths only)
  • SaveCardModel
    • CardHolderName
  • TokenPaymentModel
    • CardAddress
  • PaymentReceiptModel
    • NoOfAuthAttempts (only populated in historic receipts)
  • ThreeDSecureReceiptModel
    • ChallengeRequestIndicator
    • ScaExemption
  • WalletType
    • GooglePay
    • ApplePay
  • GooglePayPaymentModel
  • RiskModel
    • Cv2Check
  • ReferencingTransactionBase
    • YourPaymentReference
  • WebPaymentRequestModel
    • IsPayByLink
    • PrimaryAccountDetails
  • GetWebPaymentResponseModel extending WebPaymentRequestModel that includes the attribtues returned in response to Transactions.Get that are not relevant for calls to create a web payment session
    • CompanyName
    • PaymentSuccessUrl
    • PaymentCancelUrl
    • Reference
    • Response
    • Status
    • TransactionType (set on request by which interface was used)
    • Receipt
    • AllowedCardTypes (new)
    • IsThreeDSecureTwo (new)
    • NoOfAuthAttempts (new)

New/updated methods

  • IPayments
    • Cancel
  • IPreAuths
    • Cancel
  • ICheckCards
    • Cancel
  • Transactions
    • Get
      • add from request parameter
      • add to request parameter
      • add yourPaymentReference request parameter
      • add yourConsumerReference request parameter
      • now returns GetWebPaymentResponseModel