Skip to content

Releases: CPIGroup/phpAmazonMWS

March 2018 Bug Fix

07 Mar 21:22
bf594dc
Compare
Choose a tag to compare

This release updates the format of sent timestamp parameters to comply with Amazon's new stricter requirement.

Bug Fixes

  • Fixed timestamps to comply with ISO8601

January 2018 Bug Fix

19 Jan 21:14
317b266
Compare
Choose a tag to compare

This release fixes a mistake from the November 2017 update.

Bug Fixes

  • Fixed parameter names for the Product Fee Estimate class

November 2017

17 Nov 18:13
7ab8701
Compare
Choose a tag to compare

This release adds support for the changes added from March 2016 to June 2017. See the CHANGELOG for a more-detailed list of changes.

Improvements

  • Added Travis support for PHP 7.1 and 7.2
  • Added Composer support for PHPUnit 4 and 5
  • Added an option to disable SSL verification (not recommended outside of testing)
  • Added new response fields in the Financial Event class for SAFE-T Reimbursement events
  • Added new response fields in the Fulfillment Order class for returns
  • Added new fields in the Merchant classes for label customization options and hazmat
  • Added new response fields in the Order class, such as BuyerTaxInfo
  • Added new class for getting Product Fee Estimates
  • The logger function will now attempt to create the log file if it does not already exist

Bug Fixes

  • Fixed an undefined index error when cURL receives an empty or invalid response

August 2016

03 Aug 22:04
Compare
Choose a tag to compare

Change log

This release adds support for the changes and new APIs added from February 2015 to March 2016. See the newly-added CHANGELOG for a more detailed list of changes.

Improvements

  • Added Travis support
  • Updated the Composer file to allow for newer PHP versions
  • Changed all private methods and properties in all classes to protected
  • Added PHPUnit XML configuration file
  • Added change log, contribution guidelines, and credits files
  • Added support for MWS Auth Token
  • Added methods for getting the last response code, error message, and error response
  • Added support for the Merchant Fulfillment API
  • Added support for the Recommendations API
  • Added support for the Subscriptions API
  • Added support for the Finance API
  • Added four new Inbound classes
  • The marketplace can now be specified in the Order List class, Fulfillment Order class, and all Product classes
  • Added new response fields in the Feed class for processing dates
  • Added new response fields in the Order classes, such as IsPrime
  • Added a method for getting the order ID from the Order Item List class
  • Added a new parameter in the Order List class, TFMShipmentStatus
  • Added a method for getting the raw report data from the Report class
  • Added a new response field in the Report List class, AcknowledgedDate
  • Added new parameters and response fields in the Fulfillment Order classes, such as CODSettings
  • Added a new method in the Fulfillment Order Creator class for updating orders
  • Added new parameters and response fields in the Fulfillment Preview class, such as ScheduledDeliveryInfo
  • Added a new method in the Product Info class for getting lowest-priced offers
  • The Product class now keeps the identifier used to search for an item under the key Request
  • Added new methods in the Shipment class for setting parameters previously restricted to use of usePlan
  • Added a new parameters and response fields in the Inbound Shipment classes, such as ShipmentName and PrepDetailsList
  • Added support for new styles of token responses used by some classes
  • The Service URL setting in config now works with or without a slash at the end
  • The genTime method now supports Unix timestamps, though some methods that use genTime still do not
  • Updated the name of the CompletedProcessingDate field in the Report Request List class to CompletedDate
  • Updated the name of the ShipServiceLevelCategory field in the Order class to ShipmentServiceLevelCategory
  • Deprecated getDateProcessingCompleted in favor of getDateCompleted
  • Deprecated getShipServiceLevelCategory in favor of getShipmentServiceLevelCategory
  • Deprecated setFulfillmentMethod in the Fulfillment Order Creator class
  • Deprecated setMethodFilter in the Fulfillment Order List class

Bug Fixes

  • Some tests that tried to load the normal configuration file now properly load test configuration
  • Corrected many small mistakes in documentation
  • The setShowSalesChannel method in the Report class now properly sets the parameter
  • Fixed the spelling of StateOrProvinceCode throughout the Outbound and Inbound classes
  • The Product Info class now properly gets all relationships
  • The Shipment class no longer sets the address when using usePlan and correctly sets other parameters
  • Fixed a loop caused by an empty response to actions that use tokens

Removals

  • Removed all of the old leftover test XML files from the mock folder
  • Removed old environment config lines from the test config file

March 2016

10 Mar 22:41
Compare
Choose a tag to compare

Change log

This is the long-awaited release for changes made from May 2014 to February 2015.

Improvements

  • The store name can now be omitted when initiating objects if there is only one store is set in the config file.
  • Added support for four relatively-new fields returned for Orders: CbaDisplayableShippingLabel, ShippedByAmazonTFM, TFMShipmentStatus, and OrderType.
  • Log messages now display time using the 24 hour format, rather than 12 hour.
  • Each store in the config file can have its own serviceUrl, which will override the normal service URL.

Bug Fixes

  • Inventory lists no longer cause an error if detailed information is not given.
  • Logging function no longer gives an error when PHP is in strict mode.
  • Removed bad include paths from NetBeans project settings.
  • Product class no longer gives an error when PHP is in strict mode.
  • Product Info class now uses the correct identifier parameters when fetching categories.
  • Product Info class now correctly gets child relationship data.

Removals

  • Removed the obsolete checkResponse method from the Feed class.

Orders API Update and Bug Fixes

06 May 17:18
Compare
Choose a tag to compare

Change log

Improvements

  • Feeds now allow for direct string input rather than relying entirely on files
  • HTTP 100 Continue responses are properly handled
  • Amazon-defined constants, such as API version numbers and throttle times, have been moved to a separate file since users shouldn't have to worry about them. Users who already have a config file should redo them.
  • Updated the Orders API to the 2013-09-01 version, which adds Earliest/Latest Ship Date and Delivery Date to returned order data
  • Raw responses are stored for debugging purposes and can be accessed with getLastResponse() or getRawResponses()
  • Created a folder for example scripts and added some examples to the readme

Bug Fixes

  • Feeds actually send now
  • Fixed config file path in unit tests

Initial Release

12 Feb 21:50
Compare
Choose a tag to compare

This is the initial release of the CPI Group Amazon MWS library. See the readme file for more information.