1.10.4 Vouchers
Vouchers are another method of recharging client accounts. They have a form of codes consisting of digits only or digits and other characters. Clients can redeem vouchers from the VUP, mobile clients GUI or through an IVR scenario (voipbox). More about creating vouchers and its management is described here http://docs.voipswitch.com:18081/display/doc/Vouchers+Billing
In order to enable support for vouchers you have to add the following section in the Payments.config file:
|
The PinProvider is an internal provider type responsible for processing vouchers. If enabled it will be shown in the payment method selection in the VUP and mobile clients’ GUI.
- restrictCurrency - if set to 0 all currencies are allowed. If a client’s currency is different than the voucher’s one the amount will be converted before crediting the client’s account – using conversion table from Billing/Currencies menu. If set to 1 clients can recharge only with vouchers of the same currency.
- currency - used if restrictCurrency is set to 1. Only vouchers with the same currency can be used.
This provider configuration must be added to the systemProviders section of the file.
If the systemProviders element is not present it has to be added as a child of the PaymentService element:
|