Payment Support
To support payment from mini-apps, some additional components are needed:
- PaymentKit: payment interface for mini-apps
- Iris: payment connector service
- HestiaPaymentController: is responsible for coordinating mini-apps payments
#
Installation- Android
- iOS
#
ConfigurePlease contact us we will do it for you
#
Initialize- Android
- iOS
After TerraApp
is initialized, Iris
and HestiaPaymentController
will be initialized automatically.
After TerraApp
is initialized, configure Iris
and HestiaPaymentController
#
Set host app user ID (optional)Should do this when the host app has registered IPN for mini-app payments in Terra Payment service. So the host app can use the hostAppUserId
in the IPN body to map with the user, who has created orders in mini-apps.
- Android
- iOS