Hello! Can someone help me with the purchase block? I think I already have revenuecat and google store configured. I have created the same product with the same ID. but I don’t know what I have to put in the purchase block text, I have tried these two options but they don’t work for me. Could someone please help me, I would greatly appreciate it! a hug and merry christmas
1 Like
This works for me, see details below:
‘To purchase Package_1, you must get that package from the offering’s object using the “get property of object” block. Then, you can direct it with the string “availablePackages” followed by the index of the package we want purchased. In this case, we want Package_1, which has an index of 0 in an array. The final string will be “availablePackages.0”. For Package_2, it would be
“availablePackages.1”.’
2 Likes
Thanks you very much. I Will try
How did you test this?
1 Like
i did a closed test in google console