This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Releases: Ingenico-ePayments/connect-sdk-nodejs
Releases · Ingenico-ePayments/connect-sdk-nodejs
3.4.0
- Added:
- Added property
encryptedCustomerInput
to request typeCreateTokenRequest
.
- Added property
3.3.0
- Added:
- Added property
paymentProduct869SpecificInput
to request typeRedirectPaymentMethodSpecificInput
.
- Added property
3.2.0
- Added:
- Added properties
initialSchemeTransactionId
andmerchantInitiatedReasonIndicator
to request typeCardPaymentMethodSpecificInput
. - Added property
initialSchemeTransactionId
to request typeCardPaymentMethodSpecificInputBase
. - Added property
exemptionRequest
to request typesThreeDSecure
andThreeDSecureBase
.
- Added properties
3.1.0
- Added:
- Added property
loanRecipient
to request typeAdditionalOrderInput
.
- Added property
3.0.0
- Added:
- Added calls
disputes.uploadFile
andfiles.getFile
to support uploading and downloading of files for disputes. - Added support for binary requests and responses:
- Module
connect-sdk-nodejs/utils/communicator
is now an object with functionsjson
andmultipart
, for sending JSON andmultipart/form-data
requests respectively (json
can also be used for requests without bodies). Their inputs are the same as the old communicator function. For binary responses, the response objects'body
property is a readable stream, and the objects contain an extrafile
object with meta-data like the file name and content type. For non-binary responses the response objects are unchanged. - Refactored module
connect-sdk-nodejs/utils/connection
. It now exposes functionssendJSON
andsendMultipart
, for sending JSON andmultipart/form-data
requests respectively (sendJSON
can also be used for requests without bodies).sendJSON
directly replacessend
with the same input.sendMultipart
requires an additional boundary, which should also be part of the content type. In addition, for both functions, the non-error result is now the complete response. - Module
connect-sdk-nodejs/utils/headers
exposes extra functionsisBinaryContent
,isJSON
,dispositionFilename
andcontentLength
.isBinaryContent
andisJSON
take a content type string and return a boolean.dispositionFilename
takes a headers objects and returns a string ornull
.contentLength
takes a headers object and returns a number ornull
.
- Module
- Added calls
- Removed:
- Removed call
products.publicKey
. It was only used for encryption for Android Pay. Now that Android Pay has been replaced by Google Pay, which uses a different mechanism for encryption, this call is no longer needed.
- Removed call
Unless you're using module connect-sdk-nodejs/utils/communicator
or connect-sdk-nodejs/utils/connection
directly, there are no breaking changes. Otherwise you need to perform the following steps:
- If you're using module
connect-sdk-nodejs/utils/communicator
directly, use its nestedjson
function instead of using the module as a function directly. - If you're using module
connect-sdk-nodejs/utils/connection
directly, replace uses of thesend
function withsendJSON
, and change the handling of the response. You can check theconnect-sdk-nodejs/utils/communicator
module for an example.
2.30.0
- Added:
- Added properties
paymentProduct1521SpecificInput
,paymentProduct1522SpecificInput
,paymentProduct1523SpecificInput
,paymentProduct1524SpecificInput
andpaymentProduct1526SpecificInput
to request typeCashPaymentMethodSpecificInput
.
- Added properties
2.29.0
- Added:
- Added property
paymentProduct861SpecificInput
to request typeRedirectPaymentMethodSpecificInput
. - Added property
openId
to request typeRedirectPaymentProduct863SpecificInput
.
- Added property
- Changed:
- The JSON schemas no longer mark any property as required, leaving the requiredness validation up to the Server API.
2.28.0
This release contains several changes for 3-D Secure version 2. Several properties have been deprecated in favor of new properties. The deprecated properties will still work though.
- Added:
- Added property
vatNumber
to request typeCompanyInformation
. - Added property
merchant
to request typesCreateHostedCheckoutRequest
,CompletePaymentRequest
,CreatePaymentRequest
andRiskAssessment
. - Added properties
recurring
,threeDSecure
andunscheduledCardOnFileSequenceIndicator
to request typesCardPaymentMethodSpecificInput
andCardPaymentMethodSpecificInputBase
. - Added properties
mobilePhoneNumber
andworkPhoneNumber
to request typeContactDetails
. - Added properties
account
,accountType
,device
andisPreviousCustomer
to request typeCustomer
. - Added properties
directoryServerTransactionId
,threeDSecureVersion
andthreeDServerTransactionId
to request typeExternalCardholderAuthenticationData
. - Added property
customer
to request typeOrderApprovePayment
. - Added property
transactionType
to request typeOrderTypeInformation
. - Added property
redirectionData
to request typeRedirectPaymentMethodSpecificInput
. - Added properties
address
,addressIndicator
,comments
,firstUsageDate
,isFirstUsage
,trackingNumber
andtype
to request typeShipping
. - Added properties
giftCardPurchase
,isPreOrder
,preOrderItemAvailabilityDate
andreOrderIndicator
to request typeShoppingCart
. - Added properties
account
,accountType
,device
andisPreviousCustomer
to request typeCustomerRiskAssessment
. - Added property
shipping
to request typeOrderRiskAssessment
.
- Added property
- Deprecated:
- Deprecated property
isRegisteredCustomer
of request typeAirlineData
in favor of new propertyOrder.customer.accountType
. - Deprecated property
vatNumber
of request typeCustomerBase
in favor of new propertycompanyInformation.vatNumber
. - Deprecated property
addressesAreIdentical
of request typeFraudFields
in favor of new propertyOrder.shipping.addressIndicator
. - Deprecated property
cardOwnerAddress
of request typeFraudFields
, which should be the same as existing propertyOrder.customer.billingAddress
. - Deprecated property
defaultFormFill
of request typeFraudFields
in favor of new propertyOrder.customer.device.defaultFormFill
. - Deprecated property
deviceFingerprintActivated
of request typeFraudFields
with no replacement. - Deprecated property
deviceFingerprintTransactionId
of request typeFraudFields
in favor of new propertyOrder.customer.device.deviceFingerprintTransactionId
. - Deprecated property
hasForgottenPwd
of request typeFraudFields
in favor of new propertyOrder.customer.account.hasForgottenPassword
. - Deprecated property
hasPassword
of request typeFraudFields
in favor of new propertyOrder.customer.account.hasPassword
. - Deprecated property
isPreviousCustomer
of request typeFraudFields
in favor of new propertyOrder.customer.isPreviousCustomer
. - Deprecated property
shipComments
of request typeFraudFields
in favor of new propertyOrder.shipping.comments
. - Deprecated property
shipmentTrackingNumber
of request typeFraudFields
in favor of new propertyOrder.shipping.trackingNumber
. - Deprecated property
shippingDetails
of request typeFraudFields
with no replacement. - Deprecated property
website
of request typeFraudFields
in favor of new propertyMerchant.websiteUrl
. - Deprecated request type
FraudFieldsShippingDetails
with no replacement. - Deprecated property
recurringPaymentSequenceIndicator
of request typeAbstractCardPaymentMethodSpecificInput
in favor of new propertyrecurring.recurringPaymentSequenceIndicator
. - Deprecated property
skipAuthentication
of request typeAbstractCardPaymentMethodSpecificInput
in favor of new propertythreeDSecure.skipAuthentication
of its child request types. - Deprecated property
unscheduledCardOnFileIndicator
of request typeAbstractCardPaymentMethodSpecificInput
in favor of new propertyunscheduledCardOnFileSequenceIndicator
. - Deprecated property
externalCardholderAuthenticationData
of request typeCardPaymentMethodSpecificInput
in favor of new propertythreeDSecure.externalCardholderAuthenticationData
. - Deprecated property
returnUrl
of request typeCardPaymentMethodSpecificInput
in favor of new propertythreeDSecure.redirectionData.returnUrl
. - Deprecated property
paymentProduct1503SpecificInput
of request typeCashPaymentMethodSpecificInput
and request typeCashPaymentProduct1503SpecificInput
, since Boleto Bancario no longer uses redirects. - Deprecated property
shippingAddress
of request typeCustomer
in favor of new propertyOrder.shipping.address
. - Deprecated property
seller
of request typeOrder
in favor of new propertyMerchant.seller
. - Deprecated property
returnUrl
of request typeRedirectPaymentMethodSpecificInput
in favor of new propertyredirectionData.returnUrl
. - Deprecated property
shippingAddress
of request typeCustomerRiskAssessment
in favor of new propertyOrderRiskAssessment.shipping.address
.
- Deprecated property
2.27.0
- Added:
- Added property
shipping
to request typeOrder
. - Added call
services.privacypolicy
.
- Added property
2.26.0
- Added:
- Added call
disputes.cancel
.
- Added call