-
Notifications
You must be signed in to change notification settings - Fork 51
/
CHANGES.txt
127 lines (102 loc) · 7 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Version 3.7.1 - July 2022
- Fixed security vulnerabilities in dependencies.
Version 3.7.0 - March 2021
- Fixed following two security risks :
1. Deprecated setSecretKey(String) method & enabled setSecretKey(char[]) in Config & PayConfig
2. Buyer Access token is passed as HTTP header instead of query parameter in URL for GetUserInfo API
- Note: Consumers of previous SDK versions strongly recommended to update data type of secret key from string to char[] as of this SDK Version 3.7.0. Please check the link : https://www.techiedelight.com/why-character-array-preferred-over-string-storing-passwords/ to know why char array is preferred over string for string.
Version 3.6.5 - January 2021
- Added additional attribute (expectImmediateAuthorization) to ConfirmOrderReference. This value can be set to true or false (Boolean). See Amazon Pay Strong Customer Authentication (SCA) Upgrade Integration Guide for more information.
Version 3.6.4 - September 2020
- getPaymentDetails was throwing NPE instead of AmazonServiceException in certain situations
- Remediate weakly configured XML processor in PayLogUtil class
Version 3.6.3 - February 2020
- Fix Refund operation so that the ProviderCreditList is handled properly
- Add ProviderCreditList support to the AuthorizeOnBillingAgreement operation
Version 3.6.2 - August 2019
- Fix SetBillingAgreementDetails NPE for US and JP regions
Version 3.6.1 - August 2019
- Strong Customer Authentication (SCA) implementation bug fix
Version 3.6.0 - August 2019
- Added additional attributes (successUrl, failureUrl) to ConfirmBillingAgreement and (subscriptionAmount, billingAgreementType) to SetBillingAgreement Details
See Amazon Pay Strong Customer Authentication (SCA) Upgrade Integration Guide for more information
Version 3.5.1 - May 2019
- PaymentAuthenticationStatus getter added for GetOrderReferenceDetails, SetOrderReferenceDetails, and SetOrderAttributes API calls
- StaticToken getter added for GetOrderReferenceDetails
Version 3.5.0 - February 2019
- ConfirmOrderReference API has four new request parameters:
SuccessUrl, FailureUrl, AuthorizationAmount, and AuthorizationCurrencyCode
For usage instructions, please consult the
Amazon Pay Strong Customer Authentication (SCA) Upgrade Integration Guide
Version 3.4.1 - October 2018
- Updated XMLInputFactory.newFactory() to XMLInputFactory.newInstance() in generateErrorException method (now consistent with 3.0.1 release).
- Add parameter SupplementaryData to SetOrderAttributes and SetOrderReferenceDetails API calls. Only use this field at the specific direction of Amazon Pay.
- Force InputStreamReader to use UTF-8 encoding for request responses, overriding any local environment setting.
- ErrorResponse object collects both "RequestID" (returned from Throttled calls) and "RequestId" (everywhere else) in the XML instead so that it is accessible via getRequestId().
- AuthorizeOnBillingAgreement can now properly set the sellerNote and platformId fields
Version 3.4.0 - April 2018
- Add support for GetMerchantAccountStatus API
- Solution Providers can now override the Seller ID on a per-request basis instead of having to instantiate a new Client object for each request.
- Fixed pay.amazon.com links to online API documentaton in Client.java
Version 3.3.5 - March 2018
- Maven Central Release
- JavaDoc changes to satisfy Maven central release
Version 3.3.1 - January 2018
- Fix the SDK version number in all files
- Update unit test for ListOrderReference API
- Update the README.md with ListOrderReference and ListOrderReferenceByNextToken examples
Version 3.3.0 - November 2017
- Add support for ListOrderReference API call
- Add support for ListOrderReferenceByNextToken API call
- Add support for SetOrderAttributes API call
Version 3.2.0 - September 2017
- Add support for new Chargeback IPNs
Version 3.1.0 - July 2017
- EventType enum from BillingAgreementNotification IPN metadata now available.
- Fix BillingAgreementStatus class to handle mis-named "lastUpdate" attribute from IPNs.
- Modified IPN XML parsing so that extra jaxb jar files no longer required.
- Add AMAZON_A_Z_CANCEL enum to RefundType.
- Multicurrency attributes [ConvertedAmount, ConversionRate] now available on GetCaptureDetails and GetRefundDetails responses (and IPN's) when allowed and applicable. Initially only supported for select UK and European merchants.
Version 3.0.2 - March 2017
- Add a new element "FullDescriptor" in PaymentDescriptor object in GetOrderReferenceDetailsResponse API call.
- Deprecate "AccountNumberTail" and "Name" elements in the favor of "FullDescriptor" element.
Version 3.0.1 - March 2017
- Updated XMLInputFactory.newFactory() to XMLInputFactory.newInstance() to support both IBM JDK and Oracle JDK.
- Updated README file as per the changes listed - https://github.com/amzn/amazon-pay-sdk-java/pull/13
- Updated thread sleep wait time constants to take milliseconds.
Version 3.0.0 - March 2017
- Pay with Amazon has become Amazon Pay.
We've changed our name, but you can still rely on us as a trusted and familiar payment solution. It's simpler, modern and universal—enabling us to create more connected experiences across diverse settings and devices.
https://pages.payments.amazon.com/Amazon_Pay_Rebrand_Landing_Page_US.html
- User-Agent header modified to adhere to standards
Version 2.3.0 - February 2017
- Add PaymentDescriptor tag to GetOrderReferenceDetailsResponse API call.
- Deprecate setAddressConsentToken() and getAddressConsentToken() in
GetOrderReferenceDetailsRequest.java since GetOrderDetails now supports AccessToken instead.
- Add setAccessToken() and getAccessToken()
Version 2.2.1 - January 2017
- Fix OrderReferenceNotification IPN (receiving undocumented SellerId field)
- Fix AuthorizationNotification IPN (receiving Id instead of member inside IdList)
- Modify logging for IPN JSON responses to add newlines for easier debugging
- Remove dependency on Apache Commons Lang jar
- Remove unneeded dependencies in Maven pom.xml build file
- Add support for MWSAuthToken to CreateOrderReferenceForId
- Add support for MWSAuthToken to GetAuthorizationDetails
- Fix ValidateBillingAgreement responses so that you get parsed results
- Fix inheritShippingAddress so that it is a Boolean instead of String
(Original String method retained with @Deprecated annotation.)
Version 2.2.0 - December 2016
- Add support for CreateOrderReferenceForId API call
- Add support for GetServiceStatus API call
- Fix logging of XML responses so it preserves newline characters
- Fix Client interface so that getPaymentDetails can be called
- Fix GetAuthorizationDetails so that it properly pulls in SoftDecline value
Version 2.1.0 - October 2016
- Add getPaymentDetails convenience method (grabs order, auth, capture, and refund details)
Version 2.0.0 - September 2016
- Rewrite of the 1.x SDK with much easier to use calling convention
- Add support for Java loggers (commons logging, log4j, etc.)
- Add charge convenience method (creates ORO, performs auth and capture)
- Add getSignature helper method
Version 1.2 - March 2016
- Add support for softDecline parameter in AuthorizeResponse