Skip to main content
Solved

How to debug a single user being unable to purchase an offering in Production...


Forum|alt.badge.img+1

Hello World! 

I’m a developer on a React Native mobile app that uses Revenue Cat (v. 5.14.0) to paywall our upgraded features behind a subscription. We have received a report of a user being unable to purchase our subscription from Apple. This user has submitted a video recording of the issue and the purchase process begins as expected and then ends un-expectedly. The app does not crash but premium was not purchased.

Our onPurchase implementation looks like this:  (sorry for formatting)
```

const onPurchase = useCallback(

async (subscription: PurchasesPackage | null) => {

try {

setLoading(true);

if (subscription) {

const { customerInfo } = await Purchases.purchasePackage(subscription);

if (

typeof customerInfo.entitlements.active[

REV_CAT_ENTITELEMENTS.PREMIUM_PRO

] !== "undefined"

) {

Sentry.Native.captureMessage("Premium Pro Purchased");

setLoading(false);

checkPremiumProStatus();

if (isLoggedIn) {

setPreProModalVisible(false);

} else {

setSignUpModalVisible(true);

}

}

}

} catch (e: any) {

setLoading(false);

setPreProModalVisible(false);

if (!e.userCancelled) {

Sentry.Native.captureException(e);

}

}

},

[checkPremiumProStatus, isLoggedIn, setPreProModalVisible]

);


```

From our error logging I see the following potentially-related issue:
```

There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Co…
```

However, I believe that we currently have other iOS users purchasing every variation of our subscription that we offer, so the `There is an issue with your configuration` warning doesn’t seem correct to me.
 

If you’re encountering a similar issue, can help, or want me to add more information, please join the discussion!

Best answer by Michael Fogel

Hey There,

 

Can you please create a support ticket for this so we can look into this with some more detail? 

 

Click here to create a support ticket.

View original
Did this post help you find an answer to your question?

2 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • Answer
  • August 24, 2023

Hey There,

 

Can you please create a support ticket for this so we can look into this with some more detail? 

 

Click here to create a support ticket.


Forum|alt.badge.img+1

Done!


Reply


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