Arvato 1.0 - Risk Check
Accounted for by external credit agency data and internal existing customer- and order-details the RiskCheck evaluates the probability of payment default for the customer orders.
The returned decision codes (Result – ActionCode – ResultCode) manage the definition of the eShop’s payment methods. If a payment method is not permitted, the decision code provides information about alternate payment methods available for the customer.
The main entry point to risk check functionality is performRiskCheck method inside ArvatoRssFacade class.
Developer is supposed to call performRiskCheck method providing actual QuoteTransfer as the first argument. In the response QuoteTransfer is returned with ArvatoRssRiskCheckResponse transfer inside. It contains Result, ResultCode, ActionCode, ResultText.
Response can be taken with
$quoteTransfer->getArvatoRssRiskCheckResponse();
Note: the transfer can have all fields empty if error occurred during request.
Data, which is sent to Arvato RSS and must be present in quote:
Name | Notes |
---|---|
Country | Is taken from BillingAddress |
City | Is taken from BillingAddress |
Street | Is taken from BillingAddress |
StreetNumber | Is taken from BillingAddress |
ZipCode | Is taken from BillingAddress |
FirstName | Is taken from BillingAddress |
LastName | Is taken from BillingAddress |
RegisteredOrder | Shows if order is placed with registered customer or not. |
Currency | Is taken from store configuration |
GrossTotalBill | Total value of order incl. delivery fee, rebates/ credit notes and VAT (Grand Total) |
TotalOrderValue | Value of goods for this order incl. VAT (Subtotal) |
ProductNumber | Product number, defined by customer(default value 1). Sku is set there. |
ProductGroupId | Product group number/product type (default value 1). 1 is set. |
UnitPrice | Value of units incl. VAT |
UnitCount | Quantity of units (maximum value 99999999) |
Result codes, returned by Arvato RSS
See also
Last review date: Sep. 26th, 2017