Arvato - Store Order 2.0Edit on GitHub
As soon as the order is activated in the eShop it has to be directly delivered by the service call StoreOrder in risk solution services. Based on the transmitted data a limit check is processed again. The result and action codes returned by
StoreOrder should be analyzed and the order process should be stopped if applicable.
The store order call can be added to OMS. ArvatoRss module provides a command
(SprykerEco\Zed\ArvatoRss\Communication\Plugin\Oms\Command\StoreOrderPlugin) to invoke store order call and a condition
(SprykerEco\Zed\ArvatoRss\Communication\Plugin\Oms\Command\IsStoreOrderSuccessfulPlugin) which checks whether the call has been successful or not.
In case of obtaining the success result with
CommunicationToken will be present in response. And need to be stored to quote and provided to store order call by developer.
All the operations over the communication token are processed by project.
Data, which is sent to Arvato RSS and must be present in quote:
||Shows if order is placed with registered customer or not.|
||OrderReference is set here.|
|Debitor number||Customer id from the database.|
|Payment type||Payment type which is mapped to existing payment methods via configuration. See
|Currency||Is taken from store configuration.|
||Total value of order incl. delivery fee, rebates/ credit notes and VAT (Grand Total).|
||Value of goods for this order incl. VAT (Subtotal).|
||Product number, defined by customer(default value 1). Sku is set there.|
||Product group number/product type (default value 1). 1 is set.|
||Value of units incl. VAT.|
||Quantity of units (maximum value 99999999).|
You can check the result codes, returned by Arvato in the attachment.
For submitting the form