The easy explanation:
I’m trying to add +1 to a user’s balance every time they buy a specific item. However, when the action is performed, it’s adding +6 or +7. Which is not the right calculation/sum. It’s also weird that sometimes it’ll add 6 and sometimes it’ll add 7.
This is the action I have set up. When the user’s purchase is successful, it updates the logged in user’s balance to add 1:
Okay wow. So it works on other general buttons on other screens. And it works in other buttons within lists on other screens. Adds up perfectly.
So I think this issue is specifically around the Purchase Button action. I will create another payments list and page from scratch. Publish the build. And test via Testflight since that’s the only way to test the Purchase Button.