Amazon Tests

From Opentaps Wiki
Jump to navigationJump to search

These tests show you how Amazon Integration component works without having to use your Amazon integration account.

Setup

Uncomment the Amazon component in hot-deploy/component-load.xml and load the data in hot-deploy/amazon/data/

Publishing Products

Run the opentaps.amazon.publishProductsToAmazon and you will see XML files created in the runtime/output/ directory

Importing Orders

Run the opentaps.amazon.importOrders and you will see two new orders created with the prefix "AM".

Acknowledging Order Fulfillment

Pack your two orders, and look in the AmazonOrderItemFulfillment entity. You will see the orders with their tracking numbers, ready for acknowledgment to Amazon.