You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for providing this good library so we can work with In-app-purchase for both Android/Apple conveniently.
I am writing because I have some issue while selecting a proration mode to upgrade / downgrade subscription using base plan.
I have set up 3 base plans.
I have tried to use proration mode DEFERRED for downgrading subscription, however, Android is giving me an error.
Also, I am getting the same error when I am using IMMEDIATE_AND_CHARGE_PRORATED_PRICE for upgrading.
However, other proration modes work.
Is this happening because BillingFlowParams.ProrationMode is deprecated?
Would it work if react-native-iap uses BillingFlowParams.SubscriptionUpdateParams.ReplacementMode instead?
Expected Behavior
Show Android upgrade/downgrade modal with subscription details.
Use ProrationModesAndroid.DEFERRED when downgrading
Use ProrationModesAndroid.IMMEDIATE_AND_CHARGE_PRORATED_PRICE when upgrading
Error below is shown,
WARN {"code": "E_DEVELOPER_ERROR", "debugMessage": "Requested replacement mode is not supported for this request", "message": "Google is indicating that we have some issue connecting to payment.", "responseCode": 5}
LOG Error requesting subscription: [Error: Google is indicating that we have some issue connecting to payment.]
Thanks.
The text was updated successfully, but these errors were encountered:
I found the issue getting error like below image when i define prorationModeAndroid: ProrationModesAndroid.IMMEDIATE_WITH_TIME_PRORATION in my case i define anything getting that error.
Can you please help me with that issue, I have install the latest version of "react-native-iap": "^12.13.1", library.
Description
Hi,
First of all, thank you very much for providing this good library so we can work with In-app-purchase for both Android/Apple conveniently.
I am writing because I have some issue while selecting a proration mode to upgrade / downgrade subscription using base plan.
I have set up 3 base plans.
I have tried to use proration mode
DEFERRED
for downgrading subscription, however, Android is giving me an error.Also, I am getting the same error when I am using
IMMEDIATE_AND_CHARGE_PRORATED_PRICE
for upgrading.However, other proration modes work.
Is this happening because
BillingFlowParams.ProrationMode
is deprecated?Would it work if react-native-iap uses
BillingFlowParams.SubscriptionUpdateParams.ReplacementMode
instead?Expected Behavior
Show Android upgrade/downgrade modal with subscription details.
Screenshots
Environment:
To Reproduce
Steps to reproduce the behavior:
Use ProrationModesAndroid.DEFERRED when downgrading
Use ProrationModesAndroid.IMMEDIATE_AND_CHARGE_PRORATED_PRICE when upgrading
Error below is shown,
Thanks.
The text was updated successfully, but these errors were encountered: