Supported payment methods
Last updated
Was this helpful?
Last updated
Was this helpful?
The Platform supports the following payment methods:
apple - this method supports Apple In-App subscription. It is the standard method for iOS and macOS applications.
Make a Shared Secret key from iTunes Connect for In-App purchases. See the instruction:
Add the "apple" method to your project settings. Example of payment method settings:
"URL" - URL for purchase receipt verification. Standard URL - "".
"bundle" - the bundle of your iOS or macOS application. You can found it in your .
"password" - Shared Secret key from iTunes Connect for In-App Purchase (see step 1)
google - this method supports Google In-App subscription. It is the standard method for Android applications published in Google Play Store.
Create an API project from the API Access link in your Google Play console
Make a new service account, save the JSON private key that gets generated. You'll need to take this file to your server.
Press Done in the Play console's service account section to refresh and then grant access to the service account.
Use your platform's client library to build a service interface and directly read the result of your purchase verification.
Add the "google" method to your project settings. Example of payment method settings:
"application": "AnchorFree-Backend/1.0" - this parameter is constant.
"credentials" - this JSON block should be replaced with your JSON private key (see step 2).
huawei - this method supports Huawei In-App subscription. It is the standard method for Android applications published in the Huawei Store.
Set up Huawei IAP. Follow the official guideline:
Open theagconnect-services.json
file. You need to find client_id
and client_secret
for the next step.
Add the "huawei" method to your project settings. Example of payment method settings:
"client_id" - client id, can be found in agconnect-services.json
"client_secret" - client secret, can be found in agconnect-services.json
Send a purchase request
4.1. Make a purchase as it is described in the doc:
4.2. Parse the result and send the purchase to the server
If you use another Payments service, we can make a plugin and support your service too. A new service can be one of the popular public services or your own custom service.
Requirements for the Plugin of a custom service on your side:
Please contact us with any questions about the payment plugins
Get a google API client library for your server platform from /.
"URL" - URL for purchase receipt verification. The standard URL of Huawei Store is "".