Swiftystorekit: IPv6 network issue

Created on 13 Sep 2016  路  17Comments  路  Source: bizz84/SwiftyStoreKit

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?

question

Most helpful comment

youtbue link broken plz fix it

All 17 comments

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.

@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. ;-)

@elilien Did you pass review?

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 ?

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.

@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.

@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.

@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.

Also rejected for this reason.

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 :)

Same problem here. Anyone got a solution yet?

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

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.

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

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

youtbue link broken plz fix it

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

https://github.com/bizz84/SwiftyStoreKit/issues/397#issuecomment-430627148

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andresmontelpare picture andresmontelpare  路  9Comments

JonathanDowning picture JonathanDowning  路  7Comments

Erumaru picture Erumaru  路  4Comments

jerry317 picture jerry317  路  7Comments

Bizzi-Body picture Bizzi-Body  路  3Comments