wayfair-contribs / plentymarkets-plugin

Wayfair plugin for use in the Plentymarkets eCommerce ERP system
https://marketplace.plentymarkets.com/en/plugins/integration/wayfair_6273
Other
4 stars 3 forks source link

Real Wayfair Order Registrations performed when testing the plugin #201

Closed jhoule86 closed 3 years ago

jhoule86 commented 3 years ago

Date(s) issue was encountered: 2020-11-18 Supplier's client ID (if known): N/A Wayfair plugin Version (displayed in Deployed column in the details of a Plentymarkets Plugin Set): 1.1.5 and earlier Plentymarkets Version / release channel: 7

Short description: The Wayfair plugin is capable of calling Wayfair's Purchase Order Registration API when in test/dryRun mode, but dryRun is not supported by Wayfair for Purchase Order Registrations, so the Purchase Order Registration really happens, potentially interfering with real-world order fulfillments.

To Reproduce Steps to reproduce the behavior (if repeatable, please perform with the Wayfair logging in Plentymarkets set to the Debug level):

  1. Set the plugin's mode to "test" in the Plugin Set(s) image
  2. Open the Shipping Centre
  3. Select an Order
  4. Click the Register button

Expected behavior: The registration action does not cause any real Order actions on the Wayfair side, as the mode is set to "test."

Actual behavior: The registration action happens "for real" in Wayfair's systems, resulting in actions that may impact the supplier, the customer, and/or the carrier.

Work-arounds: None. The Plentymarkets user must refrain from activating the Register action in Plentymarkets when testing the plugin.