Questions tagged [huawei-iap]

Use this tag for programming questions relating to Huawei's In-App Purchases (IAP). It is one of the services provided by HUAWEI HMS Core for developers. IAP provides a product management system (PMS) for managing the prices and languages of in-app products (including games) in multiple countries.

Huawei's In-App Purchases (IAP) service allows you to offer in-app purchases and facilitates in-app payment.

The latest version supports the following functions:

  • Release
  • Currencies and languages
  • Price
  • Exchange rate
  • Intended audience

Resources

36 questions
4
votes
2 answers

Huawei AppGallery 6003 Error Code in release version

I removed the all gms related apis and added hms ones. My debug version is working awesome, I have the agconnect file in my project root. But If I download my app directly from appGallery, my hms core related apis are not working. (like pushkit and…
4
votes
2 answers

Show prompt for HMS Core upgrade

I used getIapClient(Context context) in my app for object instantiation. The app could not work well with devices with older versions of HMS core. How to make the app show a prompt for HMS core upgrade?
user14845274
3
votes
3 answers

Do all apps that implement huawei iap need to have a .huawei sufix in the package name?

If an app integrates huawai iap, must it have a package name with a .huawei suffix in order for it to be accepted in AppGallery? (Assuming the app belongs in the App category - I know that apps in Game category must have a package name with a…
2
votes
1 answer

Huawei IAP - product list is empty in react native hms iap

I implemented react-native-hms-iap in my react native project. I configured all the details mentioned in here. Also I can assure that there is no signature issue because react-native-hms-account login with huawei id is working fine in my app. I have…
2
votes
2 answers

appgallery connect.Upload package. An unknown error occurred. Please try again later

when I want to upload a new version of my apk after grab my app to upload it go fast to 60% . and stacks and never continue screen from console:
2
votes
1 answer

Error message "{responseCode8,responseMessageERROR_INVALID_PAYMENTTOKEN}" is displayed when I call the API for verifying the purchase token

I made a request to verify the purchase token by referring to the official materials, but error message "{responseCode 8 , responseMessage ERROR_INVALID_PAYMENTTOKEN}" was returned. The URL of the request API was…
2
votes
1 answer

Huawei IAP When select Chinese mainland : MAJOR:22: Integrate the version update API (checkUpdate)

I have an error when select Chinese mainland: MAJOR:22: Integrate the version update API (checkUpdate). If you already integrate the API, check whether the HMS SDK code is obfuscated in the configuration file. For details about how to modify the…
2
votes
1 answer

Error prompted when using HMS IAP refund API

I am trying to implement the HMS IAP refund API on my server side, but the API call doesn't work 100% of the time. I'm getting error: responseCode:"12" This is the sample code I used. POST /sub/applications/v2/purchases/returnFee Content-Type:…
user14550295
2
votes
2 answers

Migration from Google Play Store to Huawei Store. Any changes in code?

I have an application live in Google Play Store. I am planning to publish it also in Huawei Store. Apart from re-building the app with the Huawei SDK and the basic instructed steps (Add into the project agconnect-services.json etc..), is there…
2
votes
2 answers

Google and Huawei APK flavor build issue

I setup my project for flavors build (Google & Huawei) according to this doc - https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-config-flavor. Here are my build scripts. I have tried including the signature in…
2
votes
1 answer

How to migrate In-app products from Google Play to Huawei AppGallery

I have an published in GooglePlay that I am migrating to Huawei AppGallery. Since my app have about 100 In-app products I would like to migrate them in some (semi)-automatic way. I have done some research and I noticed that both platform offer…
1
vote
0 answers

Write data ower Modbus tcp to HUAWEI SUN2000 KTL error

I would like to change the PV inverter settings via Modbus TCP. the system reads correctly when I write I get an error!!! I use Raspberry PI and Python. Modbus address is 40125 and data is RW (readable and writable, U16 unsigned integer (16…
Maario
  • 13
  • 4
1
vote
0 answers

Is In-app purchase required for Huawei install referrer

As per this documentation the way I can use Huawei install referrer in React Native is: import {HMSInstallReferrer} from '@hmscore/react-native-hms-ads'; So install referrer is a part of the hms-ads package. And of the 3 APIs in the…
Housefly
  • 4,324
  • 11
  • 43
  • 70
1
vote
1 answer

HMS IAP Verify Token returning Token is Invalid or Expired

I am trying to validate my purchases(for now consumables). For this reason i am developing small server app. I found out this git package hms iap server demo In DemoCofig script has need 2 variable ClientId, ClientSecret. I getted from app gallery…
1
vote
1 answer

Huawei IAP kit server side token error - HMS Core-In-App Purchases

When I do API call for cancel subscription, it is giving token expired error as response. Request: {"subscriptionId":"163912368****.7CA2****.****","purchaseToken":"…
1
2 3