Skip to main content
Question

onPurchaseCompleted is not firing - Expo / React Native

  • August 18, 2025
  • 1 reply
  • 107 views

Forum|alt.badge.img

Hi,

We are currently experiencing a bug where customers are unable to proceed after completing a purchase. The RevenueCat webhook is being triggered, and the payment is successfully processed, but nothing happens on the frontend. It seems that the event is not firing as expected, which is causing significant issues for our users.

Here is our implementation:

 <RevenueCatUI.Paywall
onPurchaseCompleted={({ storeTransaction }) => {
try {
track('free_trial_premium_button', { partnerGroup });
AppEventsLogger.logEvent(AppEventsLogger.AppEvents.Subscribe, {
[AppEventsLogger.AppEventParams.Description]:
'Purchase completed',
[AppEventsLogger.AppEventParams.Currency]: 'EUR',
[AppEventsLogger.AppEventParams.ContentID]:
storeTransaction.productIdentifier,
[AppEventsLogger.AppEventParams.NumItems]: '1',
});
router.replace(finalLoading);
} catch (e) {
console.error({ onPurchaseCompletedError: e });
Sentry.captureException(e);
}
}}
onPurchaseError={(error) => {
console.error({ onPurchaseError: error });
Sentry.captureException(error);
}}
onRestoreCompleted={async ({ customerInfo }) => {
if (
typeof customerInfo.entitlements.active['CENSORED'] !==
'undefined'
) {
router.replace(finalLoading);
}
}}
/>

Versions:

"expo": "~52.0.42"

"react-native": "0.76.7"

"react-native-purchases": "^9.2.0"

"react-native-purchases-ui": "^9.2.0"

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • August 20, 2025

Hi ​@andrea-catania-a04ca2 can you please open a support ticket here and share full RevenueCat debug logs with log level verbose that reproduce this? As you are using React Native with Expo, to get these logs you will want to run your app through XCode and Android Studio, see our docs here