[Closed] IOS Submission failed due to Purchase failed on IPv6 only wifi.

Hey there,

we failed the iOS submission due to the following problem:

"We discovered one or more bugs in your app when reviewed on an iPad and iPhone running iOS 9.3.4 on Wi-Fi connected to an IPv6 network.

We could not successfully initiate an IAP."

As far as we can tell this seems to be a Unity Purchasing problem when it comes to IPV6. Does anyone have any info on that?

Thanks

1 Like

We had this issue. If you are using Unity 5.3 you need to install a patch to fix this or upgrade to 5.4. FYI the upgrade fix the issue for us but caused a bunch of other issues.

Thanks, we’re already using the newest version of 5.4. The current problem is that we can’t reproduce the bug on our own IPv6 network. Seems like a lot of people have this issue. It works for them but not for the apple review team. The only problem we have is that sometimes you can’t log in with IPv6 on the first attempt. But it happens rarely and seemingly random. Running a little bit out of ideas here…

We also had that issue. After testing the app OK locally, I’ve just replied requesting re-review with the same binary and it passed. That was with 3.5.6f1…

Hi @DannyHellfish ,

Sorry you’re experiencing this issue! It’s not something we’ve heard of before or experienced ourselves. If you (or anyone) is able to reproduce it, or if Apple is able to give you the debug logs from their testing, it would be really helpful to send us the logs so we can look into it! Thanks

We just had this problem, our game was rejected last Friday. Apple review team said they couldn’t complete an in-app purchase under IPv6 network. We are using Unity 5.4.0f3, with Unity built-in purchasing system.

Hi @DanjelRicci

Sorry to hear that! Did they give you any more information other than that (stack traces, debug logs)? Did resubmitting it work for you as it has with some of the other users above? Are you able to duplicate the issue? We have been unable to duplicate the issue so far, so any more details that can be given would be appreciated!

@erika_d Unfortunately they only attached a screenshot with the generic, user-friendly popup message we show to players: ā€œServer error: cannot purchase this product nowā€. After some thinking (and inspecting the only three lines in the code where that message is triggered) we are pretty sure the problem is the purchasing system not being initialized.

In the meantime we asked for a re-review of the same binary and are waiting for a reply. We executed the test illustrated in their their official IPv6 compliance guide step by step (the test part) and everything works for us, we weren’t able to reproduce the issue. We also wrote that in the review notes.

Talking about the guide, looks like it doesn’t set up a valid IPv6 network; as far as I understood, it still goes through your own provider IP, which in our case is IPv4. Technically, that guide is misleading.

1 Like

Hi @DanjelRicci

I passed on your theory about IAP not being initialized to our devs…even that bit of info could be really helpful, thanks! Let us know how your re-review goes and if you ever manage to reproduce the issue! Sounds right now like the issue may be with Apple, since none of us can reproduce it, but we’ll definitely take a look/keep our eyes out for it.

1 Like

I just got a game rejected this morning because of this.

ā€œWe discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.1 on Wi-Fi connected to an IPv6 network.
We were unable to buy any of your In-App Purchase products. Tapping on them produced no action.ā€.

But I also submitted an update of another game just to include the same inapps and it got approved. So I’m just going to make a new build with the latest version of Unity (I was using 5.3.4) and try again. Maybe the person to review it has better luck this time.

2 Likes

Same rejection here.

ā€œWe discovered a bug in your app when reviewed on iPad and iPhone running iOS 10.0.2 on Wi-Fi connected to an IPv6 network. Specifically, we receive an error whenever we attempt to purchase any of the items within the app.ā€

However after setting up an iPv6 network and updating our devices to 10.0.2 could not reproduce the error, and everything is working properly. Using Unity 5.3.6p2

My app got rejected again for the same reason. Unity 5.4.1p2 :frowning:

My app was approved!

So after the rejection I did the test they had in their Support IPv6 guide (Supporting IPv6 DNS64/NAT64 Networks) and then answer in the resolution center saying that I did the test (I wrote step by step what I did) and that the in-apps were working.
They answer me the next day saying they will continue with the review and then it got approved.

I don’t know if this worked to @DanjelRicci but it worked for me, so try it!

3 Likes

Hi there,

Having similar problem. I made same changes and send new builds daily and got similar error. After

After updating unity 5.4.2p1 and latest in-app plugin from Services, now It seems ā€œPurchaseProcessingResultā€ not called. Because this time error message is

Unfortunately, there is no screenshot. They didn’t send it.

While searching for error, someone says this kind of problem can be caused by Facebook SDK, although, I never turn on this settings, it has been always close :
iOS Only: Log In-App Purchase Events Automatically (Recommended)

Hi @kugun ,

We have not been able to reproduce any Unity IAP issues with IPv6.

We would recommend you try @IvyKun 's approach by documenting your IPv6 testing.

Hi @kugun ,

In addition to what @ap-unity says above, the issue with the Facebook SDK listener causing issues for purchase processing should be fixed since version 1.6.0 of Unity IAP.

Hi @erika_d

Thank you mentioning me. I am also watching IAP thread and follow it from there. My problem could be because of this. On the other hand, I set more logs to send them to my server in real time. Now I can follow up where the transaction is dropping. I will try it with this new build.

Hello all,
We had this issue,
unity 5.4.1f1 and latest in-app plugin from Services
I not able to buy IAP when connected wifi ipv6 but it worked with ipv4

My app was rejection with issue!
"We discovered one or more bugs in your app when reviewed on iPad running iOS 10.1.1 on Wi-Fi connected to an IPv6 network.

  • We were not able to buy gems."

Could you please help me to check and give me advices for this issue?

I have also received the same message! My app was rejected today :frowning:

ā€œWe discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.1.1 on Wi-Fi connected to an IPv6 network.
Specifically, tapping on any of the In App Purchase products for purchase produces no action.ā€

@trancanhluc were you able to buy gems before submission? or you tested your app in sand box?

@Nidhii yes, I testing normal with ipv4 connected