Skip to content

Subscription Upgrade Issue- CHARGE_PRORATED_PRICE Not Working. #2940

@Nikhil-MathBud

Description

@Nikhil-MathBud

Description
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:

"Something went wrong on our end. Please try again."

Interestingly, if I use replacementModeAndroid: 3 //(WITHOUT_PRORATION), it works fine and deducts the full amount instead of a prorated price.

When logging the error in the catch block, I see:
"Google is indicating that we have some issue connecting to payment."

Expected Behavior
The user should get a modal from google play console, that will show the payment details.

Screenshots
Image

Environment:

  • react-native-iap": "12.16.2",
    -react-native": "0.75.3",
  • Platforms :-Real Android device(Android version :- 14)

Additional Context

  • My app is in Internal Testing on Google Play Console.
  • I am logged in as a Test User on Google Play Console and using the same account for test payments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions