Customer Prepayment

Prepayments are payments that are invoiced and posted to a sales order before final invoicing. Prepayments are available only to business customers.

When a business customer is placing an order in the web store, the prepayment amount for an order is shown on the 'Payment information' step.

To configure prepayments for business customers in SAP:

Step 1: Open the /SANAECOM/: B2B Payments Mapping table and check whether the PREPAYMENT payment term is available for the web store and assigned to the correct payment term ID in SAP.

For more information, see 'B2B Payments Mapping'.

Step 2: Use the /SANAECOM/: Customer Prepayment table to set up prepayments for the customers.

The table below provides description of the fields in the /SANAECOM/: Customer Prepayment table.

Field Description
Website ID Enter Sana web store ID. It should be exactly the same as the one specified during installation of the Sana web store on Web and database server and that is stored in the Sana database. Default: 'SanaStore'.

If you have multiple web stores, you can set up customer prepayments for each Sana web store.

Customer Number Specify a customer to whom prepayment percentage should be assigned.
Prepayment % Enter prepayment percentage. This prepayment percentage will be used for all products ordered by this specific customer. This number shows what percent of basket's total amount should be prepayed by the user before the order gets processed. If this value is 0 the user should not pay the order by prepayment, instead the order can be payed post factum. If the value is 100 then the whole order amount should be payed by prepayment.

Step 3: To be able to use prepayments, you should also enable this option in Sana Admin. Click: Setup > Ordering & checkout > Ordering and in the Online payments field for B2B customers select the Amount based on prepayment rules payment type.

If the Amount based on prepayment rules payment type is not available, you should run the General information import scheduled task to synchronize data with SAP.