While testing some new features, I came across this bug and am able to reproduce it. It appears that when you make a first purchase in sandbox, you get the all clear from the apple side of the transaction, then the purchase confirmation window starts again and you have to go through the motions to select purchase a seconds time. This only happens on the very first purchase you make with a new sandbox account. Subsequent purchases and renewals do not cause such action.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should go through the billing flow once, the purchase should complete and the product be made available. Yet this is not happening. As stated, on this first purchase, you are made to basically "start over" with the whole billing flow procedure like it hadn't;t happened before.
Thank you.
@louiskabo did you find a workaround? I'm seeing this too
I did not, and I am unable to confirm if it is the same in live with a new iCloud account...
I'm seeing this too, How to solve it?
@louiskabo did you find a workaround?
Unfortunately no, I did not. But I have submitted several updates since discovery and no issues have been raised by review.
I’d be interested to know if this happens live with a new iCloud account..
If u find the glitch, please update this post.
@louiskabo Because of this problem, I was rejected by Apple several times, so I was confused how to solve it.
Are you sure it was because of this particular bug? There was another bug that made the test user continue to provide login credentials. Are you sure it is not that bug?
@RockXeng check out https://github.com/bizz84/SwiftyStoreKit/issues/397
Make sure this isn’t why your getting rejected. What was the specific rejection message they sent you?
@louiskabo We found that your in-app purchase products exhibited one or more bugs when reviewed on iPad running iOS 14.2 on Wi-Fi.
Specifically, the In-App Purchase (IAP) results in an error.
Below are the steps to reproduce the issue:
I'm sure this isn’t #397 reject reason.
Interesting. I have not found the work around For this but if your getting rejected because of it, I’d say we need to.. if you figure it out, please update this post, I’ll do the same.
I just implemented the IAP function by myself, and I will also pop up the confirmation popup twice. I think this should be a bug in the iOS system.
let payment = SKPayment(product: skProduct)
SKPaymentQueue.default().add(self)
SKPaymentQueue.default().add(payment)
Excellent. I think we can close this report then. You should document your findings, report them to Apple and appeal your rejection.
Thank you
@RockXeng, any luck? Please post your Apple bug report # here for others to reference. if they have similar rejections.
Btw 呢 说 汉语吗?我是数中文额生。我是不很好。 lol
I can also confirm this has nothing to do with swifty store kit and is an apple bug..