I added an inapp payment for knowing the fortune after the first free fortune.
To do this, I added a Count column which will be initialized to 0 during onboarding. Then, when the Drop Sticks button is clicked, it increments Count to 1. If Count is 1, then a button (Donate $1) is shown, which leads to the Buy button for payment of $1.
I then have a Paid or Not? column which looks into the App: Purchases sheet and gets a value of True, if payment is done, and False if payment is not done.
If Paid or Not? is True, then the Donate $1 button will not be visible, as the visibility condition for Donate $1 button is: Paid or Not? Is False.
Now, I want the Drop Sticks button to reappear. But, now the count is initialized to 1. And, therefore, it will not appear since the visibility condition for the Drop Sticks button is Count is <= 0(for the first fortune). How can I have the Drop Sticks button reappear after the payment is done? What visibility condition should I use? Because, I have no way of decrementing the Count (which is now 1) after payment. Count is a Data editor column, and not a column in the Google Sheet.