-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
Changing renewable subscription in iOS In-app purchase triggers “Cannot connect to iTunes Store” error #803
Comments
I'm running into the same issues. I think it might be related to #525? |
Yeah that looks like it's the same issue. Thanks for that. Gives me something more to go on. |
Ah okay. I will have a look at that and see. Thanks |
I didn't even know that page existed to be honest. I read this article which the page links to https://help.apple.com/app-store-connect/#/dev75708c031. It says that if they are all the same level you should be able to "crossgrade" between each one. Mine are all level 1, which matches the example they give under the section Identical services at different durations in that article. This is what it looks like now. I will try it out again when I get hold of a iOS test device. |
I have the same error. Subscriptions with same level different duration |
I have the same error. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
I haven't solved the issue yet. I will probably come back to it in the next month or so. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Still active. I will get round to this soon(ish) |
I have multiple renewable subscriptions set up for my App in App Store Connect.
There are a handful of renewable subscriptions which are all part of the same subscription group, plus one which is a non-renewable subscription.
I am using a sandbox user account as created under "Users and Access" > "Sandbox" > "Testers" logged in as a sandbox user on the iPhone. I am logged in as that user on the iPhone under "iTunes & App Stores" > "SANDBOX ACCOUNT".
I can successfully fetch the subscriptions using 'RNIap.getSubscriptions()' and display them in the UI. I can then successfully trigger a purchase of a subscription using
RNIap.requestSubscription(productId, false)
after which my registeredRNIap.purchaseUpdatedListener
handler correctly fires, and I finish the transaction usingRNIap.finishTransactionIOS(purchase.transactionId)
. So far, so good.The problem arises when I try to make subsequent changes to the renewable subscription, by following the same process with one of the other subscriptions. I get a pop-up asking whether I want to confirm the modification to the new subscription, as expected, followed by "You're all set, Your purchase was successful". But I when this happens it actually calls the
RNIap.purchaseErrorListener
event handler, rather than theRNIap.purchaseUpdatedListener
as expected.The error message I get from the handler is:
Which originates from the
StoreKit
api itself whentransaction.transactionState
is equal toSKPaymentTransactionStateFailed
.If I then ettempt to buy thnon-renewable subscription (1 Week in the above example) the purchase is successful, triggering the
RNIap.purchaseUpdatedListener
as expected. But whenever I try to change the subscription to another renewable subscription again theRNIap.purchaseErrorListener
handler is triggered.The text was updated successfully, but these errors were encountered: