- Added API Retry mechanism for error codes 502 & 504
- 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
- Removing deprecated API calls
- Underlying endpoint for getBuyer API changed
- Added getBuyer() API call
- Fix issue with API call failures when request payload arrays contain character encodings other than UTF-8
- Added generateButtonSignature() helper function to generate static signature for amazon.Pay.renderButton used by checkout.js
-
For /v2/ pay-api.amazon.com|eu|jp endpoints
-
New completeCheckoutSession API: POST to v2/checkoutSessions/{checkout_session_id}/complete
-
There are subtle changes in the back-end API between v1/ and v2/, please check online integration changelog for complete details
Any references in code to webCheckoutDetail, paymentDetail, and statusDetail need to be pluarized to webCheckoutDetails, paymentDetails, and statusDetails before moving to the new SDK
Billing address is a top-level node now instead of being in PaymentPreference
-
There are also non-subtle workflow changes between v1/ and v2/ as the completeCheckoutSession API call will be required now before funds can be captured. See the API Release notes for more details.
- Underlying API is going to be versioned; refactoring SDK to realign with API major version numbering
- Added support for passing query parameters in apiCall() function
- Added getAuthorizationToken() function, see API V2 Delegated Authorization Guide for more information
- Initial support for APIv2
- Initial public release
- Fix issue setting x-amz-pay-authtoken header for delegated requests
- Fixed EU and JP endpoints
- Clean up README.md file
- Add Open Source templates (CONTRIBUTING.md, NOTICE.txt, CODE_OF_CONDUCT.md)
- Breaking change: AmazonPay namespace renamed to AmazonPayV2 to prevent clash with the MWS Amazon Pay SDK
- Add convenience functions for API calls: deliveryTrackers, instoreMerchantScan, instoreCharge, instoreRefund
- Introduction of new config attribute: sandbox (boolean) and setSandbox function in Client
- Config object private_key can now be a string representation of RSA key in addition to original filename support
- Initial support for critical data handling signature generation
####legcy-4.0.0 - April 2018
- Initial private release of API v2 PHP Signing SDK