Digital and Paper Gift Certificates
The app allows purchasing both paper & digital gift certificates. A paper one is received by the shop in a particular city, all is simple. The Digital Certificate mechanics are 100% based on the platform, from purchase to atcual SMS delivery.
All is simple here. Starting screen offers 2 choices. We record user's choice in a variable called "email", so if Digital is pressed, we set the variable =1 using Actions tab of the Button.
Then we send user with "Go to" action to the next screen to fill in details of the order. In this case Digital Certificate.
The same is done with all other elements on the screen. Hidden by default are Paper fields only appear if the variable is changed from "1" to any other value, like 0 or 2.
It is interesting how we address which Certificate Form to show on the next screen, as Paper and Digital require different fields.
Note that one text block is visible (Digital) by default and the other is hidden (Paper). Then we use Show Conditions, where variable is not equal (!=) to 1, which keeps Paper hidden, as long as variable stays =1.
How We Send Digital Certs Over SMS
This is a more complex operation. The overall steps are - Look for new Events that are related to Gift Cert, filter out the Digital (or electronic) ones. Filter out the ones that were 100% paid for. Trigger an SMS with info and link for the recipient.
Here, we filter out Events and make sure that payment received a "complete auth" from the bank:
Here, we Trigger 2 operations for this Filter. One sends the SMS through to an SMS provider. The other updates Indever's ERP with new certificate's data: