Goantifraud
Case Study: Currency conversion in GoAntiFraud
Case Study: Currency conversion in GoAntiFraud
11-Mar-2016 16:21

Case Study: Currency conversion in GoAntiFraud

The History

The client receives USSD-response on balance check in USD currency, but his tariffication is in a PLN currency.

We should convert USD balance to PLN in order to count our expenses in the same currency.

Client receives message like this: “Your balance is 25 USD”.

Solution

We create a USSD-request for balance checking. Assign it to current tariff and using action possibilities convert USD to PLN.

  • Step 1: We should parse balance from message, using next regular expression:

Example of USSD-processing algorythm:

Your balance is (?P<sim__balance>-?\d+(\.\d*)?) USD

  • Step 2: In action we should convert it to the PLN, using next expression:

float({sim__balance})*3,9

Where 3,9 – is current exchange rate for USD to PLN.


The GoAntiFraud system will calculate changes automatically.

USSD case will be look like this:

Have fun :)

You don't know how to use this case?

– Fill in an application form for a free webinar and we will instruct you! Or you can start your presentation right now in our chat.

Start UP Light - $1300
If you purchase the START UP LIGHT package, you can get equipment at wholesale prices. Read more...
Start UP - $1900
If you purchase the START UP package, you can get equipment at wholesale prices. Read more...
DeLuxe - $5600
By purchasing the DELUXE package, you get equipment at wholesale prices. Read more...
DeLuxe Plus - $6700
By purchasing the DELUXE package, you get equipment at wholesale prices. Read more...
Ultimate - $10500
You are welcome to buy the ULTIMA package and get your equipment at wholesale prices. Read more...

Get free business advice

Get Consultation

Related Articles

GoAntiFraud

Case Study: SIM-card operation schedule

25 Mar 2016 13:17
In the "Timetable" you can set patterns of behavior of SIM-cards to simulate the behavior of a living person. The schedule of calls is helpful to the terminator for scheduling calls, as close as possible to the schedule of the real subscriber who uses a mobile phone, and thus prevents the SIM...
GoAntiFraud

Case Study: SIM-card bonus operation

28 Mar 2016 14:03
The video describes the basic operations with bonuses available on SIM-cards via GoAntiFraud, including the ability to change the tariff plan, bonuses availability monitoring for a SIM card in real time, setting limits on the use of funds from the main balance. These functions provide conditions...
GoAntiFraud

Case Study: Channels status and what do they mean?

18 Mar 2016 15:54
The video explains the meaning of various statuses of GSM channels that are displayed in the GoAntiFraud user's personal account. The "Channels" window displays the current status for each channel: No SIM. It means that there is no SIM-card in the gateway. Simply insert the card into...
GoAntiFraud

Case Study: Whats new in GoAntiFraud Patch 0.99.03?

06 May 2016 12:46
GoAntiFraud has recently released a new patch - 0.99.03 Consider the main innovations:- The status is added to the USSD / SMS historyNow, in the USSD history makes the status of the request visible:Answered – the request was successfulOptions not found - No appropriate options found in the USSD...
GoAntiFraud

Case Study: What's New in GoAntiFraud Patch 0.99.11?

07 Sep 2016 08:28
New GoAntiFraud Patch 0.99.11 makes the following upgrades available: Validation of types of expressions in action is addedThe validation of types of expressions is added to the edit of ussd messages, incoming SMS, as well as events. When writing an incorrect expression in the "ACTION" section, you...
GoAntiFraud

Case Study: What's New in GoAntiFraud Patch 0.99.09?

07 Sep 2016 08:11
GoAntiFraud has recently released a new patch - 0.99.09. It makes the following upgrades available:The user’ roles and permissions are addedSection "MultiUser" is a module for access to control an account to other users. To do this, you need only specify the username, password, and e-mail. ...
GoAntiFraud

Case Study: What's new in GoAntiFraud Patch 0.99.08?

19 Jul 2016 16:36
GoAntiFraud has recently released a new patch - 0.99.08.Consider the main innovations:The SIM bank options window is addedFrom now on you can specify the SIM bank name and set a different password for the web interface of your SIM bank without having to re-add it.Change the GoIP SIM bank identificat...

GoAntiFraud

GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud
GoAntiFraud GoAntiFraud GoAntiFraud GoAntiFraud GoAntiFraud GoAntiFraud GoAntiFraud GoAntiFraud GoAntiFraud