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

IPv6 network issue #81

Open
quangpc-zz opened this issue Sep 13, 2016 · 17 comments
Open

IPv6 network issue #81

quangpc-zz opened this issue Sep 13, 2016 · 17 comments

Comments

@quangpc-zz
Copy link

I used SwiftyStoreKit for IAP non-consumable product in my app, but it got rejected by Apple with reason about not work on IPv6 network. Is there anyone have the same issue?

@kaishin-r
Copy link

Yes, they said:

Performance - 2.1

We discovered one or more bugs in your app when reviewed on iPad Air 2 and iPhone 6s running iOS 10.0 on Wi-Fi connected to an IPv6 network.

Specifically, we were unable to purchase any IAP.

@kaishin-r
Copy link

@quangpc I've solved the problem my self today, I just add the Sandbox User to the External Testers, everything worked! So I think maybe the App Store Review team gives us the wrong directions to solve the problem. ;-)

@quangpc-zz
Copy link
Author

@Elilien Did you pass review?

@erdem-inan
Copy link

Hey,
I get exactly the same problem, my app get rejected because of that.
I don't really understand the solution.
Can you explain more pls ?

@rebeloper
Copy link

I have just got Rejected for the same reason of 2.1 with MKStoreKit. Hope I can use SwiftyStoreKit when this gets sorted out. @bizz84 any ideas why purchases can be made through Wifi in Sandbox, but they fail when Apple test it with IPv6? Unfortunately I cannot set up an IPv6 Network of my own (as described here: http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility/ ) to test it. Thank you.

@kaishin-r
Copy link

@quangpc So sad, I have just got rejected for the same reason...QAQ They said they still not able to purchase your IAP on both iPhone and iPad.

@kaishin-r
Copy link

@rebeloper SwiftyStoreKit is just a wrapper for StoreKit, I think it may not affect In-App Purchase with IPv6 Network, and I still believe that there's something wrong with the Sandbox User we create in iTunes Connect.

@bizz84
Copy link
Owner

bizz84 commented Sep 16, 2016

@rebeloper I don't know what is causing the issue.

Unfortunately StoreKit and in app purchase flows are a difficult area to diagnose as there are many variables that can go wrong.
While I cannot exclude that this is an issue with SwiftyStoreKit, it could be a mis-configured Sandbox user or in-app purchase, or something unknown that Apple has changed on iOS 10.

If it can be of any help, I would try to re-implement the same purchase flow with and without SwiftyStoreKit and see if the problem still appears.

@joeycarmello
Copy link

Also rejected for this reason.

@rebeloper
Copy link

My app just got Accepted! Hurray! It does not use SwiftyStoreKit, it uses MKStoreKit, but here's an update you might find interesting.
Lesson learned: When the Review Team talks about the In-app Purchases failing on IPv6 Network it does not necessarily mean that it's a problem with the IPv6 Newtork compatibility. The Review Team always tests your app on IPv6. The message they send you is just a standard message. First thing you should do is rule out all other In-app purchase related issues (like correct setup in iTunes Connect, setup of Tax and Banking, linking the IAP to your app in iTC, making sure your IAP ID is the same in iTC and your code etc.) Than if all works on your test device, check if it works on an IPv6 network. You can create your own like so: http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility//

My mistake way a typo in the IAP ID. Because of the mismatch of IDs in iTC and my code the purchase could not be made. Noob mistake, I know but it can happen :)

@alexkotenko
Copy link

Same problem here. Anyone got a solution yet?

@nikashitsa
Copy link

@bizz84 any updates? Got same reject reason (IPv6).

@bizz84
Copy link
Owner

bizz84 commented Oct 12, 2016

As @rebeloper has pointed out, there are various reasons why in-app purchases may fail.

@nikashitsa It is quite difficult for me to reproduce exactly the same test configuration that you are using, so I'm afraid I can't be of much help on this.

@AlbertRenshaw
Copy link

So strange, we run the app fine on our end, all IAP items load, we've tested on a few devices, IPv4 IPv6, debug and release builds, it all works fine. The second Apple tests it on their end it indefinitely loads items! No clue what could be causing this, I don't think it's actually an IPv6 issue though whatever it is..
18215934_10212614939112775_422118294_o

@rebeloper
Copy link

Hey, this IPv6 message from Apple just drives devs crazy. I've created a short video on YouTube on debugging the most common mistakes when your app is rejected because of "IPv6 and in app purchases". Take a look at it here: https://youtu.be/hcl2gqg5aJQ

@mouness2020
Copy link

youtbue link broken plz fix it

@AlbertRenshaw
Copy link

I'd like to reference a solution to this issue found in a different thread:

#397 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants