Aghanim purchases
Overview
Our platform and SDK provides an easy way to integrate with Aghanim.
Integration with Aghanim in the SDK provides the ability to initiate product purchases directly from the application and process payment through the Aghanim web interface and automatically reward the user for the purchase.
What the cycle of interaction looks like in general:
- The project configurator creates the in-app campaign in which adds a product that can be purchased via Aghanim.
- When a user gets a given campaign with a given product, he can initiate a purchase.
- The SDK perform a request to create an Aghanim order with the product.
- Once the order is generated, the SDK retrieves the
URLand then initiates a click on that link. - The user will have a browser open where they will have to enter their payment details and then pay for the purchase.
- After a successfully confirmed payment, the SDK receives information about it and notifies the application to reward the user and sends the necessary analytical information to the backend.
Integration
Since aghanim is actually a web store for making purchases, at the SDK level it must implement the IInAppStore interface.
Out of the box support
We provide a basic implementation of this interface with ready-made purchases in Aghanim available for expansion in any direction. For more information about this implementation, you may want to consider AghanimStore.