react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

Successfully redeeming promo code for in-app purchase in IOS app store is not triggering purchaseUpdatedListener

Open suryavarun9 opened this issue 1 year ago • 1 comments

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

  1. 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.
  2. Click Redeem.
  3. Success message shown in app store.
  4. purchaseUpdatedListener receives an event and receipt.

Actual Behavior

  1. 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.
  2. Click Redeem.
  3. Success message shown in app store.
  4. 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.

suryavarun9 avatar Jun 22 '23 11:06 suryavarun9

Can you describe the flow?

MTPL0005-AbhishekDube avatar Aug 24 '23 09:08 MTPL0005-AbhishekDube