Hello! I’m trying to implement iOS Offer Codes in my app and I’m stuck.
The documentation says that
Apple does not provide a callback to determine if the code redemption was successful. Since the Purchases SDK will automatically pick up on new transactions that enter the underlying transaction queue, you should implement the receivedUpdated
delegate or listener to respond to changes in CustomerInfo
. Once we sync the Offer Code transaction, we'll automatically refresh CustomerInfo.
The following things are not clear to me as I plan to implement the receivedUpdate listener,
- What changes would happen in CustomerInfo?
- Will I be able to see which offer code was applied inside this listener? Can you please share how?
- Is there any way the CustomerInfo can retrieve the discounted price which was set on AppStore for this offer?
TIA