react-native-iap
react-native-iap copied to clipboard
Successfully redeeming promo code for in-app purchase in IOS app store is not triggering purchaseUpdatedListener
Description
In Testflight app on iphone, on entering promo code for in-app purchase, we are getting a success message from the app store but purchaseUpdateListener is not being triggered. Tested by adding alerts within purchaseUpdateListener.
Expected Behavior
- Trigger Promo Code redemption using this URL(itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/freeProductCodeWizard?code=PROMO_CODE') on click of button within app for an in-app purchase.
- Click Redeem.
- Success message shown in app store.
- purchaseUpdatedListener receives an event and receipt.
Actual Behavior
- Trigger Promo Code redemption using this URL(itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/freeProductCodeWizard?code=PROMO_CODE') on click of button within app for an in-app purchase.
- Click Redeem.
- Success message shown in app store.
- purchaseUpdatedListener receives NO event.
Environment:
- react-native-iap:12.10.5
- react-native:0.71.8
- Platforms (iOS, Android, emulator, simulator, device): Testflight app on IOS real device
Additional Context
We are using the same purchase flow for in-app purchases and that is working accurately.
Can you describe the flow?