Skip to main content
Question

iOS promo codes not recognized/syncing in flutter app

  • October 31, 2024
  • 1 reply
  • 31 views

Forum|alt.badge.img

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}

This post has been closed for comments

1 reply

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • November 4, 2024

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? 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings