Refund user repayment
'Refund user repayment' blocks access to the app when a user refunds a product purchased through a store, until the user pays for the same product again.
Configure the refund user repayment module¶
To configure the module, refer to the platform-specific guides under Billing > Prerequisites.
How it works¶
You do not need to implement separate API calls for refund user repayment. Enable the feature in Hive Console and include the module in the build. It then runs automatically during Hive SDK sign-in.
Refund user repayment runs in the following order during Hive SDK sign-in. Calling AuthV4.showSignIn or AuthV4.Helper.signIn follows the same process.
- Call
AuthV4.signInto initialize Hive SDK. - The user signs in.
- The SDK checks the refund history using the user identifier and displays the repayment popup.
- The user makes the repayment.
- Sign-in succeeds.
For details on configuring refund user repayment and viewing its information in Hive Console, refer to Refund user repayment.