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
1
vote
1 answer

Huawei Subscription Validation ResponseCode:6 ResponseMessage:Token is expired or invalid InappPurchaseData

I'm trying to verify subscription purchase in our backend servers, considering from this hms-iap-serverdemo GitHub repo. I'm trying to connect OAuth 2.0-based authentication servers using app ID and app secret. I took ID and secret from AppGallery…
Gokhan MANKARA
  • 119
  • 1
  • 10
1
vote
0 answers

Proxy all Android In App purchases to Huawei AppGallery

Is it possible to use Huawei AppGallery for All Android In App purchases instead of Google Play Store ? Is there any way or proxy apk can do this job? Ps: lucky patcher have it *
1
vote
1 answer

Signin failure for Huawei IAP via Unity Distribution Portal, in logs it says error code 907135001

We are trying to connect Huawei IAP via Unity Distribution Portal, but having an issue on “sign-in” stage w/ logs below. It says sign in failed w/ status 907135001. I tried to search on Huawei develop website but no any information for this error…
1
vote
1 answer

it allows publish app in huawei store with google purchase?

I have app, which published in google play store an working nice. I want to publish this app in huawei store. but in my app I have in-app purchase with google billing. Is huawei allows publish app in them store ? Or I need to implement huawei…
1
vote
3 answers

Not able to cancel huawei IAP subscription

I was trying for server side Canceled api of IAP but I am not able to cancel the subscription using this api. Everytime I am clicking cancel i am getting this error : responseCode:"6","responseMessage":"900030-authorization format invalid" and the…
1
vote
2 answers

A user wants to subscribe to a product using HUAWEI IAP, but the payment page is inaccessible

Public key and AGC configurations are correct, but when a user tries subscribing to a product, error code -1 is returned, and the payment page fails to be displayed.
zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
0
votes
0 answers

onActivityResult is deprecated in android 13

As Android framework update, onActivityResult method going to be deprecated. Doc: https://developer.android.com/training/basics/intents/result However, in the Huawei account & IAP SDK, we are still using onActivityResult in a lot of places to give…
Kael luo
  • 79
  • 1
  • 5
0
votes
0 answers

How does the Huawei AppGallery calculate the number of app installs?

The reason for my question is that our app's "installs" appears to be severely overinflated. Can anyone tell me the factors that they take into consideration to arrive at this number? I'm trying to figure out the composition of this number. Is…
0
votes
0 answers

How to choose the working wavelength of TN13ST2 Boards?

There are two wavelength 1511nm and 1491nm for Huawei ST2 cards, but how can I choose the working wavelength?
0
votes
2 answers

How to search for In-App transaction in Huawei AppGallery

I have published my app in Huawei AppGallery. Users make purchases (In-App), I can only see the number of purchases the next day. But I can’t verify the user’s purchase in any way, but only believe them. In Google Play, I can enter the email or GPA…
0
votes
1 answer

Huawei IAP - Currency conversion is not correct

In Huawei HMS services, i have integrated IAP kit in my application. IAP currency configured as INR, however for the region Cambodia (KH)-the converted currency value with respect to the pack is incorrect. In my AppGallery console, product…
0
votes
2 answers

where i code Huawei In-app purchase on android studio and how i link my app with IAP

this app secren for payment: I want to pair these buttons with Huawei iap huawei iap code : https://developer.huawei.com/consumer/en/codelab/HMSInAppPurchase/index.html#6 -i watched many videos i tried but it doesn't work somtimes i dont find…
0
votes
1 answer

Get product list from Huawei In app purchase

So, i want to get my products list from my Huawei developer account, i integrate the sdk and all it's fine. the issue here in this code : Future> getConsumableProducts() async { try { ProductInfoReq req = ProductInfoReq(); // The…
0
votes
1 answer

During the sandbox payment test, the server performs the order token verification, and the verification fails with an error code of 8

During the sandbox payment test, the server performs the order token verification, and the verification fails with an error code of 8. Because the product is not owned, the consumption or confirmation fails. May I ask whether the token verification…
Krishna M
  • 180
  • 8
0
votes
1 answer

Error message "wrong application" is displayed when I call the API for verifying the purchase token. How do I resolve this?

I have integrated HUAWEI IAP into my app and called the {rootUrl}/applications/purchases/tokens/verify API by referring to the official documentation, but error message {"responseCode":"8","responseMessage":"wrong application"} was…