IAP v2.4.0.3 price value problem

IAP v2.4.0.3 price value problem
0
#1

Hello,

In Android when we fetch item price value its showing like IAP: Price Value: 270000000.000000 instead of IAP: Price Value: 270.000000
This was working fine in v2.4.0.2 but after upgrading to v2.4.0.3 this problem is coming.
Also whenever we try to purchase consumable items again it says Purchase Failed: 7 item already owned

Platform: Android (any version)
Cocos2d-x 3.16 (c++)

Regards,
Smit

0 Likes

#2

@htlxyz plz take a look.

0 Likes

#3

we will look into this two issues ASAP.

0 Likes

#5
  1. price value issue, try this zip

PluginIAP.jar.zip (19.8 KB)

  1. can’t purchase again. i tried, but can’t reproduce. can you show your test code?
0 Likes

#6

are you invoke IAP::setAutoFinishTransaction(false); ,
if you disable auto finish trasaction, you need invoke IAP::finishTransaction("production_id");

0 Likes

IAP Plugin Error: "This In-App Purchase has been already bought. It will be restored for free"
#7

Its fixed in this jar file.

So we checked our code its happening because of sdkbox::IAP::enableUserSideVerification(true);
We are verifying with our own server.

0 Likes

#8

PluginIAP.jar.zip (19.5 KB)

try this, fix can’t purchase again.

0 Likes

#9

It seems working now but for already purchased consumable IAP is still giving error.
What to do for those ids?
OnPurchaseFailed is calling with error code 7.

0 Likes

#10

try finishTransaction(product_id)

0 Likes

#11

Thanks its working fine now.
is this fix apply into next release? when?

0 Likes

#12

Planned for release on 2018/09/05. But it’s on staging server.
Thanks,

0 Likes

#13

ohk, meanwhile can i use this in production build or should i wait?
I am asking for both Onesignal & IAP.

0 Likes

#14

plz use this in production.
Thanks.

0 Likes