Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
suryavarun9 opened this issue Jun 22, 2023 · 1 comment

Comments

@suryavarun9
Copy link

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.

@MTPL0005-AbhishekDube
Copy link

Can you describe the flow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants