-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS: Downgrade subscription #2742
Comments
I encounter same issue. :( Before everything works fine. |
From my side. Only error get the error "react-native": "0.72.4", |
React Native: 0.67.4 Experiencing the same unknown error. In my case, trying to downgrade from an Annual duration sub to a monthly duration - within the same subscription group. This was working on our previous setup using [email protected] on StoreKit 1 |
Do anyone think this is the issue from Apple's sandbox env :D |
{"error": [Error: Purchased failed for sku:: Unable to Complete Request], "success": false} |
tried the below versions of the library:
React Native: 0.67.4 For the above, I am getting the same error message: [Error: Purchased failed for name_of_the_product: Unable to Complete Request] Only getting this with iOS, android seems to be working as expected. |
@ivannzme this does not work.i tried all these mentioned version . |
I have very limited time to contribute to this repo, so I consulted ChatGPT for assistance. Below are the details provided by ChatGPT, addressing both StoreKit1 and StoreKit2 scenarios as I am unsure which version you are using. Common Issues and Solutions:
StoreKit1 Code Insights:
StoreKit2 Code Insights:
Additional Debugging Steps:
Summary:By carefully reviewing the code for potential issues, ensuring configurations are correct, and adding detailed logging, you can better understand and resolve the errors related to in-app purchases. If these steps do not resolve the issue, consider sharing detailed logs and the specific error messages received during the purchase process for further assistance. I hope this helps! |
It seems this issue has now been resolved for me, I did not make any code changes. |
its worked thanks |
Description
Trying to downgrade a subscription is not working, but upgrading works fine.
Expected Behavior
Be able to upgrade and downgrade subscriptions.
Screenshots
Environment:
To Reproduce
Steps to reproduce the behavior:
Both subscriptions are in the same group, and have the same subscription duration of 1 month but they have different prices
While downgrading and passing to the requestSubscription promise the SKU for the cheaper subscription an error occurred which also triggered the purchaseErrorListener.
This is the error from the purcahseErrorListener:
[Optional] Additional Context
While debugging and inspecting my SANDBOX account, I noticed an interesting discrepancy: although the code caught an error during the subscription downgrade process, my account displays the subscription as active, despite the failure.
The text was updated successfully, but these errors were encountered: