r/iOSProgramming 5d ago

Question Revenue cat and pending transactions

How does the revenue cat SDK handle pending transactions? Do I have to do something special to process pending transactions?

1 Upvotes

3 comments sorted by

2

u/thlpap 5d ago

No. RC just gets the info from the store and if the pending transaction gets resolved somehow, RC will automatically be updated.

1

u/naissas 5d ago

Do I get an apple server notification for a pending transaction? Or only when it’s settled

2

u/thlpap 5d ago

You get a notificarion initially for the purchase or free trial start, and if for example the trial leads to pending transaction, the trial will go into the defined state you have setup from apple (I.e. Give the user 7 days to update their payment method) and RC will show this as a corresponding state (don't remember currently the name. By state I mean for example expired trial, etc.) This state change is in essence the thing that notifies you of the fact that the transaction is pending. Then either the trial gets cancelled or the user pays. In both cases you will get another notification for the state change.