I might be misunderstanding how RevenueCat is supposed to work, but... We used to use SwiftyStoreKit to handle our pending transactions. RevenueCat states that:
Remove the SwiftyStoreKit completeTransactions()
method, and replace it with the Purchases SDK configure()
method.
Our workflow is: User makes a purchase, after the purchase is confirmed we call our backend to inform that this user has unlocked a product, then after a successful confirmation, we manually invoke the complete transaction, so that the user can be billed.
If there were any transactions that were not successfully communicated to the backend, they would be retried in the background.
Given the description above, provided by the documentation, it seems like there is no way to handle this.
What are we missing here? How can we ensure that purchases are only finished once our backend is informed?
Thank you