So... Can i ask help for IAP or not ? :) Hope it is a mistake ;)
So... Can i ask help for IAP or not ? :) Hope it is a mistake ;)
So this is what i did :
-the application was upload to have the secret key hash that i put to the IAP object in fusion
-the application is in beta mode
-the 3 iap are active with a unique Sku id
In fusion :
Is Billing available
>Query inventory for the 3 skus
On Query Inventory ready
>start loop "inventory" inventory Qty times
On loop "inventory"
>set the string price of sku 1 (ProductPrice, id sku1)
>set the string price of sku 2 (ProductPrice, id sku2)
>set the string price of sku 3 (ProductPrice, id sku3)
>add line ProductId$(Loodindex"Inventory")
(all the prices are retrived correctly !)
Click on button
>Purchase sku1 with Id sku1...
I have an error at this stage !
oh and notice that all my etsters have the same problem ! just not me. And my google account on my test device is not the google dev account. All the account are in the tester list in the google play console.
weird is closed thread, I did not close, so must be a mistake. btw I can not open so must be you or other, I will ask simon when he is back from christmas
Is not easy for me help you if you don't post a small mfa of this, sorry
I am sure this work so is must something wrong in the setting or your event/actions
Purchase sku1 with Id sku1...
this is not correct
Purchase sku1 with Id 100, is correct
other questions
are you sure, that you set the test accounts where it should be?
where are you setting the gmail accounts?, place location? inside google developer console
No worry for the closed thread ;)
My level of english is very low fernando ! That's why i have so many problem with IAP, FB object etc... so here is what i do for my game in a little MFA. Of course, i don't put the right package name of my game or the keystore. Can you tell me if i do something wrong or if i can put my game on the google play like that :) ?
Many thanks for your help !
here is your example modified please use number above 0
https://dl.dropboxusercontent.com/u/...ndroid_fvd.mfa
also added another event for consumed.
please I don't know how are your product sku identifier, but please be sure not to use strange chars and keep something like, com.yourcompany.game0001.item001 or com.yourcompany.battle.swordking just as example.
Hi Fernando,
Many Thanks ! i check this !
Here is a modification because i don't understand why the Id of sku1 change (it was Id=10 and for purchasing/consuming it was Id=11). So i put Id 10 for all. And the last line was empty. So i move the action with the ini in the line 10. Can you tell me if it is correct ?
Another time, thanks a lot for the time you give Fernando ! I really appreciate !
And i check the name of the skus i use... And you are right : i use a "_" character beetween 2 alphabetic string !!! mystring_mystring2
I kill them and create 3 new IAP !
oups... this is not the right mfa !
see this :
ok yes you can use the same identifier, but the final question is, "will this help you, in the future when you have to do some modification?", remember games are living being that can grow, change or die (if not a nice game) so the idea is to make your code understandable by you and others in the near or long future.
Sorry, i don't understand your answer. If i track a purchase of the sku1 with Id:100, where is the benefit to track the same sku1 with another Id (101 for example) for consuming ? Can you explain me why it is more interestant to do that ?
Acutually i understand that you give a numerical Id for a sku to track all the operation about this sku.
the id is more relate to a junction of process and sku, so to keep code clear use different id, so example
sku1
purchase sku1 id 10
consume sku1 id 11
sku2
purchase sku2 id 20
consume sku2 id 21
hope this make sense
so when you need to review your code in the future you quickly get the values, at least they do for me.
Ok Fernando ! Thank you so much for this advice ! I will do that too !
Have a nice day !
good side about in-App, is just like a bicycle, when you learn to handle you never forget!, good luck.