Subscription Upgrade Issue- Error: "Something went wrong on our end. Please try again." #2939
Replies: 1 comment
-
|
You are using react-native-iap v12.16.2 which is no longer supported. Version 14+ is the current supported version with:
Versions below v14 are not supported and used at your own risk. MigrationPlease upgrade to v14+ and follow the migration guide: Note on Proration ModesThe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am trying to implement an upgrade subscription plan in my app using CHARGE_PRORATED_PRICE. However, when I attempt to upgrade, the Google payment modal does not open. Instead, I get the following error message:
Error:- "Something went wrong on our end. Please try again."
When logging the error in the catch block, I see:- "Google is indicating that we have some issue connecting to payment."
Interestingly, if I use replacementModeAndroid: 3 //(WITHOUT_PRORATION), it works fine and deducts the full amount instead of a prorated price.
try {
await requestSubscription({
sku: productId,
purchaseTokenAndroid: oldPurchaseToken,
replacementModeAndroid:2, //CHARGE_PRORATED_PRICE
...(offerToken && {
subscriptionOffers: [{
sku: productId,
offerToken}],
}),
});
} catch (error) {
console.error("Error while requesting subscription:", error);
}
Environment:
Screenshots

Beta Was this translation helpful? Give feedback.
All reactions