I tried by logging out and logging in again, it didn’t change anything.
The update is always done with +34 each time, on the balance of the connected customer …
I have the impression that the app detects the correct logged in user account, but adds +34 which is the total of all purchases available on the page (1 + 3 + 5 + 10 + 15 = 34).
When Apple returns “success” for the purchase, Adalo therefore loads all the success events of the Digital Purchase, instead of just that of the component purchased.
This takes over the balance of the currently logged-in user and adds +34.
This is normally what I did and I would like it to happen like this :-).
Attached are screenshots of the action of each of the “Digital Purchase” buttons, you see on the right the button I’m in, for the action performed on the left.
When you buy the pack at 0.99 €, there must be only “+1” for the customer. But this performs all the actions of my buy page, i.e. the value / actions of all buttons …
Normally everything is well configured on my side …
All the actions of the different buttons together make a total of 34. The user is credited with 34 for each purchase of “1 credit” (first screenshot)
I do the same web version, with Stripe, I have no worries about adding the credits correctly …
The error really seems to occur with the “Digital Purchase” and the callback which is made by Apple during the success and not with the addition of the credits finally.
Obviously, it is impossible to put several “Digital Purchase” components and perform an action depending on the component purchased.
The problem really stems from there and not from the addition of the credits itself.
The single action of each button is performed, while I only make one purchase and it is the action of only that product that needs to be performed.
If I record a unique history in the success action of each digital purchase, they are all recorded! While I only buy one consumable product.
If I make a purchase of 0.99 €, upon successful payment, success actions of 0.99 €, 2.99 €, 3.99 €, 6.99 € and 9.99 € are also executed. It should not be the case, I am not attributing all the services for a single purchase, but the corresponding service for the purchase.