This repository was 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
encryptedCustomerInputto request typeCreateTokenRequest.
- Added property
3.3.0
- Added:
- Added property
paymentProduct869SpecificInputto request typeRedirectPaymentMethodSpecificInput.
- Added property
3.2.0
- Added:
- Added properties
initialSchemeTransactionIdandmerchantInitiatedReasonIndicatorto request typeCardPaymentMethodSpecificInput. - Added property
initialSchemeTransactionIdto request typeCardPaymentMethodSpecificInputBase. - Added property
exemptionRequestto request typesThreeDSecureandThreeDSecureBase.
- Added properties
3.1.0
- Added:
- Added property
loanRecipientto request typeAdditionalOrderInput.
- Added property
3.0.0
- Added:
- Added calls
disputes.uploadFileandfiles.getFileto support uploading and downloading of files for disputes. - Added support for binary requests and responses:
- Module
connect-sdk-nodejs/utils/communicatoris now an object with functionsjsonandmultipart, for sending JSON andmultipart/form-datarequests respectively (jsoncan also be used for requests without bodies). Their inputs are the same as the old communicator function. For binary responses, the response objects'bodyproperty is a readable stream, and the objects contain an extrafileobject 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 functionssendJSONandsendMultipart, for sending JSON andmultipart/form-datarequests respectively (sendJSONcan also be used for requests without bodies).sendJSONdirectly replacessendwith the same input.sendMultipartrequires 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/headersexposes extra functionsisBinaryContent,isJSON,dispositionFilenameandcontentLength.isBinaryContentandisJSONtake a content type string and return a boolean.dispositionFilenametakes a headers objects and returns a string ornull.contentLengthtakes 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/communicatordirectly, use its nestedjsonfunction instead of using the module as a function directly. - If you're using module
connect-sdk-nodejs/utils/connectiondirectly, replace uses of thesendfunction withsendJSON, and change the handling of the response. You can check theconnect-sdk-nodejs/utils/communicatormodule for an example.
2.30.0
- Added:
- Added properties
paymentProduct1521SpecificInput,paymentProduct1522SpecificInput,paymentProduct1523SpecificInput,paymentProduct1524SpecificInputandpaymentProduct1526SpecificInputto request typeCashPaymentMethodSpecificInput.
- Added properties
2.29.0
- Added:
- Added property
paymentProduct861SpecificInputto request typeRedirectPaymentMethodSpecificInput. - Added property
openIdto 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
vatNumberto request typeCompanyInformation. - Added property
merchantto request typesCreateHostedCheckoutRequest,CompletePaymentRequest,CreatePaymentRequestandRiskAssessment. - Added properties
recurring,threeDSecureandunscheduledCardOnFileSequenceIndicatorto request typesCardPaymentMethodSpecificInputandCardPaymentMethodSpecificInputBase. - Added properties
mobilePhoneNumberandworkPhoneNumberto request typeContactDetails. - Added properties
account,accountType,deviceandisPreviousCustomerto request typeCustomer. - Added properties
directoryServerTransactionId,threeDSecureVersionandthreeDServerTransactionIdto request typeExternalCardholderAuthenticationData. - Added property
customerto request typeOrderApprovePayment. - Added property
transactionTypeto request typeOrderTypeInformation. - Added property
redirectionDatato request typeRedirectPaymentMethodSpecificInput. - Added properties
address,addressIndicator,comments,firstUsageDate,isFirstUsage,trackingNumberandtypeto request typeShipping. - Added properties
giftCardPurchase,isPreOrder,preOrderItemAvailabilityDateandreOrderIndicatorto request typeShoppingCart. - Added properties
account,accountType,deviceandisPreviousCustomerto request typeCustomerRiskAssessment. - Added property
shippingto request typeOrderRiskAssessment.
- Added property
- Deprecated:
- Deprecated property
isRegisteredCustomerof request typeAirlineDatain favor of new propertyOrder.customer.accountType. - Deprecated property
vatNumberof request typeCustomerBasein favor of new propertycompanyInformation.vatNumber. - Deprecated property
addressesAreIdenticalof request typeFraudFieldsin favor of new propertyOrder.shipping.addressIndicator. - Deprecated property
cardOwnerAddressof request typeFraudFields, which should be the same as existing propertyOrder.customer.billingAddress. - Deprecated property
defaultFormFillof request typeFraudFieldsin favor of new propertyOrder.customer.device.defaultFormFill. - Deprecated property
deviceFingerprintActivatedof request typeFraudFieldswith no replacement. - Deprecated property
deviceFingerprintTransactionIdof request typeFraudFieldsin favor of new propertyOrder.customer.device.deviceFingerprintTransactionId. - Deprecated property
hasForgottenPwdof request typeFraudFieldsin favor of new propertyOrder.customer.account.hasForgottenPassword. - Deprecated property
hasPasswordof request typeFraudFieldsin favor of new propertyOrder.customer.account.hasPassword. - Deprecated property
isPreviousCustomerof request typeFraudFieldsin favor of new propertyOrder.customer.isPreviousCustomer. - Deprecated property
shipCommentsof request typeFraudFieldsin favor of new propertyOrder.shipping.comments. - Deprecated property
shipmentTrackingNumberof request typeFraudFieldsin favor of new propertyOrder.shipping.trackingNumber. - Deprecated property
shippingDetailsof request typeFraudFieldswith no replacement. - Deprecated property
websiteof request typeFraudFieldsin favor of new propertyMerchant.websiteUrl. - Deprecated request type
FraudFieldsShippingDetailswith no replacement. - Deprecated property
recurringPaymentSequenceIndicatorof request typeAbstractCardPaymentMethodSpecificInputin favor of new propertyrecurring.recurringPaymentSequenceIndicator. - Deprecated property
skipAuthenticationof request typeAbstractCardPaymentMethodSpecificInputin favor of new propertythreeDSecure.skipAuthenticationof its child request types. - Deprecated property
unscheduledCardOnFileIndicatorof request typeAbstractCardPaymentMethodSpecificInputin favor of new propertyunscheduledCardOnFileSequenceIndicator. - Deprecated property
externalCardholderAuthenticationDataof request typeCardPaymentMethodSpecificInputin favor of new propertythreeDSecure.externalCardholderAuthenticationData. - Deprecated property
returnUrlof request typeCardPaymentMethodSpecificInputin favor of new propertythreeDSecure.redirectionData.returnUrl. - Deprecated property
paymentProduct1503SpecificInputof request typeCashPaymentMethodSpecificInputand request typeCashPaymentProduct1503SpecificInput, since Boleto Bancario no longer uses redirects. - Deprecated property
shippingAddressof request typeCustomerin favor of new propertyOrder.shipping.address. - Deprecated property
sellerof request typeOrderin favor of new propertyMerchant.seller. - Deprecated property
returnUrlof request typeRedirectPaymentMethodSpecificInputin favor of new propertyredirectionData.returnUrl. - Deprecated property
shippingAddressof request typeCustomerRiskAssessmentin favor of new propertyOrderRiskAssessment.shipping.address.
- Deprecated property
2.27.0
- Added:
- Added property
shippingto request typeOrder. - Added call
services.privacypolicy.
- Added property
2.26.0
- Added:
- Added call
disputes.cancel.
- Added call