This section exclusively lists the important terms and guidelines to follow while integrating with now.gg Payments Module.
Purchase verification is an essential step within the purchase lifecycle. now.gg Payments module offers purchase verification using a Public key and a verifyPurchase API.
The acknowledgement of purchase refers to processing subscriptions and granting the user the entitlement to the product (product delivery).
The consumption of purchase refers to the processing of purchase and granting the entitlement of the product (product delivery) to the user.
To enable non-consumable products as in-app purchases, you will need to write an implementation for your app/game based on the following logic:
If you have integrated now.gg Payments module with your app/game, any refunds for in-app purchase orders must be processed as illustrated below.
To process the refund:
orderId
of the purchase.
orderId
will be available within the purchase receipt generated after payment.orderId
associated with your order.
orderId
is verified, we will process the refund back to the original payment source of the said order.If you wish to implement a callback with the purchase flow, you can do so. The following steps will help you set up a callback:
initiatePurchaseFlow
method within BillingManager.java
.string), where
stringshould be replaced with a string you wish to pass during purchase. Example: setDeveloperPayload(
123sf456).
onPurchasesUpdated
.Contact us at dev-support@now.gg, and we will be happy to assist you.
Payments Module
Payments Module
Document Rev. 1.0