Billing is a substantial part of the platform’s functionality, which includes:
All of that can help you ensure proper functionality of your platform, comfortable account balance deposits, and transparency when it comes to spending. All in all, this section of the platform is complex, necessary, and (most importantly) under heavy load.
Below you will learn what we did and how to get there (because now you can do precisely the same thing by using our miracle of science platform!).
For all purposes of internal accounting, we’ve launched a stablecoin named Directual-coin (or D-coin), placed in the Ethereum network.
Here’s how you can get these nice and freshly minted coins:
These coins can be used to pay for the app and team plans, as well as for on-demand resource consumption.
This is one of the most flexible and comfortable systems that you can use to transfer D-coins to users’ accounts. In the “billing” section, you can press the “Add funds” button and apply a promo code. The code is processed based on the scenario, see how in detail below:
A couple of words on what kind of promo codes are out there:
To make this particular feature, we’ve built a promo-code database, which is connected with this endpoint:
Do note, we’ve connected a synchronic scenario here, which receives the promo-code and user ID at the start, and produces the result based on its own backend logic (success/fail) at the end. You can see the logic in the picture below:
A prize for the patient!
For everyone who made it this far, a promo code worth $50 in D-coins: WELCOME
Get it while it’s hot!
Promo-codes are good and all, and yet you’ll need to be able to top up your account with more traditional means, including bank cards and PayPal. Our scenarios to the rescue once again. Here’s what we did:
And this beauty is the result you can get. That’s the transaction history of both withdrawals and deposits.
If you can recall, recently we’ve been boasting about our new blockchain integration. Here’s what it looks like in real life! Even right now, you can use the “Add funds” button and see an option to pay with crypto:
All of this is made on the very same plugins we’ve covered in the recent blog post. See what the real crypto payment processing scenarios look like:
Every client gets their own wallet which will then be able to receive payments (consolidated later on our single wallet). Above you can see the scenario that monitors all the wallets and collects the transactions heading their way.
After that, the transactions are processed:
Here’s what we do with the transaction itself:
No headache whatsoever — it’s all nice and dandy!
Another super cool scenario responsible for the creation of a team or an app, as well as tariff plan downgrade or upgrade:
It is a rather advanced scenario that combines a number of various logic cores designed for team plans and apps, no question about it. However, just imagine—how many programmer-hours you’d have to spend trying to recreate all of that yourself? We can’t either. All it took for us is a week — including debugging. Yup.
Soon we’ll finish our affiliate program (of course, built on our scenarios as well) and show how it works. We’ll also continue to introduce new networks and tokens that you can use for payment (just next week we’ll release a plugin for another awesome network — NEAR).
And that, folks, is how we managed to build a very complex part of the platform on the platform itself! It just works. Our main message here is that any user can do the same (or another web3-app), including you!
A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work as a medium of exchange through a computer network that is not reliant on any central authority, such as a government or bank, to uphold or maintain it.
A webhook in web development is a method of augmenting or altering the behavior of a web page or web application with custom callbacks. These callbacks may be maintained, modified, and managed by third-party users and developers who may not necessarily be affiliated with the originating website or application.
Join 15,000+ no-coders using Directual and create something you can be proud of—both faster and cheaper than ever before. It’s easy to start thanks to the visual development UI, and just as easy to scale with powerful, enterprise-grade databases and backend.