Skip to main content

iOS purchases made using a promo code aren’t being recognised in my app. Initially I take a user to the URL below from my app. Once they come back Purchases.syncPurchases() is called. I also have a button in the same page that calls Purchases.restorePurchases(), but pressing that seems to have no effect as well. I do have a listener for any changes in the customer information using this Purchases.addCustomerInfoUpdateListener((info) {}), it starts when the app is opened. Once a promo code has been used successfully and the user comes back to the app and the syncPurchses method is called there is still no update in customer info. My app is in production (available on app store) and I already have in-app-purchses/subscriptions working and fully integrated. What is going wrong here?

 

 

https://apps.apple.com/redeem?ctx=offercodes&id={apple_app_id}&code={code}

Hey @zain-1983-6e1bba !

 

We do not not recommended implementing In-App Purchase Promo Codes for iOS, but these are applicable to New and Existing Users. When making a purchase with these, the purchases will be treated as a regular purchase and revenue will not be accurate in Charts and Integrations due to Apple/StoreKit limitations.

 

When you make these purchases on your end are the purchases going through as normal purchases or not going through at all?