After purchase coin not come help?



after user purchase why coin not save into database firbase . can pliss fix that block?

are you saying, the AfterPurchase event of the In App Billing component does not fire?
did you already search the community?

Taifun

i was
search but i cant find aswer my trouble

is my block is right?

no, because the IsPurchased method returns true or false

Unbenannt

your product ids are 50000 and 30000?
if yes, then correct would be something like this

if product id = 50000
then ...
elseIf product id = 30000
then

Taifun

3 Likes

is like this?

that looks ok, but why do you need the if statement at all?
the blocks are redundant anyway


Taifun

1 Like

Ok i Will try to fix .thanks Taifun :blush: