- Introducing new v2 Reporting APIs. Reports allow you to retrieve consolidated data about Amazon Pay transactions and settlements. In addition to managing and downloading reports using Seller Central, Amazon Pay offers APIs to manage and retrieve your reports.
- Introducing new signature generation algorithm AMZN-PAY-RSASSA-PSS-V2 & increasing salt length from 20 to 32.
- Added support for handling new parameter 'shippingAddressList' in Checkout Session response. Change is fully backwards compatible.
- Enabled Connection Pooling Support.
- Adding Error code 408 to API retry logic
- Note : To use new algorithm AMZN-PAY-RSASSA-PSS-V2, "algorithm" needs to be provided as an additional field in "payConfiguration" and also while rendering Amazon Pay button in "createCheckoutSessionConfig". The changes are backwards-compatible, SDK will use AMZN-PAY-RSASSA-PSS by default.
- Applied patch to address issues occurred in Version 2.5.0.
- Please dont use Version 2.5.0
- Migrated signature generating algorithm from AMZN-PAY-RSASSA-PSS to AMZN-PAY-RSASSA-PSS-V2 & increased salt length from 20 to 32
- Note : From this SDK version, "algorithm" need to be provided as additional field in "createCheckoutSessionConfig" while rendering Amazon Pay button.
- Removed library "net.sf.json" & added library "org.json" as alternative for handling JSON in order to address security issues & to improve performance
- Note:
-
- Consumers of previous SDK versions must start using import as 'org.json' instead of 'net.sf.json' as of this SDK Version 2.4.0.
-
- In order to add data to JSONArray, you need to use 'put' method instead of 'add' method as of this SDK Version 2.4.0.
- Removed parameter named "overrideServiceURL" from PayConfiguration
- Added API Retry mechanism for error codes 502 & 504
- Upgraded Bouncy Castle to avoid using Vulnerable version
- Enabled support for environment specific keys (i.e Public key & Private key). The changes are fully backwards-compatible, where merchants can also use non environment specific keys
- Enabled character encoding UTF-8 when converting the body/payload to a string entity before sending HTTP/HTTPS request
- Introduced Apache HTTPClient library for HTTPS/TCP communications which will allow SDK to work with latest versions of java
- Fixed Security risk
- Enabled Proxy Support
- Note: Consumers of previous SDK versions must update data type of private key from string to char[] as of this SDK Version 2.3.0.
-
Fix issue causing SDK to fail for Java 12 and higher
-
Restructure README.md file
-
Underlying endpoint for getBuyer API changed
- Underlying endpoint for getBuyer API changed
- Added getBuyer() API call
- New convenience method: AmazonPayClient.generateButtonSignature() to assist the developer in generating static signatures for the createCheckoutSessionConfig.payloadJSON attribute that can be used by Checkout v2's amazon.Pay.renderButton method
- Added toString() override in AmazonPayResponse to make it easier to get troubleshooting information out of a request
SDK changes to support Amazon Pay API version 2:
- Introduction of "Complete CheckoutSession" API call
- Bouncy Castle library update
Initial release, including support for
- Amazon Pay Checkout v2