Payments

In the payments Movens procedure there are three logical blocks, which can be represented as follows:

Costing

Where the costs relating to the Trip just completed are calculated (taking into consideration rates, coupons and promotions), thus creating the receipt. Any additional costs (i.e. parking, fines and so on) will be added to this receipt if payment has not yet been made; otherwise, autonomous receipts will be created.

Debting

Where the Transaction is created and the balances of the Accounts linked to the user are updated; if there is a prepaid account, this is used, otherwise the final one is moved. This procedure is launched separately at the end of point (costing), so as not to weigh down the system. In the event that you have opted for the prepaid method, if the balance of the Account is sufficient to pay the Trip, the collection is not necessary, since it will be enough to scale it from the Account balance.

Collection

Which is separated from the first two parts by a time indicated in the system configuration (to give time that any additional charges can be recorded and then added to the amount to be collected) and which obviously changes depending on the payment method set, for example PayPal or via operator. In the case of the prepaid method, movements are recorded on the ‘Sales’ table. At the end of this procedure, if successful, the Transaction and Receipts are closed, and the balance on the Accounts is updated. Collection can also be done independently, if it is not related to travel.

Payments overview