Skip to content
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

[in_app_purchase] - Never getting purchased Status in iOS 17.1.1 Sandbox #138522

Closed
2 tasks done
lukeirvin opened this issue Nov 16, 2023 · 9 comments
Closed
2 tasks done
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@lukeirvin
Copy link

Is there an existing issue for this?

Steps to reproduce

  1. iPhone running iOS 17+
  2. Go through the subscription process via iOS In App Purchase
  3. Receive Successful Purchase Prompt
  4. Purchase Status is never sent so stuck without a completion.

Expected results

After a successful purchase, I should receive the purchased prompt to finish the transaction.

Actual results

I get the Sandbox success prompt, but no purchased status response.s

Code sample

.

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.13.8, on macOS 13.6 22G120 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.84.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
@dam-ease dam-ease added the in triage Presently being triaged by the triage team label Nov 16, 2023
@dam-ease
Copy link

Thanks for filing this.
The issue you are describing seems similar/related to #138134.
Can you try out the solution that worked in this case/ confirm you have this set up in your case #138134 (comment).

@dam-ease dam-ease added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 16, 2023
@lukeirvin
Copy link
Author

Hi @dam-ease.

My apologies, I'm not really seeing a solution on that page. My guess is it is the StoreKit configuration.

I'm primarily testing on my physical iPhone & not in the simulator. Would that still matter here?

Can you point me to the latest example project that has this?

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 16, 2023
@dam-ease
Copy link

Thanks for your response.
You can check out the example/ configuration here: https://github.com/flutter/packages/blob/main/packages/in_app_purchase/in_app_purchase/example/README.md#ios

@dam-ease dam-ease added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 16, 2023
@lukeirvin
Copy link
Author

I have implemented the Storekit configuration. One thing I have noticed is that if I test this via simulator I get stuck in an infinite loop. But it seems to work when testing on a device. Any suggestions?

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 20, 2023
@dam-ease
Copy link

if I test this via simulator I get stuck in an infinite loop

Can you provide more information on this infinite loop, from the referenced issue and the example I shared, this should work fine both on a simulator and on a real device.

@dam-ease dam-ease added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 20, 2023
@lukeirvin
Copy link
Author

Yes, my apologies.

When I run in the simulator, I am able to get the IAP sign-in alert. After I sign in I see it right after, again & again. I don't get that experience from a physical device though.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 20, 2023
@dam-ease
Copy link

Thanks for your response.

When I run in the simulator, I am able to get the IAP sign-in alert. After I sign in I see it right after, again & again.

Do you mean the sign-in alert, if possible, attaching a screen record could help in this case.

@dam-ease dam-ease added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 21, 2023
Copy link

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
Thanks for your contribution.

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

2 participants