- Issue created by @valic
Automatically closed - issue fixed for 2 weeks with no activity.
Currently we perform order items validation by mapping and FBA stock during order creation.
We need to make it more flexible to allow more interactions depending on multiple cases
a.) Move order items loop from \Drupal\commerce_amazon_sp_api\Amazon\FulfillmentOrder::createOrder to new function \Drupal\commerce_amazon_sp_api\Amazon\FulfillmentOrder::validateOrderEligibility
b.) Add event subscriber where someone can perform validation before running default one.
Active
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.